File Complexity Overall
  • There are 25 files with units, with 3,645 lines of code.
    • 0 very complex files (McCabe index sum 251+; 0 lines of code)
    • 0 complex files (McCabe index sum 126-250; 0 lines of code)
    • 3 medium complex files (McCabe index sum 51-125; 1,305 lines of code)
    • 6 slightly complex files (McCabe index sum 26-50; 1,369 lines of code)
    • 16 simple files (McCabe index sum 1-25; 971 lines of code)
  • 5 main files have no units (e.g. languages without unit analysis, or files without functions) and are not classified.
system0% | 0% | 35% | 37% | 26%
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% | 0% | 35% | 37% | 26%
File Complexity per Logical Decomposition
primary
251+
126-250
51-125
26-50
1-25
point_e0% | 0% | 35% | 37% | 26%
Most Complex Files (Top 25)

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
blender_script.py
in point_e/evals/scripts
391 28 107 27 14
gaussian_diffusion.py
in point_e/diffusion
706 43 81 11 16
npz_stream.py
in point_e/evals
208 20 70 34 14
k_diffusion.py
in point_e/diffusion
242 22 36 15 5
sampler.py
in point_e/diffusion
229 10 36 16 24
pointnet2_utils.py
in point_e/evals
208 14 33 16 5
transformer.py
in point_e/models
396 26 31 8 3
pretrained_clip.py
in point_e/models
194 19 29 15 4
point_cloud.py
in point_e/util
100 11 28 28 6
feature_extractor.py
in point_e/evals
85 11 17 20 5
mesh.py
in point_e/util
62 4 17 27 6
sdf.py
in point_e/models
88 10 10 11 1
perceiver.py
in point_e/models
126 8 9 7 2
fid_is.py
in point_e/evals
51 4 8 16 4
pointnet2_cls_ssg.py
in point_e/evals
66 4 7 11 3
configs.py
in point_e/models
129 1 7 5 7
checkpoint.py
in point_e/models
38 3 6 16 4
pc_to_mesh.py
in point_e/util
61 3 4 7 2
configs.py
in point_e/diffusion
54 1 4 7 4
ply_util.py
in point_e/util
54 2 3 6 2
download.py
in point_e/models
60 3 3 5 1
util.py
in point_e/models
12 1 2 17 2
evaluate_pis.py
in point_e/evals/scripts
16 1 1 6 1
evaluate_pfid.py
in point_e/evals/scripts
22 1 1 5 1
plotting.py
in point_e/util
47 1 1 2 1
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...