Closed iccengan closed 4 years ago
Sorry for the super late reply. Lizard shouldn't report if
as a function any more. So this seems to work fine for me now. BTW, // #lizard forgives
does not work in a nested way. It will ignore the current or next function.
I assume lizard should only report functions. But in the below case, if statement is detected.
// #lizard forgives
is not working fortestFun()
, unless I put this comment right before theif (testVar2)
or insideif (testVar2)
.Command I ran:
python lizard.py test_ccn.mm -w -C 9 -L 100000
Result I got:
test_ccn.mm->if->if( testVar2)->10-35-> 26->10->{32, 14, 15, 19, 20, 21, 24, 31} 10.0:1
File I scanned:
test_ccn.mm