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.82k stars 248 forks source link

* Added suggestion of using the simplification as suggested by Terry … #301

Closed dutchedge closed 3 years ago

dutchedge commented 4 years ago

See the following adjustments:

Next to that I have some questions:

terryyin commented 3 years ago

Sorry. I've been away and occupied by other things for quite some time.

The commit looks good to me. (a minor thing is

c_family = 'c' in reader.language_names or \
                    'cpp' in reader.language_names

can be simply filed by arrays intersection.)

Thanks!