Open trouvant opened 4 years ago
@trouvant the second example given really has three lines of code, right? Three print statements ...
Encountered the same issue as well. This seems to be a bug in Lizard python. When function declarations take more than 1 line, all metrics(LOC, CCN etc) will be calculated only on the declaration part but not implementation
@terryyin Hi Terry, can you help confirm is this is a bug unique to Python?
For example, analysis of the following function
yields
nloc: 2
.yields
nloc: 3
.I've tested both Python and C++, but it seems specific to Python.