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

Add a line count check #66

Closed clementleger closed 9 years ago

clementleger commented 9 years ago

Add an option to emit a warning if the line count if greater than a specified threshold.

terryyin commented 9 years ago

Hi @clementleger ,

Merged! Thanks. I had to refactor it a bit to make the lint tool happy. Now the lizard.py is too long (over 1000 lines) and I have to kick ObjectC reader out to a separate file.

I will release in a few weeks.

clementleger commented 9 years ago

Hi Terry, thanks for accepting the patch. Sorry about the file length :/ Anyway, lizard is a great tool, thanks for your work !