JetBrains / go-code-samples
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
0% | 2% | 43% | 38% | 14%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go0% | 2% | 44% | 39% | 13%
js0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
get-started-with-redis0% | 15% | 50% | 24% | 9%
go-gin-react0% | 0% | 39% | 58% | 1%
database-sql-package-goproject0% | 0% | 65% | 34% | 0%
awesomeProject0% | 0% | 74% | 22% | 2%
go-rest-demo0% | 0% | 26% | 33% | 39%
GoBlog0% | 0% | 34% | 46% | 19%
go-db-comparison0% | 0% | 44% | 26% | 28%
testing-guide0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
51 15 0
47 10 1
40 7 0
40 6 0
39 6 1
37 6 2
32 8 1
31 7 2
31 7 2
31 7 2
30 7 1
30 6 1
30 5 0
29 4 0
28 4 1
28 5 0
28 5 0
25 5 0
24 4 0
24 4 0
24 4 0
24 3 0
23 5 1
23 5 1
23 5 1
23 6 0
22 11 1
21 5 1
21 3 0
20 5 1
19 4 1
19 5 1
19 3 0
18 4 1
18 5 1
18 5 1
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2
18 4 2