terryyin / lizard

A simple code complexity analyser without caring about the C/C++ header files or Java imports, supports most of the popular languages.
Other
1.85k stars 250 forks source link

use souce_function.length, more precise. #239

Closed yalechen-cyw3 closed 6 years ago

yalechen-cyw3 commented 6 years ago

source_function.length == source_function.end_line - source_function.start_line + 1

So, use souce_function, more precise.

terryyin commented 6 years ago

Thanks!