facebookresearch / shaDow_GNN
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 93 files with 7,535 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,230 lines of code)
    • 10 medium size files (3,095 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,162 lines of code)
    • 72 very small files (2,048 lines of code)
0% | 16% | 41% | 15% | 27%
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
cpp0% | 86% | 0% | 13% | 0%
py0% | 11% | 63% | 18% | 6%
h0% | 0% | 0% | 62% | 37%
yml0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
para_graph_sampler/graph_engine0% | 25% | 42% | 24% | 8%
shaDow0% | 17% | 62% | 16% | 3%
config_train/products0% | 0% | 0% | 0% | 100%
config_train/arxiv0% | 0% | 0% | 0% | 100%
config_train/flickr0% | 0% | 0% | 0% | 100%
config_train/reddit0% | 0% | 0% | 0% | 100%
config_train/yelp0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
config_train/papers100M0% | 0% | 0% | 0% | 100%
config_train/collab0% | 0% | 0% | 0% | 100%
para_graph_sampler0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ParallelSampler.cpp
in para_graph_sampler/graph_engine/backend
660 20
layers.py
in shaDow
570 43
logging_base.py
in shaDow
494 29
data_converter.py
in para_graph_sampler/graph_engine/frontend
420 7
main.py
in shaDow
393 7
minibatch.py
in shaDow
389 26
preproc.py
in shaDow
263 8
graph.py
in para_graph_sampler/graph_engine/frontend
238 23
samplers_ensemble.py
in para_graph_sampler/graph_engine/frontend
237 11
utils.py
in shaDow
223 8
models.py
in shaDow
222 7
samplers_cpp.py
in para_graph_sampler/graph_engine/frontend
216 6
postproc_ens.py
in shaDow
182 16
samplers_base.py
in para_graph_sampler/graph_engine/frontend
157 16
ParallelSampler.h
in para_graph_sampler/graph_engine/backend
142 -
loader.py
in para_graph_sampler/graph_engine/frontend
131 4
metric.py
in shaDow
120 11
globals.py
in shaDow
119 -
profiler.py
in shaDow
106 9
Graph.cpp
in para_graph_sampler/graph_engine/backend
104 5
graph_utils.py
in para_graph_sampler/graph_engine/frontend
101 6
postproc_CnS.py
in shaDow
100 7
Graph.h
in para_graph_sampler/graph_engine/backend
84 -
setup.py
in para_graph_sampler/graph_engine/backend
64 2
samplers_python.py
in para_graph_sampler/graph_engine/frontend
53 6
train_multiple_runs.py
in scripts
49 2
CONFIG_TEMPLATE.yml
in root
34 -
gat_ppr.yml
in config_train/papers100M/leaderboard
29 -
sage_ppr.yml
in config_train/collab/leaderboard
29 -
sage_5_ppr.yml
in config_train/arxiv/leaderboard
29 -
gat_5_ppr.yml
in config_train/products/leaderboard
28 -
gat_5_ppr-2.yml
in config_train/products/leaderboard
28 -
gat_3_ppr.yml
in config_train/flickr/vanilla
28 -
gat_5_ppr.yml
in config_train/flickr/vanilla
28 -
gat_3_ppr.yml
in config_train/flickr/pool
28 -
gat_3_ppr.yml
in config_train/yelp/vanilla
28 -
gat_5_ppr.yml
in config_train/yelp/vanilla
28 -
gat_3_ppr.yml
in config_train/yelp/pool
28 -
gat_3_ppr.yml
in config_train/arxiv/vanilla
28 -
gat_5_ppr.yml
in config_train/arxiv/vanilla
28 -
gat_5_ppr.yml
in config_train/arxiv/pool
28 -
sage_5_ppr.yml
in config_train/yelp/vanilla
27 -
gcn_5_ppr.yml
in config_train/yelp/vanilla
27 -
sage_3_ppr.yml
in config_train/yelp/vanilla
27 -
gcn_3_ppr.yml
in config_train/yelp/vanilla
27 -
sage_3_ppr.yml
in config_train/yelp/pool
27 -
gat_3_ppr.yml
in config_train/reddit/vanilla
27 -
gat_5_ppr.yml
in config_train/reddit/vanilla
27 -
gat_5_ppr.yml
in config_train/reddit/pool
27 -
sage_5_ppr.yml
in config_train/arxiv/vanilla
27 -
Files With Most Units (Top 20)
File# lines# units
layers.py
in shaDow
570 43
logging_base.py
in shaDow
494 29
minibatch.py
in shaDow
389 26
graph.py
in para_graph_sampler/graph_engine/frontend
238 23
ParallelSampler.cpp
in para_graph_sampler/graph_engine/backend
660 20
samplers_base.py
in para_graph_sampler/graph_engine/frontend
157 16
postproc_ens.py
in shaDow
182 16
samplers_ensemble.py
in para_graph_sampler/graph_engine/frontend
237 11
metric.py
in shaDow
120 11
profiler.py
in shaDow
106 9
utils.py
in shaDow
223 8
preproc.py
in shaDow
263 8
data_converter.py
in para_graph_sampler/graph_engine/frontend
420 7
models.py
in shaDow
222 7
postproc_CnS.py
in shaDow
100 7
main.py
in shaDow
393 7
samplers_cpp.py
in para_graph_sampler/graph_engine/frontend
216 6
graph_utils.py
in para_graph_sampler/graph_engine/frontend
101 6
samplers_python.py
in para_graph_sampler/graph_engine/frontend
53 6
Graph.cpp
in para_graph_sampler/graph_engine/backend
104 5
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 32 long lines.

File# lines# units# long lines
globals.py
in shaDow
119 - 15
train_multiple_runs.py
in scripts
49 2 5
samplers_ensemble.py
in para_graph_sampler/graph_engine/frontend
237 11 3
preproc.py
in shaDow
263 8 3
logging_base.py
in shaDow
494 29 3
data_converter.py
in para_graph_sampler/graph_engine/frontend
420 7 1
ParallelSampler.cpp
in para_graph_sampler/graph_engine/backend
660 20 1
layers.py
in shaDow
570 43 1