microsoft / graspologic
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 81 files with 9,793 lines of code.
    • 1 very long files (1,039 lines of code)
    • 2 long files (1,475 lines of code)
    • 9 medium size files (2,978 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (2,358 lines of code)
    • 54 very small files (1,943 lines of code)
10% | 15% | 30% | 24% | 19%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py10% | 15% | 30% | 24% | 19%
cfg0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
graspologic/plot62% | 36% | 0% | 0% | 1%
graspologic/layouts0% | 44% | 28% | 17% | 10%
graspologic/cluster0% | 0% | 74% | 16% | 8%
graspologic/utils0% | 0% | 81% | 0% | 18%
graspologic/simulations0% | 0% | 71% | 19% | 9%
graspologic/embed0% | 0% | 26% | 36% | 36%
graspologic/partition0% | 0% | 75% | 0% | 24%
graspologic/models0% | 0% | 53% | 0% | 46%
graspologic/match0% | 0% | 0% | 99% | <1%
graspologic/nominate0% | 0% | 0% | 98% | 1%
graspologic/align0% | 0% | 0% | 63% | 36%
graspologic/pipeline0% | 0% | 0% | 33% | 66%
graspologic/preprocessing0% | 0% | 0% | 89% | 10%
graspologic/subgraph0% | 0% | 0% | 98% | 1%
graspologic0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
graspologic/datasets0% | 0% | 0% | 0% | 100%
graspologic/inference0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
plot.py
in graspologic/plot
1039 20
_quad_node.py
in graspologic/layouts/nooverlap
870 38
plot_matrix.py
in graspologic/plot
605 16
utils.py
in graspologic/utils
469 24
autogmm.py
in graspologic/cluster
428 8
simulations.py
in graspologic/simulations
414 8
n2v.py
in graspologic/embed
339 13
__main__.py
in graspologic/layouts
311 11
leiden.py
in graspologic/partition
295 15
divisive_cluster.py
in graspologic/cluster
246 10
sbm_estimators.py
in graspologic/models
240 12
auto.py
in graspologic/layouts
236 15
qap.py
in graspologic/match
199 7
seedless_procrustes.py
in graspologic/align
195 7
base.py
in graspologic/embed
194 12
render.py
in graspologic/layouts
192 6
VNviaSGM.py
in graspologic/nominate
192 5
omnibus_embedding.py
in graspologic/pipeline/embed
172 5
svd.py
in graspologic/embed
163 3
graph_cuts.py
in graspologic/preprocessing
157 7
gclust.py
in graspologic/cluster
149 2
gmp.py
in graspologic/match
148 5
_grid.py
in graspologic/layouts/nooverlap
145 21
spectralVN.py
in graspologic/nominate
116 8
simulations_corr.py
in graspologic/simulations
115 7
sg.py
in graspologic/subgraph
115 3
mase.py
in graspologic/embed
106 4
base.py
in graspologic/models
98 12
laplacian_spectral_embedding.py
in graspologic/pipeline/embed
96 1
omni.py
in graspologic/embed
95 6
mds.py
in graspologic/embed
92 5
adjacency_spectral_embedding.py
in graspologic/pipeline/embed
90 1
case.py
in graspologic/embed
88 5
modularity.py
in graspologic/partition
79 4
colors.py
in graspologic/layouts
75 4
rdpg.py
in graspologic/models
66 3
base.py
in graspologic/datasets
65 3
mug2vec.py
in graspologic/embed
65 4
embeddings.py
in graspologic/pipeline/embed
60 11
cfg
setup.cfg
in root
60 -
ptr.py
in graspologic/utils
58 1
lse.py
in graspologic/embed
57 3
kclust.py
in graspologic/cluster
54 2
__init__.py
in graspologic/utils
50 -
ase.py
in graspologic/embed
48 3
_elbow.py
in graspologic/pipeline/embed
48 3
base.py
in graspologic/align
46 5
_quad_tree.py
in graspologic/layouts/nooverlap
43 9
graph_builder.py
in graspologic/pipeline
39 4
sign_flips.py
in graspologic/align
38 3
Files With Most Units (Top 20)
File# lines# units
_quad_node.py
in graspologic/layouts/nooverlap
870 38
utils.py
in graspologic/utils
469 24
_grid.py
in graspologic/layouts/nooverlap
145 21
plot.py
in graspologic/plot
1039 20
plot_matrix.py
in graspologic/plot
605 16
auto.py
in graspologic/layouts
236 15
leiden.py
in graspologic/partition
295 15
n2v.py
in graspologic/embed
339 13
base.py
in graspologic/embed
194 12
base.py
in graspologic/models
98 12
sbm_estimators.py
in graspologic/models
240 12
__main__.py
in graspologic/layouts
311 11
embeddings.py
in graspologic/pipeline/embed
60 11
divisive_cluster.py
in graspologic/cluster
246 10
_quad_tree.py
in graspologic/layouts/nooverlap
43 9
autogmm.py
in graspologic/cluster
428 8
spectralVN.py
in graspologic/nominate
116 8
simulations.py
in graspologic/simulations
414 8
seedless_procrustes.py
in graspologic/align
195 7
qap.py
in graspologic/match
199 7
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
sg.py
in graspologic/subgraph
115 3 1