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

Closed Nesting Depth #100

Closed mehrdad89 closed 8 years ago

mehrdad89 commented 8 years ago

Introducing Maximum Nesting Depth for Clike and Python languages, which detects the maximum 'nestedness' (nesting for-loops, if-statements, etc.) in any source code without caring about the C/C++ header files or Python imports.

mehrdad89 commented 8 years ago

I will try to fix them as soon as possible. Sorry about that!

terryyin commented 8 years ago

Please take time:-)

mehrdad89 commented 8 years ago

Thanks, I will fix the issues then I will send a pull request again.

terryyin commented 8 years ago

Hi @mehrdad89 , just to let you know that during the refactoring I had to revert your changes in the lizard_languages/python.py, because I found yielding a might not be a best way of handling it. And it breaks other feature as well.

I will bring it back probably with another solution after the refactoring.

mehrdad89 commented 8 years ago

@terryyin Great, I'll be waiting eagerly to see what you can up with. I also faced another trouble regarding adding structural fan-in & fan-out. I am now looking to see how I can structural fan-in and fan-out at a local scope while having global scope in mind.