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.