facebookresearch / GloRe
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 29 files with 2,340 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (840 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (780 lines of code)
    • 20 very small files (720 lines of code)
0% | 0% | 35% | 33% | 30%
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% | 0% | 35% | 33% | 30%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
data0% | 0% | 72% | 0% | 27%
train0% | 0% | 50% | 17% | 32%
network0% | 0% | 0% | 80% | 19%
ROOT0% | 0% | 0% | 100% | 0%
dataset/Kinetics/scripts0% | 0% | 0% | 0% | 100%
script0% | 0% | 0% | 0% | 100%
dataset/HMDB51/scripts0% | 0% | 0% | 0% | 100%
dataset0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
model.py
in train
305 11
image_transforms.py
in data
274 36
video_iterator.py
in data
261 12
resnet50_3d_gcn_x5.py
in network
166 8
resnet101_3d_gcn_x5.py
in network
166 8
train_kinetics.py
in root
126 2
initializer.py
in network
108 3
train_model.py
in root
107 1
metric.py
in train
107 15
callback.py
in train
83 9
global_reasoning_unit.py
in network
72 7
iterator_factory.py
in data
70 2
video_sampler.py
in data
66 4
convert_videos.py
in dataset/Kinetics/scripts
64 3
lr_scheduler.py
in train
61 6
custom_optim.py
in train
53 3
convert_videos.py
in dataset/HMDB51/scripts
50 2
generate_testing_list.py
in script
50 2
image_iterator.py
in data
50 5
remove_spaces.py
in dataset/Kinetics/scripts
32 2
symbol_builder.py
in network
25 1
config.py
in dataset
19 1
video_transforms.py
in data
11 2
config.py
in network
9 1
__init__.py
in dataset
1 -
__init__.py
in network
1 -
__init__.py
in script
1 -
__init__.py
in train
1 -
__init__.py
in data
1 -
Files With Most Units (Top 20)
File# lines# units
image_transforms.py
in data
274 36
metric.py
in train
107 15
video_iterator.py
in data
261 12
model.py
in train
305 11
callback.py
in train
83 9
resnet50_3d_gcn_x5.py
in network
166 8
resnet101_3d_gcn_x5.py
in network
166 8
global_reasoning_unit.py
in network
72 7
lr_scheduler.py
in train
61 6
image_iterator.py
in data
50 5
video_sampler.py
in data
66 4
convert_videos.py
in dataset/Kinetics/scripts
64 3
initializer.py
in network
108 3
custom_optim.py
in train
53 3
train_kinetics.py
in root
126 2
remove_spaces.py
in dataset/Kinetics/scripts
32 2
convert_videos.py
in dataset/HMDB51/scripts
50 2
generate_testing_list.py
in script
50 2
iterator_factory.py
in data
70 2
video_transforms.py
in data
11 2
Files With Long Lines (Top 8)

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

File# lines# units# long lines
train_model.py
in root
107 1 4
model.py
in train
305 11 2
video_iterator.py
in data
261 12 2
train_kinetics.py
in root
126 2 1
convert_videos.py
in dataset/Kinetics/scripts
64 3 1
resnet50_3d_gcn_x5.py
in network
166 8 1
resnet101_3d_gcn_x5.py
in network
166 8 1
callback.py
in train
83 9 1