Conditional Complexity Overall
  • There are 2,091 units with 19,563 lines of code in units (51.9% of code).
    • 1 very complex units (394 lines of code)
    • 8 complex units (530 lines of code)
    • 83 medium complex units (2,573 lines of code)
    • 186 simple units (3,658 lines of code)
    • 1,813 very simple units (12,408 lines of code)
2% | 2% | 13% | 18% | 63%
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
java11% | 0% | 9% | 12% | 66%
js0% | 3% | 14% | 20% | 61%
rb0% | 0% | 11% | 24% | 64%
py0% | 0% | 0% | 2% | 97%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
lipstick-console6% | 3% | 16% | 17% | 55%
lipstick-server0% | 2% | 12% | 20% | 64%
clients0% | 0% | 4% | 6% | 88%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
394 73 2
94 33 5
94 33 5
109 29 0
63 29 2
45 28 1
45 28 1
40 27 2
40 27 2
28 25 2
28 25 2
75 24 2
52 24 4
42 23 0
42 23 0
22 22 0
22 22 0
21 20 1
21 20 1
44 20 4
56 19 3
55 19 1
72 18 2
36 18 0
28 18 3
72 18 2
36 18 0
28 18 3
14 17 1
16 17 3
37 17 2
14 17 1
16 17 3
37 17 2
74 17 0
28 16 1
54 16 2
74 16 2
28 16 1
54 16 2
24 16 0
14 15 2
14 15 1
18 15 4
29 15 2
19 15 2
32 15 1
60 15 2
14 15 2
14 15 1
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...