facebookresearch / vilbert-multi-task
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 45 files with 12,209 lines of code.
    • 1 very long files (1,274 lines of code)
    • 6 long files (3,986 lines of code)
    • 17 medium size files (4,775 lines of codeclsfd_ftr_w_mp_ins)
    • 11 small files (1,757 lines of code)
    • 10 very small files (417 lines of code)
10% | 32% | 39% | 14% | 3%
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
py10% | 33% | 37% | 14% | 3%
yml0% | 0% | 100% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
vilbert36% | 60% | 0% | 3% | <1%
ROOT0% | 55% | 43% | 0% | <1%
vilbert/datasets0% | 14% | 56% | 26% | 1%
evaluation0% | 0% | 100% | 0% | 0%
script0% | 0% | 0% | 53% | 46%
Longest Files (Top 45)
File# lines# units
vilbert.py
in vilbert
1274 84
task_utils.py
in vilbert
749 7
utils.py
in vilbert
723 40
concept_cap_dataset.py
in vilbert/datasets
675 25
basebert.py
in vilbert
657 53
train_concap.py
in root
591 1
train_tasks.py
in root
591 2
retreival_dataset.py
in vilbert/datasets
348 13
eval_coco_retrieval.py
in evaluation
346 2
vilbert_tasks.yml
in root
333 -
eval_vqa.py
in evaluation
320 7
eval_retrieval.py
in root
312 1
vcr_dataset.py
in vilbert/datasets
312 12
eval_concap_retrieval.py
in evaluation
307 2
flickr_grounding_dataset.py
in vilbert/datasets
306 10
eval_tasks.py
in root
277 1
vqa_mc_dataset.py
in vilbert/datasets
269 9
vqa_dataset.py
in vilbert/datasets
261 8
guesswhat_pointing_dataset.py
in vilbert/datasets
246 8
eval_refer_expression.py
in evaluation
242 3
refer_expression_dataset.py
in vilbert/datasets
233 8
visdial_dataset.py
in vilbert/datasets
231 7
visual7w_pointing_dataset.py
in vilbert/datasets
229 8
refer_dense_caption.py
in vilbert/datasets
203 8
gqa_dataset.py
in vilbert/datasets
195 8
extract_features_from_gt.py
in script
194 10
nlvr2_dataset.py
in vilbert/datasets
186 8
visual_entailment_dataset.py
in vilbert/datasets
184 8
visual_genome_dataset.py
in vilbert/datasets
182 8
extract_features.py
in script
181 9
guesswhat_dataset.py
in vilbert/datasets
156 8
optimization.py
in vilbert
132 6
foil_dataset.py
in vilbert/datasets
126 7
_image_features_reader.py
in vilbert/datasets
116 4
vismadlibs_dataset.py
in vilbert/datasets
105 8
__init__.py
in vilbert/datasets
83 -
generate_demo.py
in script
71 1
generate_pool.py
in script
66 1
VCR_Q_AR_evaluation.py
in script
47 -
convert_h5_refcoco.py
in script
41 -
preprocess_sequential_train_segment.py
in script
36 3
convert_to_lmdb.py
in script
36 1
VCR_submission.py
in script
27 -
setup.py
in root
9 -
__init__.py
in vilbert
1 -
Files With Most Units (Top 20)
File# lines# units
vilbert.py
in vilbert
1274 84
basebert.py
in vilbert
657 53
utils.py
in vilbert
723 40
concept_cap_dataset.py
in vilbert/datasets
675 25
retreival_dataset.py
in vilbert/datasets
348 13
vcr_dataset.py
in vilbert/datasets
312 12
extract_features_from_gt.py
in script
194 10
flickr_grounding_dataset.py
in vilbert/datasets
306 10
extract_features.py
in script
181 9
vqa_mc_dataset.py
in vilbert/datasets
269 9
guesswhat_dataset.py
in vilbert/datasets
156 8
visual_genome_dataset.py
in vilbert/datasets
182 8
gqa_dataset.py
in vilbert/datasets
195 8
visual_entailment_dataset.py
in vilbert/datasets
184 8
visual7w_pointing_dataset.py
in vilbert/datasets
229 8
refer_dense_caption.py
in vilbert/datasets
203 8
vismadlibs_dataset.py
in vilbert/datasets
105 8
vqa_dataset.py
in vilbert/datasets
261 8
nlvr2_dataset.py
in vilbert/datasets
186 8
guesswhat_pointing_dataset.py
in vilbert/datasets
246 8
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 23 long lines.

File# lines# units# long lines
vilbert.py
in vilbert
1274 84 8
task_utils.py
in vilbert
749 7 6
train_concap.py
in root
591 1 2
train_tasks.py
in root
591 2 2
concept_cap_dataset.py
in vilbert/datasets
675 25 2
basebert.py
in vilbert
657 53 2
eval_concap_retrieval.py
in evaluation
307 2 1