GoogleCloudPlatform / practical-ml-vision-book
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 15% | 22% | 24% | 36%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py0% | 15% | 22% | 24% | 36%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
06_preprocessing0% | 61% | 0% | 7% | 30%
07_training0% | 22% | 47% | 17% | 12%
04_detect_segment0% | 0% | 21% | 34% | 44%
03_image_models0% | 0% | 0% | 21% | 78%
05_create_dataset0% | 0% | 0% | 25% | 74%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
86 13 1
54 4 2
48 2 6
40 6 7
39 6 4
28 4 4
25 1 5
22 6 1
20 2 3
19 5 3
19 2 4
17 3 3
16 5 9
15 2 3
15 1 4
14 1 2
14 3 4
14 3 4
12 2 3
11 1 1
11 2 3
11 1 3
11 3 2
10 3 1
10 1 1
10 3 5
10 1 2
10 4 4
10 2 3
10 1 1
9 2 3
9 2 3
8 3 1
8 3 2
8 3 0
8 4 3
8 2 2
8 1 1
7 3 1
7 1 1
7 2 2
7 1 2
7 2 3
7 3 1
7 3 1
6 2 1
6 1 1
6 1 1
6 1 2
6 1 3