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 line_to_ccn={line:ccn} #306

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add line_to_ccn={line:ccn} #306

wants to merge 2 commits into from

Conversation

yql70
Copy link

@yql70 yql70 commented Dec 2, 2020

helo~
I want a new field to show the relationship between line and cyclomatic complexity, like this:
image
So I added a variable line_to_ccn in the FunctionInfo class, to record lines of code and add up the ccn in add_condition().
I also output line_to_ccn in csv files.

@terryyin
Copy link
Owner

terryyin commented Dec 2, 2020 via email

@yql70
Copy link
Author

yql70 commented Dec 2, 2020

This idea references the html output of dart-code-metrics, cyclomaticComplexityLines records the relationship between line and ccn.
It may be an extension. Looking forward to adding this feature. Thanks!

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

Successfully merging this pull request may close these issues.

2 participants