org.hjug.dtangler.testdata.cyclicdeps:dtangler-testdata-cyclic-deps

A tool that helps identify dependency cycles in Java projects.

License

License

Categories

Categories

Data CLI User Interface
GroupId

GroupId

org.hjug.dtangler.testdata.cyclicdeps
ArtifactId

ArtifactId

dtangler-testdata-cyclic-deps
Last Version

Last Version

2.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

A tool that helps identify dependency cycles in Java projects.

Download dtangler-testdata-cyclic-deps

How to add to project

<!-- https://jarcasting.com/artifacts/org.hjug.dtangler.testdata.cyclicdeps/dtangler-testdata-cyclic-deps/ -->
<dependency>
    <groupId>org.hjug.dtangler.testdata.cyclicdeps</groupId>
    <artifactId>dtangler-testdata-cyclic-deps</artifactId>
    <version>2.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.hjug.dtangler.testdata.cyclicdeps/dtangler-testdata-cyclic-deps/
implementation 'org.hjug.dtangler.testdata.cyclicdeps:dtangler-testdata-cyclic-deps:2.1.0'
// https://jarcasting.com/artifacts/org.hjug.dtangler.testdata.cyclicdeps/dtangler-testdata-cyclic-deps/
implementation ("org.hjug.dtangler.testdata.cyclicdeps:dtangler-testdata-cyclic-deps:2.1.0")
'org.hjug.dtangler.testdata.cyclicdeps:dtangler-testdata-cyclic-deps:jar:2.1.0'
<dependency org="org.hjug.dtangler.testdata.cyclicdeps" name="dtangler-testdata-cyclic-deps" rev="2.1.0">
  <artifact name="dtangler-testdata-cyclic-deps" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.hjug.dtangler.testdata.cyclicdeps', module='dtangler-testdata-cyclic-deps', version='2.1.0')
)
libraryDependencies += "org.hjug.dtangler.testdata.cyclicdeps" % "dtangler-testdata-cyclic-deps" % "2.1.0"
[org.hjug.dtangler.testdata.cyclicdeps/dtangler-testdata-cyclic-deps "2.1.0"]

Dependencies

test (1)

Group / Artifact Type Version
junit : junit jar 4.4

Project Modules

There are no modules declared in this project.

TravisCI: Build Status

SonarCloud: Quality Gate

CodeFactor

Known Vulnerabilities

Get more details at codescene.io.

Why dtangler?

I want you and your team to succeed and spend time on what really matters.

Researchers have found that classes involved in one or more dependency cycles are more prone to bugs and changes than those not involved in changes - see doi:10.1007/s11219-013-9200-8. By avoiding dependency cycles, you can avoid rework and bugs in your codebase.

Executable Jar Download

Download the released self-executable jar from Maven Central. You will need Java 8 or newer to run it.

Maven Plugin

You can use the dsm-maven-plugin as part of your build:

     <project>
            ...
            <reporting>
                <plugins>
                    <plugin>
                        <groupId>com.github.sevntu-checkstyle</groupId>
                        <artifactId>dsm-maven-plugin</artifactId>
                        <version>2.2.0version>
                        <configuration>
                            <obfuscatePackageNames>true</obfuscatePackageNames>
                        </configuration>
                    </plugin>
                    <!--  other reporting plugins  -->
                </plugins>
            </reporting>
            ...
        </project>

dtangler is a suite of tools to analyze dependencies.

dtangler's primary features currently are:

  • DSM GUI (Dependency Structure Matrix)
  • DSM text-based output
  • Command line dependency analyzer (primary targeted for use in automated builds)
  • Support for reading dependency info from a text file
  • Built in support for Java dependency analysis (jar/class folder, package, and class level)
  • The user can write dependency rules and dtangler checks if the code follows the rules.

Versions

Version
2.1.0