facebookresearch / AVID-CMA
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 52 files with 3,951 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,331 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (742 lines of code)
    • 42 very small files (1,878 lines of code)
0% | 0% | 33% | 18% | 47%
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% | 46% | 25% | 28%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
utils0% | 0% | 79% | 0% | 20%
utils/videotransforms0% | 0% | 63% | 0% | 36%
criterions0% | 0% | 56% | 35% | 7%
datasets0% | 0% | 37% | 25% | 36%
ROOT0% | 0% | 0% | 100% | 0%
configs/benchmark/hmdb510% | 0% | 0% | 0% | 100%
configs/benchmark/ucf0% | 0% | 0% | 0% | 100%
models0% | 0% | 0% | 0% | 100%
configs/main/avid-cma0% | 0% | 0% | 0% | 100%
configs/main/avid0% | 0% | 0% | 0% | 100%
utils/ioutils0% | 0% | 0% | 0% | 100%
configs/benchmark/kinetics0% | 0% | 0% | 0% | 100%
utils/videotransforms/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
eval_utils.py
in utils
302 27
video_transforms.py
in utils/videotransforms
277 30
avid_cma.py
in criterions
273 13
main_utils.py
in utils
259 18
video_db.py
in datasets
220 9
avid.py
in criterions
174 9
preprocessing.py
in datasets
151 8
eval-action-recg-linear.py
in root
144 5
main-avid.py
in root
139 3
eval-action-recg.py
in root
134 3
av_wrappers.py
in utils/ioutils
80 3
InstX-N1024-PosW-N64-Top32.yaml
in configs/main/avid-cma/kinetics
71 -
InstX-N1024-PosW-N64-Top32.yaml
in configs/main/avid-cma/audioset
71 -
audioset.py
in datasets
69 5
8x224x224-linear.yaml
in configs/benchmark/kinetics
63 -
Cross-N1024.yaml
in configs/main/avid/kinetics
62 -
Cross-N1024.yaml
in configs/main/avid/audioset
62 -
32at16-fold1.yaml
in configs/benchmark/hmdb51
61 -
8at16-fold1.yaml
in configs/benchmark/hmdb51
61 -
8at16-fold3.yaml
in configs/benchmark/hmdb51
61 -
8at16-fold2.yaml
in configs/benchmark/hmdb51
61 -
32at16-fold2.yaml
in configs/benchmark/hmdb51
61 -
32at16-fold3.yaml
in configs/benchmark/hmdb51
61 -
32at16-fold1.yaml
in configs/benchmark/ucf
61 -
8at16-fold1.yaml
in configs/benchmark/ucf
61 -
8at16-fold3.yaml
in configs/benchmark/ucf
61 -
8at16-fold2.yaml
in configs/benchmark/ucf
61 -
32at16-fold2.yaml
in configs/benchmark/ucf
61 -
32at16-fold3.yaml
in configs/benchmark/ucf
61 -
logger.py
in utils
60 6
functional.py
in utils/videotransforms
59 3
kinetics.py
in datasets
53 1
av_wrapper.py
in models
53 5
hmdb.py
in datasets
47 1
volume_transforms.py
in utils/videotransforms
45 3
network_blocks.py
in models
42 4
ucf.py
in datasets
40 1
metrics_utils.py
in utils
40 5
alias_method.py
in utils
39 3
video.py
in models
39 2
nce.py
in criterions
35 3
stack_transforms.py
in utils/videotransforms
31 2
audio.py
in models
31 2
tensor_transforms.py
in utils/videotransforms
26 4
distributed_utils.py
in utils
7 1
images.py
in utils/videotransforms/utils
7 1
__init__.py
in datasets
4 -
functional.py
in utils/videotransforms/utils
3 1
__init__.py
in models
3 -
__init__.py
in criterions
2 -
Files With Most Units (Top 20)
File# lines# units
video_transforms.py
in utils/videotransforms
277 30
eval_utils.py
in utils
302 27
main_utils.py
in utils
259 18
avid_cma.py
in criterions
273 13
video_db.py
in datasets
220 9
avid.py
in criterions
174 9
preprocessing.py
in datasets
151 8
logger.py
in utils
60 6
audioset.py
in datasets
69 5
metrics_utils.py
in utils
40 5
av_wrapper.py
in models
53 5
eval-action-recg-linear.py
in root
144 5
tensor_transforms.py
in utils/videotransforms
26 4
network_blocks.py
in models
42 4
eval-action-recg.py
in root
134 3
av_wrappers.py
in utils/ioutils
80 3
alias_method.py
in utils
39 3
volume_transforms.py
in utils/videotransforms
45 3
functional.py
in utils/videotransforms
59 3
main-avid.py
in root
139 3
Files With Long Lines (Top 12)

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

File# lines# units# long lines
eval_utils.py
in utils
302 27 6
network_blocks.py
in models
42 4 5
video_db.py
in datasets
220 9 4
video.py
in models
39 2 3
main-avid.py
in root
139 3 3
eval-action-recg-linear.py
in root
144 5 3
eval-action-recg.py
in root
134 3 2
av_wrappers.py
in utils/ioutils
80 3 1
main_utils.py
in utils
259 18 1
video_transforms.py
in utils/videotransforms
277 30 1
8x224x224-linear.yaml
in configs/benchmark/kinetics
63 - 1
avid_cma.py
in criterions
273 13 1