ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:1906.011] Lizard: An extensible Cyclomatic Complexity Analyzer

Lizard is an extensible Cyclomatic Complexity Analyzer for imperative programming languages including C/C++/C#, Python, Java, and Javascript. It counts the nloc (lines of code without comments) and CCN (cyclomatic complexity number), and takes a token count of functions and a parameter count of functions. It also does copy-paste detection (code clone detection/code duplicate detection) and many other forms of static code analysis. Lizard is often used in software-related research and calculates how complex the code looks rather than how complex the code really is; thought it's often very hard to get all the included folders and files right when they are complicated, that accuracy is not needed to determine cyclomatic complexity, which can be useful for measuring the maintainability of a software package.

Code site:
http://www.lizard.ws/ https://pypi.org/project/lizard/ https://github.com/terryyin/lizard
Used in:
https://ui.adsabs.harvard.edu/abs/2017JAI.....650007C
Bibcode:
2019ascl.soft06011Y

Views: 7500

ascl:1906.011
Add this shield to your page
Copy the above HTML to add this shield to your code's website.