facebookresearch / GraphLog
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 46 files with 5,585 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (810 lines of code)
    • 10 medium size files (2,806 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,008 lines of code)
    • 28 very small files (961 lines of code)
0% | 14% | 50% | 18% | 17%
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
py0% | 15% | 54% | 11% | 18%
yaml0% | 0% | 0% | 100% | 0%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
experiments/codes/experiment0% | 68% | 26% | 0% | 5%
experiments/codes/model0% | 0% | 80% | 0% | 19%
graphlog0% | 0% | 73% | 24% | 2%
experiments/codes/utils0% | 0% | 33% | 43% | 23%
experiments/scripts0% | 0% | 100% | 0% | 0%
experiments/config/continual0% | 0% | 0% | 100% | 0%
experiments/config/supervised0% | 0% | 0% | 100% | 0%
experiments/config/multitask0% | 0% | 0% | 100% | 0%
experiments/codes/logbook0% | 0% | 0% | 0% | 100%
experiments/codes/testtube0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
experiments/codes/app0% | 0% | 0% | 0% | 100%
experiments/codes0% | 0% | 0% | 0% | 100%
Longest Files (Top 46)
File# lines# units
checkpointable_multitask_experiment.py
in experiments/codes/experiment
810 27
base_model.py
in experiments/codes/model
331 25
data.py
in experiments/codes/utils
324 18
layers.py
in experiments/codes/model/gat
322 22
inference.py
in experiments/codes/experiment
310 13
sig_edge_gat.py
in experiments/codes/model/gat
291 6
edge_gat.py
in experiments/codes/model/gat
273 6
dataset.py
in graphlog
256 15
eval_supervised.py
in experiments/scripts
251 4
graphlog.py
in graphlog
230 25
models.py
in experiments/codes/model
218 28
util.py
in experiments/codes/utils
189 37
utils.py
in graphlog
163 17
continual.yaml
in experiments/config/continual
142 -
supervised.yaml
in experiments/config/supervised
142 -
multitask.yaml
in experiments/config/multitask
142 -
config.py
in experiments/codes/utils
118 10
inspect_utils.py
in experiments/codes/utils
112 10
checkpointable_testtube.py
in experiments/codes/testtube
100 9
task_family.py
in experiments/codes/utils
97 5
rgcn.py
in experiments/codes/model/rgcn
88 2
gcn.py
in experiments/codes/model/gcn
87 3
layers.py
in experiments/codes/model/gcn
77 6
filesystem_logger.py
in experiments/codes/logbook
67 12
checkpointable.py
in experiments/codes/utils
67 2
layers.py
in experiments/codes/model/rgcn
66 5
logbook.py
in experiments/codes/logbook
52 7
metric.py
in experiments/codes/experiment
42 5
config_generator.py
in experiments/codes/utils
34 1
setup.py
in root
30 -
noxfile.py
in root
26 3
inits.py
in experiments/codes/model
25 5
util.py
in experiments/codes/experiment
22 1
cfg
setup.cfg
in root
20 -
serializable_config.py
in experiments/codes/utils
19 5
main.py
in experiments/codes/app
13 2
types.py
in graphlog
12 -
argument_parser.py
in experiments/codes/utils
8 1
__init__.py
in graphlog
2 -
__init__.py
in experiments/codes/app
1 -
__init__.py
in experiments/codes/logbook
1 -
__init__.py
in experiments/codes
1 -
__init__.py
in experiments/codes/utils
1 -
__init__.py
in experiments/codes/model
1 -
__init__.py
in experiments/codes/experiment
1 -
__init__.py
in experiments/codes/testtube
1 -
Files With Most Units (Top 20)
File# lines# units
util.py
in experiments/codes/utils
189 37
models.py
in experiments/codes/model
218 28
checkpointable_multitask_experiment.py
in experiments/codes/experiment
810 27
base_model.py
in experiments/codes/model
331 25
graphlog.py
in graphlog
230 25
layers.py
in experiments/codes/model/gat
322 22
data.py
in experiments/codes/utils
324 18
utils.py
in graphlog
163 17
dataset.py
in graphlog
256 15
inference.py
in experiments/codes/experiment
310 13
filesystem_logger.py
in experiments/codes/logbook
67 12
config.py
in experiments/codes/utils
118 10
inspect_utils.py
in experiments/codes/utils
112 10
checkpointable_testtube.py
in experiments/codes/testtube
100 9
logbook.py
in experiments/codes/logbook
52 7
sig_edge_gat.py
in experiments/codes/model/gat
291 6
edge_gat.py
in experiments/codes/model/gat
273 6
layers.py
in experiments/codes/model/gcn
77 6
task_family.py
in experiments/codes/utils
97 5
serializable_config.py
in experiments/codes/utils
19 5
Files With Long Lines (Top 2)

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

File# lines# units# long lines
continual.yaml
in experiments/config/continual
142 - 1
checkpointable_multitask_experiment.py
in experiments/codes/experiment
810 27 1