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 metric for cyclomatic and/or cognitive complexity #615

Open
fniessink opened this issue Sep 20, 2019 · 1 comment
Open

Add metric for cyclomatic and/or cognitive complexity #615

fniessink opened this issue Sep 20, 2019 · 1 comment
Labels
Metric(s) New, enhanced, or removed metric

Comments

@fniessink
Copy link
Member

fniessink commented Sep 20, 2019

The current "Complex units" metric measures the amount of units that are too complex. This metric would measure the total cyclomatic complexity and/or the cyclomatic complexity density (complexity per LOC).

SonarQube, manual number, and random number are the possible sources. Tags would include "maintainability" and maybe "testability".

This metric should be "informative" by default.

Cognitive complixity link: https://www.sonarsource.com/resources/white-papers/cognitive-complexity.html

@fniessink fniessink added this to the v1.0 milestone Sep 20, 2019
@fniessink fniessink added the Metric(s) New, enhanced, or removed metric label Sep 20, 2019
@fniessink fniessink removed this from the v1.0 milestone Oct 1, 2019
@fniessink fniessink changed the title Add metric for cyclomatic complexity Add metric for cyclomatic and/or cognitive complexity Jan 4, 2024
@fniessink fniessink moved this to Wait for use case in Quality-time backlog May 24, 2024
@Sebastiaan127001
Copy link
Contributor

%VOTE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Metric(s) New, enhanced, or removed metric
Projects
Status: Wait for use case
Development

No branches or pull requests

2 participants