Menu

#6 String constants affecting complexity metric

open
nobody
None
5
2011-08-03
2011-08-03
Sunny
No

String constants that include adjacent pipe characters || incorrectly increase the McCabe complexity metric value. For the example, the follow statement is reported as having a complexity of 4: System.err.println("||||");

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.