Skip to content

thmuch/architecture-fitness-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness Functions for Your Architecture

This repository contains examples of Fitness Functions for structures in certain architectural patterns and styles. Fitness Functions are and important piece of Evolutionary Architectures.

The examples are written in Java and demonstrate two suitable tools/libraries for implementing structural fitness functions: ArchUnit and jMolecules.

You'll find the structure examples here, along with visualizations (editable PNGs for diagrams.net / draw.io).

The corresponding fitness functions are available here.

Note

  • All fitness functions are expected to fail in order to demonstrate how unwanted dependencies are reported as violations. The failure messages hint at how the violations can be fixed easily.
  • The example code deliberately violates some common Java coding conventions (especially regarding naming, like calling classes "Class..."), because this hopefully makes it easier for non-programmers to understand the structures and dependencies.

Talks & Slides

About

Examples of the live coding session "Fitness Functions for Your Architecture"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages