Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Add cyclomatic complexity check in analysis #3

@rju

Description

@rju

Checkstyle provides the functionality to evaluate the cyclomatic complexity of methods in a Java class. However, it is cumbersome to configure Checkstyle in a way that it scan all methods of the project and display the result. Furthermore, it does not provide an aggregation of these results.

Therefore, it is necessary to include such checkstyle analysis for cyclomatic complexity and return all measurements to the Analysis Result View and provide a summary in the way:
projectName + " cyclomatic complexity <=1", 4 (meaning 4 methods have a complexity lower or equal 1
projectName + " cyclomatic complexity <=3", 2
...
projectName + " cyclomatic complexity >10", 0

These results should also be saved when the save action for the view is triggered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions