facebookresearch / ppuda
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 36 files with 4,133 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (517 lines of code)
    • 7 medium size files (1,739 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (808 lines of code)
    • 22 very small files (1,069 lines of code)
0% | 12% | 42% | 19% | 25%
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% | 12% | 42% | 19% | 25%
cfg0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ppuda/deepnets1m0% | 38% | 53% | 7% | <1%
experiments/sgd/detector0% | 0% | 50% | 32% | 17%
ppuda/ghn0% | 0% | 56% | 0% | 43%
experiments0% | 0% | 46% | 23% | 30%
ppuda0% | 0% | 0% | 100% | 0%
ppuda/utils0% | 0% | 0% | 41% | 58%
ppuda/vision0% | 0% | 0% | 0% | 100%
experiments/sgd0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
graph.py
in ppuda/deepnets1m
517 20
nn.py
in ppuda/ghn
308 10
net.py
in ppuda/deepnets1m
282 12
coco_eval.py
in experiments/sgd/detector
257 15
utils.py
in experiments/sgd/detector
238 28
net_generator.py
in experiments
231 2
loader.py
in ppuda/deepnets1m
216 9
ops.py
in ppuda/deepnets1m
207 22
coco_utils.py
in experiments/sgd/detector
192 11
config.py
in ppuda
147 1
train_detector.py
in experiments/sgd/detector
127 3
utils.py
in ppuda/utils
125 7
train_ghn.py
in experiments
114 1
genotypes.py
in ppuda/deepnets1m
103 3
trainer.py
in ppuda/utils
97 4
train_net.py
in experiments/sgd
94 1
layers.py
in ppuda/ghn
90 3
property_prediction.py
in experiments
89 1
loader.py
in ppuda/vision
89 2
transforms.py
in ppuda/vision
82 6
engine.py
in experiments/sgd/detector
79 3
darts_utils.py
in ppuda/utils
74 8
decoder.py
in ppuda/ghn
65 4
eval_ghn.py
in experiments
61 -
gatedgnn.py
in ppuda/ghn
56 2
penn.py
in experiments/sgd/detector
52 3
cfg
setup.cfg
in root
39 -
transforms.py
in experiments/sgd/detector
38 6
imagenet.py
in ppuda/vision
29 3
mlp.py
in ppuda/ghn
23 2
toml
pyproject.toml
in root
3 -
setup.py
in root
3 -
__init__.py
in ppuda/utils
3 -
__init__.py
in ppuda/ghn
1 -
__init__.py
in ppuda/deepnets1m
1 -
__init__.py
in ppuda/vision
1 -
Files With Most Units (Top 20)
File# lines# units
utils.py
in experiments/sgd/detector
238 28
ops.py
in ppuda/deepnets1m
207 22
graph.py
in ppuda/deepnets1m
517 20
coco_eval.py
in experiments/sgd/detector
257 15
net.py
in ppuda/deepnets1m
282 12
coco_utils.py
in experiments/sgd/detector
192 11
nn.py
in ppuda/ghn
308 10
loader.py
in ppuda/deepnets1m
216 9
darts_utils.py
in ppuda/utils
74 8
utils.py
in ppuda/utils
125 7
transforms.py
in experiments/sgd/detector
38 6
transforms.py
in ppuda/vision
82 6
decoder.py
in ppuda/ghn
65 4
trainer.py
in ppuda/utils
97 4
penn.py
in experiments/sgd/detector
52 3
engine.py
in experiments/sgd/detector
79 3
train_detector.py
in experiments/sgd/detector
127 3
layers.py
in ppuda/ghn
90 3
genotypes.py
in ppuda/deepnets1m
103 3
imagenet.py
in ppuda/vision
29 3
Files With Long Lines (Top 15)

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

File# lines# units# long lines
graph.py
in ppuda/deepnets1m
517 20 11
config.py
in ppuda
147 1 9
property_prediction.py
in experiments
89 1 6
genotypes.py
in ppuda/deepnets1m
103 3 5
net_generator.py
in experiments
231 2 4
ops.py
in ppuda/deepnets1m
207 22 4
loader.py
in ppuda/deepnets1m
216 9 4
eval_ghn.py
in experiments
61 - 2
nn.py
in ppuda/ghn
308 10 2
layers.py
in ppuda/ghn
90 3 2
trainer.py
in ppuda/utils
97 4 2
train_net.py
in experiments/sgd
94 1 1
gatedgnn.py
in ppuda/ghn
56 2 1
utils.py
in ppuda/utils
125 7 1
loader.py
in ppuda/vision
89 2 1