Lizard: An extensible Cyclomatic Complexity Analyzer

Discussion topics for individual codes
Post Reply
Ada Coda
ASCL Robot
Posts: 1487
Joined: Thu May 08, 2014 5:37 am

Lizard: An extensible Cyclomatic Complexity Analyzer

Post by Ada Coda » Sun Jun 30, 2019 7:02 pm

Lizard: An extensible Cyclomatic Complexity Analyzer

Abstract: 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.

Credit: Yin, Terry

Site: https://github.com/terryyin/lizard
https://ui.adsabs.harvard.edu/abs/2017JAI.....650007C

Bibcode: 2019ascl.soft06011Y

ID: ascl:1906.011
Last edited by Ada Coda on Sun Jun 30, 2019 9:55 pm, edited 1 time in total.
Reason: Updated code entry.

Post Reply