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 an option to emit warning if function length is greater than a threshold #59

Closed clementleger closed 9 years ago

clementleger commented 9 years ago

In order to enforce good programming practice, add the possibility to emit a warning if function length is greater than a certain size. Also display the function length to ease reading of results.

terryyin commented 9 years ago

Hi @clementleger , Sorry for keeping this so long. I'm merging year code now. May I ask what is the purpose of valid/hudson/build.rb? And I will probably change the default to 1000, not to surprise the current users.

terry

clementleger commented 9 years ago

Hi Terry, I made a mistake by commiting the build.rb file. I will do another cleaner request :)