facebookresearch / GDT
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 21 files with 5,688 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,856 lines of code)
    • 10 medium size files (2,882 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (812 lines of code)
    • 3 very small files (138 lines of code)
0% | 32% | 50% | 14% | 2%
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% | 33% | 52% | 11% | 2%
yml0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 60% | 33% | 5% | <1%
datasets0% | 0% | 80% | 17% | 2%
src0% | 0% | 51% | 38% | 10%
Longest Files (Top 21)
File# lines# units
eval_video.py
in root
709 11
main_stica.py
in root
603 8
main_gdt.py
in root
544 3
model.py
in root
474 34
AVideoDataset.py
in datasets
350 9
utils.py
in root
308 30
GDTPretrainDataset.py
in datasets
298 9
video_transforms.py
in datasets
292 22
HT100MDataset.py
in datasets
249 12
log_utils.py
in root
238 18
vmz.py
in src
233 21
decoder.py
in datasets
224 6
resnet.py
in src
216 21
sparse_image_warp_pytorch.py
in datasets
197 14
logger.py
in src
190 22
environment.yml
in root
171 -
transformer.py
in src
150 14
audio_utils.py
in datasets
104 2
scheduler.py
in src
90 6
spec_augment_pytorch.py
in datasets
44 3
gdt_helper.py
in root
4 1
Files With Most Units (Top 20)
File# lines# units
model.py
in root
474 34
utils.py
in root
308 30
video_transforms.py
in datasets
292 22
logger.py
in src
190 22
resnet.py
in src
216 21
vmz.py
in src
233 21
log_utils.py
in root
238 18
sparse_image_warp_pytorch.py
in datasets
197 14
transformer.py
in src
150 14
HT100MDataset.py
in datasets
249 12
eval_video.py
in root
709 11
GDTPretrainDataset.py
in datasets
298 9
AVideoDataset.py
in datasets
350 9
main_stica.py
in root
603 8
decoder.py
in datasets
224 6
scheduler.py
in src
90 6
spec_augment_pytorch.py
in datasets
44 3
main_gdt.py
in root
544 3
audio_utils.py
in datasets
104 2
gdt_helper.py
in root
4 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
AVideoDataset.py
in datasets
350 9 7
GDTPretrainDataset.py
in datasets
298 9 3
scheduler.py
in src
90 6 2
spec_augment_pytorch.py
in datasets
44 3 1
HT100MDataset.py
in datasets
249 12 1