Skip to content

Kotlin and Java complexity analysis support#84

Open
ibartj wants to merge 3 commits intosmontanari:mainfrom
ibartj:kotlin-complexity-analysis
Open

Kotlin and Java complexity analysis support#84
ibartj wants to merge 3 commits intosmontanari:mainfrom
ibartj:kotlin-complexity-analysis

Conversation

@ibartj
Copy link

@ibartj ibartj commented Mar 12, 2026

Adds Kotlin and Java support for complexity analysis.

This was mostly vibe-coded, but the results appear reasonable.

Cyclomatic complexity is computed using a McCabe-style approach inspired by Detekt’s CyclomaticComplexMethod rule, with parsing handled by tree-sitter-kotlin/tree-sitter-java.

Feedback is welcome.

@ibartj ibartj force-pushed the kotlin-complexity-analysis branch from b4f9c24 to 86e65d4 Compare March 13, 2026 08:21
@ibartj ibartj changed the title Kotlin complexity analysis support Kotlin and Java complexity analysis support Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant