Skip to content

jesperolsson-se/capsyl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EO principles respected here

Mutation testing badge CI CD Docker

Capsyl visualizes encapsulation hierarchies in Java, simplifying the comprehension of object-oriented programs.

Rule fizzBuzz = new Priority(
    new Concatenation(
        new Fizz(),
        new Buzz()
    ),
    new Echo()
);

Usage

Pull the latest image from Docker Hub.

docker pull jesperolssonse/capsyl:latest

Then, run the container.

docker run -v $(pwd)/IO:/IO capsyl

That's it! You'll find the result in IO/output. If you want to change the input, simply replace IO/input or choose a different locatation as volume.

Recognized encapsulations

Capsyl assumes the encapsulations are on the form of, e.g.,

Foo foo = new Apa(new Apa(new Bepa(3), 2), 1);

or

Foo foo;
foo = new Cepa(new Depa(), new Epa());

Output formats

Capsyl can visualize encapsulations either as a DOT graph (-e FORMAT=dot) or a simple hierarchy (-e FORMAT=tree).

About

Visualizes Java objects' encapsulations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published