Conditional Complexity Overall
  • There are 1,251 units with 11,755 lines of code in units (47.4% of code).
    • 2 very complex units (841 lines of code)
    • 4 complex units (477 lines of code)
    • 32 medium complex units (1,337 lines of code)
    • 114 simple units (2,676 lines of code)
    • 1,099 very simple units (6,424 lines of code)
7% | 4% | 11% | 22% | 54%
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
py7% | 4% | 11% | 22% | 54%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
metaflow-netflixext12% | 4% | 10% | 20% | 52%
metaflow-prebuilt0% | 14% | 9% | 7% | 68%
metaflow-functions0% | 0% | 13% | 31% | 55%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
696 118 1
145 55 1
93 40 1
163 35 4
151 31 2
70 26 3
23 22 3
66 21 0
99 20 2
83 19 2
62 19 3
36 18 1
19 18 2
25 17 1
38 17 1
35 16 3
72 15 1
31 15 4
64 15 2
30 14 0
16 14 1
30 14 2
41 14 7
34 14 3
54 14 1
50 14 3
50 14 3
34 14 2
18 14 2
52 14 2
26 13 2
47 13 2
8 13 3
27 13 1
47 12 3
65 12 1
29 11 3
26 11 4
19 10 1
12 10 2
12 10 1
44 10 1
30 10 2
22 10 2
27 10 1
57 10 5
27 10 1
42 10 1
71 10 0
21 10 3
About This Analysis
  • Conditional complexity (also called cyclomatic complexity) is a term used to measure the complexity of software. The term refers to the number of possible paths through a program function. A higher value ofter means higher maintenance and testing costs (infosecinstitute.com).
  • Conditional complexity is calculated by counting all conditions in the program that can affect the execution path (e.g. if statement, loops, switches, and/or operators, try and catch blocks...).
  • Conditional complexity is measured at the unit level (methods, functions...).
  • Units are classified in four categories based on the measured McCabe index: 1-5 (simple units), 6-10 (medium complex units), 11-25 (complex units), 26+ (very complex units).
Learn more...