Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cyclomatic complexity check in analysis #3

Open
rju opened this issue May 11, 2015 · 0 comments
Open

Add cyclomatic complexity check in analysis #3

rju opened this issue May 11, 2015 · 0 comments
Milestone

Comments

@rju
Copy link
Owner

rju commented May 11, 2015

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.

@rju rju added this to the 1.0 Release milestone May 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant