KLizard is an extensible Cyclomatic Complexity Analyzer for many programming languages including C/C++ (doesn't require all the header files or Java imports). It also does copy-paste detection (code clone detection/code duplicate detection) and many other forms of static code analysis.
This project is a kotlin implementation of Lizard by Terry Yin, originally from Lizard.
repositories {
mavenCentral()
}
dependencies {
implementation("com.github.kevinah95:klizard:[version]")
}