cccc-cli 1.10.0

The unified cccc binary: one CLI that measures cognitive/cyclomatic complexity across every bundled language (ECMAScript/TypeScript, Rust, Go, PHP, Ruby, Python, Perl, Zig, C, C++, Swift, Java, Dart, Scala, C#, Visual Basic .NET, Shell)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Module Sample
    Function sumOfPrimes(max As Integer) As Integer
        Dim total As Integer = 0
        For i As Integer = 2 To max
            For j As Integer = 2 To i - 1
                If i Mod j = 0 Then
                    GoTo NextI
                End If
            Next
            total += i
NextI:
        Next
        Return total
    End Function
End Module