GoogleCloudPlatform / document-ai-samples
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 2% | 9% | 19% | 67%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
py0% | 4% | 8% | 20% | 66%
js0% | 0% | 16% | 14% | 69%
cs0% | 0% | 70% | 0% | 29%
ts0% | 0% | 0% | 27% | 72%
java0% | 0% | 0% | 23% | 76%
go0% | 0% | 0% | 38% | 61%
gs0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
bq-connector0% | 15% | 12% | 9% | 62%
document-processing-workflows0% | 46% | 0% | 10% | 43%
document-json-explorer0% | 0% | 34% | 23% | 42%
web-app-pix2info-python0% | 0% | 8% | 16% | 75%
community0% | 0% | 14% | 12% | 73%
incubator-tools0% | 0% | 8% | 15% | 75%
document_ai_warehouse0% | 0% | 5% | 16% | 78%
classify-split-extract-workflow0% | 0% | 11% | 32% | 56%
tax-processing-pipeline-python0% | 0% | 5% | 53% | 40%
web-app-demo0% | 0% | 0% | 23% | 76%
ROOT0% | 0% | 0% | 29% | 70%
fraud-detection-python0% | 0% | 0% | 42% | 57%
sql-pdf-python0% | 0% | 0% | 59% | 41%
cx-content-moderation0% | 0% | 0% | 38% | 61%
pdf-splitter-python0% | 0% | 0% | 29% | 70%
filter-hitl-language0% | 0% | 0% | 48% | 52%
apps-script-google-drive0% | 0% | 0% | 0% | 100%
pdf-embedded-text0% | 0% | 0% | 0% | 100%
extract-tables0% | 0% | 0% | 0% | 100%
extract-languages0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
88 31 1
158 27 1
48 18 3
48 16 2
78 16 1
160 16 1
40 14 1
19 14 1
65 13 1
65 12 2
36 12 0
50 12 1
37 11 2
49 11 1
75 11 1
33 11 1
21 10 2
26 10 1
31 9 1
46 9 2
109 9 1
46 9 0
31 9 1
19 9 2
47 8 1
19 8 0
23 8 1
44 8 2
15 8 2
19 8 2
50 8 1
32 7 2
63 7 2
20 7 0
47 7 1
19 7 1
19 7 1
20 7 0
16 7 1
21 7 1
49 7 1
50 7 2
14 6 1
12 6 1
14 6 1
18 6 1
11 6 1
11 6 1
17 6 1
20 6 1