Conditional Complexity Overall
  • There are 620 units with 11,913 lines of code in units (42.0% of code).
    • 1 very complex units (487 lines of code)
    • 3 complex units (461 lines of code)
    • 53 medium complex units (3,113 lines of code)
    • 74 simple units (2,311 lines of code)
    • 489 very simple units (5,541 lines of code)
4% | 3% | 26% | 19% | 46%
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
tsx30% | 15% | 22% | 3% | 27%
ts0% | 7% | 34% | 8% | 49%
py0% | <1% | 25% | 24% | 49%
js0% | 0% | 17% | 31% | 50%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
learning13% | 11% | 31% | 5% | 37%
chess0% | 1% | 41% | 26% | 30%
tv0% | 0% | 30% | 22% | 46%
games0% | 0% | 50% | 7% | 42%
smash0% | 0% | 18% | 22% | 59%
waker0% | 0% | 22% | 45% | 32%
fantasy0% | 0% | 10% | 36% | 53%
tools0% | 0% | 0% | 47% | 52%
cameo0% | 0% | 0% | 21% | 78%
roast0% | 0% | 0% | 28% | 71%
kundali0% | 0% | 0% | 32% | 67%
prisoner0% | 0% | 0% | 6% | 93%
podcast0% | 0% | 0% | 0% | 100%
wearable0% | 0% | 0% | 0% | 100%
factuality0% | 0% | 0% | 0% | 100%
artifacts0% | 0% | 0% | 0% | 100%
utils0% | 0% | 0% | 0% | 100%
history0% | 0% | 0% | 0% | 100%
startupcon0% | 0% | 0% | 0% | 100%
bricks0% | 0% | 0% | 0% | 100%
recap0% | 0% | 0% | 0% | 100%
tedx0% | 0% | 0% | 0% | 100%
oxford0% | 0% | 0% | 0% | 100%
cost0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
487 74 9
251 41 0
157 33 1
53 29 3
30 25 1
26 25 1
103 23 1
97 23 3
259 22 7
68 22 2
27 20 1
21 20 3
67 20 1
122 20 5
88 18 5
125 18 2
40 18 1
189 17 1
44 17 1
51 17 1
52 17 0
26 17 3
81 17 1
81 17 1
91 15 6
23 15 1
43 15 0
45 15 1
26 15 1
31 14 3
22 14 1
30 13 1
28 13 1
32 13 5
29 13 2
35 13 5
21 13 3
25 13 2
99 13 1
104 12 6
33 12 4
40 12 2
20 12 1
66 12 1
36 12 2
22 11 2
108 11 2
88 11 2
53 11 0
63 11 0
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...