Skip to content

add line_to_ccn={line:ccn} - #306

Open
yql70 wants to merge 2 commits into
terryyin:masterfrom
yql70:master
Open

add line_to_ccn={line:ccn}#306
yql70 wants to merge 2 commits into
terryyin:masterfrom
yql70:master

Conversation

@yql70

@yql70 yql70 commented Dec 2, 2020

Copy link
Copy Markdown

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

terryyin commented Dec 2, 2020 via email

Copy link
Copy Markdown
Owner

@yql70

yql70 commented Dec 2, 2020

Copy link
Copy Markdown
Author

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