Skip to content

Include classes involved in dependency cycles #12

Description

@jimbethancourt

The number of dependency cycles has been shown to have a stronger correlation with code churn than God classes. Including classes that are involved in dependency cycles in the analysis would be very helpful.

Identify class cycle groups and prioritize based on average churn of all classes involved in the cycle.

Identify all classes referred to by each class with JavaParser / JavaSymbolSolver (package name + class name) -- see https://stackoverflow.com/questions/22684264/how-get-the-fully-qualified-name-of-the-java-class
Identify strongly connected components (cycles) with JGraphT: https://jgrapht.org/guide/UserOverview#graph-algorithms

Activity

  1. changed the title [-]Incorporate dTangler output[/-] [+]Identify classes involved in dependency cycles[/+] on Oct 1, 2021
  2. changed the title [-]Identify classes involved in dependency cycles[/-] [+]Include classes involved in dependency cycles[/+] on Oct 1, 2021
  3. jimbethancourt commented on Jun 26, 2023

    @jimbethancourt
    CollaboratorAuthor
  4. jimbethancourt commented on Jul 1, 2024

    @jimbethancourt
    CollaboratorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions