File Complexity Overall
  • There are 67 files with units, with 13,203 lines of code.
    • 0 very complex files (McCabe index sum 251+; 0 lines of code)
    • 3 complex files (McCabe index sum 126-250; 2,484 lines of code)
    • 18 medium complex files (McCabe index sum 51-125; 5,694 lines of code)
    • 17 slightly complex files (McCabe index sum 26-50; 2,999 lines of code)
    • 29 simple files (McCabe index sum 1-25; 2,026 lines of code)
  • 15 main files have no units (e.g. languages without unit analysis, or files without functions) and are not classified.
system0% | 18% | 43% | 22% | 15%
Legend:
251+
126-250
51-125
26-50
1-25


explore: grouped by folders | grouped by complexity
File Complexity per Extension
251+
126-250
51-125
26-50
1-25
py0% | 18% | 43% | 22% | 15%
File Complexity per Logical Decomposition
primary
251+
126-250
51-125
26-50
1-25
packages0% | 19% | 42% | 23% | 15%
ROOT0% | 0% | 100% | 0% | 0%
Most Complex Files (Top 50)

The McCabe index of a file grows with its size: per 100 lines tells a large but plain file from a dense one, and most complex unit whether the complexity sits in one unit or is spread over many.

File# lines# unitsMcCabe index
(sum)
per 100
lines
most complex
unit
project_settings_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
884 55 170 19 15
main_window.py
in packages/open_vp_cal/src/open_vp_cal/widgets
853 64 133 16 8
ocio_config.py
in packages/open_vp_cal/src/open_vp_cal/core
747 36 132 18 58
imaging_utils.py
in packages/open_vp_cal/src/open_vp_cal/imaging
458 35 104 23 7
calibrate.py
in packages/open_vp_cal/src/open_vp_cal/core
777 22 103 13 51
processing.py
in packages/open_vp_cal/src/open_vp_cal/framework
428 22 89 21 17
led_wall_settings.py
in packages/open_vp_cal/src/open_vp_cal
291 66 89 31 5
basePatternGenerator.py
in packages/spg/src/spg/PatternGenerators
299 45 87 29 12
application_base.py
in packages/open_vp_cal/src/open_vp_cal
211 19 86 41 14
project_settings.py
in packages/open_vp_cal/src/open_vp_cal
269 47 86 32 9
generation.py
in packages/open_vp_cal/src/open_vp_cal/framework
653 38 84 13 7
timeline_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
339 40 84 25 13
image_selection_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
228 24 74 32 13
graph_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
241 29 68 28 9
compile.py
in root
206 20 64 31 12
delta_e_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
167 22 59 35 7
main.py
in packages/open_vp_cal/src/open_vp_cal
197 13 57 29 19
swatch_analysis_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
245 14 57 23 30
stage_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
244 27 52 21 6
utils.py
in packages/open_vp_cal/src/open_vp_cal/core
201 25 51 25 6
colourspaces_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
240 14 51 21 8
imageUtils.py
in packages/spg/src/spg/utils
165 14 50 30 14
sample_patch.py
in packages/open_vp_cal/src/open_vp_cal/framework
233 16 49 21 13
spg.py
in packages/spg/src/spg
207 12 48 23 18
ocio_utils.py
in packages/open_vp_cal/src/open_vp_cal/core
238 16 46 19 8
rasterMap.py
in packages/stageassets/src/stageassets
185 38 46 25 5
colorPatch.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
196 34 44 22 9
utils.py
in packages/spg/src/spg/testing
176 25 44 25 6
sequence_loader.py
in packages/open_vp_cal/src/open_vp_cal/framework
128 17 43 34 10
preprocessing.py
in packages/open_vp_cal/src/open_vp_cal/imaging
127 9 40 31 10
alignment.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
180 26 39 22 14
ledWall.py
in packages/stageassets/src/stageassets
156 32 37 24 3
constants.py
in packages/open_vp_cal/src/open_vp_cal/core
345 26 36 10 3
utils.py
in packages/open_vp_cal/src/open_vp_cal/widgets
98 9 31 32 11
projectSettings.py
in packages/spg/src/spg
152 29 31 20 3
ledPanel.py
in packages/stageassets/src/stageassets
111 27 29 26 3
validation.py
in packages/open_vp_cal/src/open_vp_cal/framework
154 9 28 18 8
exposureStops.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
148 17 26 18 10
bar_chart_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
104 15 25 24 4
calibration_matrix_widget.py
in packages/open_vp_cal/src/open_vp_cal/widgets
94 9 25 27 5
linearSteppedColors.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
141 21 25 18 4
movingBars.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
114 17 25 22 6
resource_loader.py
in packages/open_vp_cal/src/open_vp_cal/core
78 18 24 31 2
frameCountSync.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
99 14 23 23 9
linearSteppedRamp.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
121 20 23 19 4
query.py
in packages/spg/src/spg
60 9 23 38 4
identify_separation.py
in packages/open_vp_cal/src/open_vp_cal/framework
105 7 21 20 7
auto_roi.py
in packages/open_vp_cal/src/open_vp_cal/framework
86 6 21 24 14
bitdepth.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
77 9 20 26 12
realBlackLevel.py
in packages/spg_icvfxpatterns/src/spg_icvfxpatterns/PatternGenerators
96 15 18 19 4
About This Analysis
  • File complexity is the sum of the McCabe indexes (conditional complexity) of the units (methods, functions...) in a file.
  • Files are classified in five categories based on that sum: 1-25 (simple files), 26-50 (slightly complex files), 51-125 (medium complex files), 126-250 (complex files), 251+ (very complex files). The default bands are five times the unit complexity bands, as a file is a group of units.
  • Only main code files with units are classified. Files without units (languages without unit analysis, or files without functions) have no complexity to measure and are left out rather than counted as simple.
  • A very complex file holds many decisions, which often means it has too many responsibilities: a candidate to split, and a place where changes need more testing.
Learn more...