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 tests for Python 'for-else' and 'while-else' #153

Closed rakhimov closed 7 years ago

rakhimov commented 8 years ago

This is Python's language quirk. AFAIK these structures are only relevant to nested structure counting. I don't know if other metrics should ensure accuracy for these constructs.


This change is Reviewable