facebookresearch / isc2021
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 19 files with 2,201 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (755 lines of code)
    • 1 medium size files (213 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (751 lines of code)
    • 11 very small files (482 lines of code)
0% | 34% | 9% | 34% | 21%
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
c0% | 74% | 0% | 11% | 14%
py0% | 0% | 18% | 56% | 24%
h0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lear_gist-1.20% | 71% | 0% | 11% | 17%
baselines0% | 0% | 45% | 35% | 19%
isc0% | 0% | 0% | 83% | 16%
scripts0% | 0% | 0% | 48% | 51%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
gist.c
in lear_gist-1.2
755 9
GeM_baseline.py
in baselines
213 7
gist_baseline.py
in baselines
164 7
metrics.py
in isc
125 11
io.py
in isc
121 7
descriptor_matching.py
in isc
118 7
compute_gist_stream.c
in lear_gist-1.2
117 2
compute_metrics.py
in scripts
106 4
compute_gist.c
in lear_gist-1.2
81 2
score_normalization.py
in scripts
75 1
how_find_matches.py
in baselines
72 5
html.py
in isc
69 3
standalone_image.c
in lear_gist-1.2
65 4
convert_track2_format.py
in scripts
38 2
standalone_image.h
in lear_gist-1.2
28 -
setup.py
in root
23 -
how_r50-_2000.yml
in baselines
19 -
gist.h
in lear_gist-1.2
11 -
__init__.py
in isc
1 -
Files With Most Units (Top 14)
File# lines# units
metrics.py
in isc
125 11
gist.c
in lear_gist-1.2
755 9
descriptor_matching.py
in isc
118 7
io.py
in isc
121 7
gist_baseline.py
in baselines
164 7
GeM_baseline.py
in baselines
213 7
how_find_matches.py
in baselines
72 5
compute_metrics.py
in scripts
106 4
standalone_image.c
in lear_gist-1.2
65 4
html.py
in isc
69 3
convert_track2_format.py
in scripts
38 2
compute_gist_stream.c
in lear_gist-1.2
117 2
compute_gist.c
in lear_gist-1.2
81 2
score_normalization.py
in scripts
75 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 7 long lines.

File# lines# units# long lines
gist.c
in lear_gist-1.2
755 9 7