amazon-research / video-contrastive-learning
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 23 files with 2,407 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (595 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (996 lines of code)
    • 14 very small files (816 lines of code)
0% | 0% | 24% | 41% | 33%
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% | 24% | 41% | 33%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
liblinear0% | 0% | 55% | 44% | 0%
models0% | 0% | 79% | 0% | 20%
dataset0% | 0% | 0% | 97% | 2%
ROOT0% | 0% | 0% | 41% | 58%
utils0% | 0% | 0% | 59% | 40%
tools/data/k4000% | 0% | 0% | 0% | 100%
tools/feature_visualization0% | 0% | 0% | 0% | 100%
tools/weights0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
liblinear.py
in liblinear
367 25
resnet_mlp.py
in models
228 17
util.py
in utils
182 18
dataset_kinetics.py
in dataset
164 11
liblinearutil.py
in liblinear
158 4
train_vclr.py
in root
150 3
commonutil.py
in liblinear
131 5
dataset_downstream.py
in dataset
107 9
eval_retrieve_knn_pred.py
in root
104 1
eval_svm_feature_extract.py
in root
98 3
eval_retrieval_feature_extract.py
in root
97 3
feat_visualization.py
in tools/feature_visualization
92 3
eval_retrieve_store_imgs.py
in root
88 5
eval_svm_feature_perf.py
in root
73 1
extract_frames_parallel.py
in tools/data/k400
65 2
logger.py
in utils
64 4
extract_frames.py
in tools/data/k400
60 1
Contrast.py
in models
59 6
lr_scheduler.py
in utils
58 4
vclr2torchvision.py
in tools/weights
27 -
vclr2mm.py
in tools/weights
27 -
__init__.py
in dataset
4 -
dataset_builder.py
in dataset
4 1
Files With Most Units (Top 20)
File# lines# units
liblinear.py
in liblinear
367 25
util.py
in utils
182 18
resnet_mlp.py
in models
228 17
dataset_kinetics.py
in dataset
164 11
dataset_downstream.py
in dataset
107 9
Contrast.py
in models
59 6
commonutil.py
in liblinear
131 5
eval_retrieve_store_imgs.py
in root
88 5
liblinearutil.py
in liblinear
158 4
lr_scheduler.py
in utils
58 4
logger.py
in utils
64 4
train_vclr.py
in root
150 3
feat_visualization.py
in tools/feature_visualization
92 3
eval_retrieval_feature_extract.py
in root
97 3
eval_svm_feature_extract.py
in root
98 3
extract_frames_parallel.py
in tools/data/k400
65 2
eval_svm_feature_perf.py
in root
73 1
dataset_builder.py
in dataset
4 1
extract_frames.py
in tools/data/k400
60 1
eval_retrieve_knn_pred.py
in root
104 1
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_vclr.py
in root
150 3 3
liblinear.py
in liblinear
367 25 2
lr_scheduler.py
in utils
58 4 2
eval_svm_feature_extract.py
in root
98 3 2
eval_svm_feature_perf.py
in root
73 1 1
commonutil.py
in liblinear
131 5 1
dataset_downstream.py
in dataset
107 9 1
util.py
in utils
182 18 1