facebookresearch / 3D-Vision-and-Touch
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 18 files with 10,496 lines of code.
    • 2 very long files (8,980 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (250 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (799 lines of code)
    • 10 very small files (467 lines of code)
85% | 0% | 2% | 7% | 4%
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
obj98% | 0% | 0% | 0% | 1%
py0% | 0% | 18% | 60% | 20%
cu0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
data98% | 0% | 0% | 0% | 1%
ROOT0% | 0% | 55% | 44% | 0%
vision_charts0% | 0% | 0% | 74% | 25%
touch_charts0% | 0% | 0% | 66% | 33%
third_party_code0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
obj
vision_sheets.obj
in data
6429 -
obj
sphere.obj
in data
2551 -
utils.py
in root
250 13
data_loaders.py
in root
198 16
models.py
in vision_charts
180 11
recon.py
in vision_charts
163 9
recon.py
in touch_charts
143 8
models.py
in touch_charts
115 11
obj
initial_sheet.obj
in data
95 -
produce_sheets.py
in touch_charts
87 2
submit.py
in vision_charts
75 2
cu
chamfer_distance.cu
in third_party_code
70 -
runner.py
in vision_charts
44 -
runner.py
in touch_charts
28 -
chamfer_distance.cpp
in third_party_code
26 1
chamfer_distance.py
in third_party_code
25 2
submit.py
in touch_charts
16 1
__init__.py
in third_party_code
1 -
Files With Most Units (Top 11)
File# lines# units
data_loaders.py
in root
198 16
utils.py
in root
250 13
models.py
in touch_charts
115 11
models.py
in vision_charts
180 11
recon.py
in vision_charts
163 9
recon.py
in touch_charts
143 8
produce_sheets.py
in touch_charts
87 2
chamfer_distance.py
in third_party_code
25 2
submit.py
in vision_charts
75 2
submit.py
in touch_charts
16 1
chamfer_distance.cpp
in third_party_code
26 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
recon.py
in vision_charts
163 9 10
recon.py
in touch_charts
143 8 4
runner.py
in vision_charts
44 - 4
models.py
in touch_charts
115 11 2
models.py
in vision_charts
180 11 2
produce_sheets.py
in touch_charts
87 2 1
data_loaders.py
in root
198 16 1