openai / point-e
Conditional Complexity

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

Intro
  • 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...
Conditional Complexity Overall
  • There are 251 units with 2,162 lines of code in units (59.2% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 5 medium complex units (179 lines of code)
    • 12 simple units (219 lines of code)
    • 234 very simple units (1,764 lines of code)
0% | 0% | 8% | 10% | 81%
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% | 0% | 8% | 10% | 81%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
point_e0% | 0% | 8% | 10% | 81%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
19 24 2
35 16 2
31 14 3
46 14 2
48 14 2
25 9 0
16 8 1
11 8 2
15 8 2
22 7 2
15 7 3
18 7 1
18 7 3
24 6 3
17 6 3
21 6 2
17 6 4
13 5 3
23 5 2
28 5 3
9 5 3
18 5 6
11 4 3
10 4 2
17 4 3
28 4 5
30 4 3
10 4 4
7 4 0
8 4 0
8 4 2
9 4 1
15 4 2
24 4 2
16 4 2
2 3 1
11 3 2
20 3 3
12 3 1
11 3 2
5 3 0
18 3 3
19 3 7
17 3 6
6 3 0
4 3 0
4 3 0
11 3 0
10 3 4
4 3 2