Open cyw3 opened 4 years ago
The existence of anonymous functions in function testCCN will cause function testCCN to be unrecognized and the cyclomatic complexity will be ignored.
func testCCN() { defer func() { println("") }() if true { println("") } if true { println("") } }
In latest version, the problem seem still exists. Hope it can be fixed, thanks.
What should be the proper behaviour? Count, by as a separate function, or adding to the outer function?
The existence of anonymous functions in function testCCN will cause function testCCN to be unrecognized and the cyclomatic complexity will be ignored.