org.pitest:highwheel-parser

Visualise large class and package cycles

License

License

GroupId

GroupId

org.pitest
ArtifactId

ArtifactId

highwheel-parser
Last Version

Last Version

1.7
Release Date

Release Date

Type

Type

jar
Description

Description

Visualise large class and package cycles

Download highwheel-parser

How to add to project

<!-- https://jarcasting.com/artifacts/org.pitest/highwheel-parser/ -->
<dependency>
    <groupId>org.pitest</groupId>
    <artifactId>highwheel-parser</artifactId>
    <version>1.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.pitest/highwheel-parser/
implementation 'org.pitest:highwheel-parser:1.7'
// https://jarcasting.com/artifacts/org.pitest/highwheel-parser/
implementation ("org.pitest:highwheel-parser:1.7")
'org.pitest:highwheel-parser:jar:1.7'
<dependency org="org.pitest" name="highwheel-parser" rev="1.7">
  <artifact name="highwheel-parser" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.pitest', module='highwheel-parser', version='1.7')
)
libraryDependencies += "org.pitest" % "highwheel-parser" % "1.7"
[org.pitest/highwheel-parser "1.7"]

Dependencies

compile (2)

Group / Artifact Type Version
org.pitest : highwheel-model jar 1.7
org.pitest : highwheel-core jar 1.7

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-all jar 1.9.0
org.easytesting : fest-assert-core jar 2.0M7

Project Modules

There are no modules declared in this project.

Build Status

Highwheel

Highwheel is a tool to detect and visualise class and package cycles in Java code.

It differs from other tools such as

In that it generates visualisations of the detected cycles and provides much more data about the detected dependencies.

To make it easier to make headway when working with legacy code, Highwheel also breaks down large cycles into their smaller elemental sub-cycles for easier comprehension.

Cycles are detected using tarjen's algorithm.

As fixing package cycles often involves moving classes between packages highwheel also reports unit tests that look to have been left the wrong package when their testee is moved ( for maven only in latest snapshot ).

Documentation

TODO

But briefly

Maven

Analyse a single project, or a each module within a multi-module project individually.

mvn org.pitest:highwheel-maven:analyse 

Analyse a multi-module project as a single component

mvn -DparentOnly=true org.pitest:highwheel-maven:analyse 

By default assumes that your package names match your group id. If not can supply a filter using Glob syntax.

mvn -DclassFilter=com.bigcompany.* org.pitest:highwheel-maven:analyse 

All options can of course be configured in your pom.xml.

Seperate goal dumps decompiled bytecode to disk

mvn org.pitest:highwheel-bytecode:asmDump

Ant

Create a task and pass in an analysisPath and filter

<taskdef name="highwheel" classname="org.pitest.highwheel.ant.AnalyseTask" classpathref="<path to jar>"/>

<target name="highwheel" depends="compile">
  <highwheel analysisPathRef="code.path" filter="com.example.*"/>
</target>

Versions

Version
1.7
1.6
1.5
1.4
1.3
1.2
1.0