facebookresearch / DONERF
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 26 files with 4,206 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (554 lines of code)
    • 9 medium size files (2,454 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (662 lines of code)
    • 12 very small files (536 lines of code)
0% | 13% | 58% | 15% | 12%
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% | 14% | 56% | 16% | 12%
cu0% | 0% | 100% | 0% | 0%
cpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 17% | 55% | 16% | 10%
src/util0% | 0% | 58% | 19% | 21%
src/native0% | 0% | 88% | 0% | 11%
Longest Files (Top 26)
File# lines# units
features.py
in src
554 34
evaluate.py
in src
442 13
datasets.py
in src
366 22
models.py
in src
263 18
train_data.py
in src
259 13
cu
disc_depth_multiclass_cuda.cu
in src/native
240 -
train.py
in src
230 4
flip_loss.py
in src/util
229 12
nerf_raymarch_common.py
in src
222 27
IW_SSIM_PyTorch.py
in src/util
203 8
plots.py
in src
195 6
comparison.py
in src
174 21
prepare_dataset.py
in src
151 3
config.py
in src/util
142 1
sampled_sequence.py
in src
97 14
camera.py
in src
79 7
losses.py
in src
77 9
export.py
in src
64 2
feature_encoding.py
in src/util
46 10
saveimage.py
in src/util
36 2
depth_transformations.py
in src/util
35 4
disc_depth_multiclass.cpp
in src/native
32 1
helper.py
in src/util
26 3
test.py
in src
19 1
raygeneration.py
in src/util
16 1
native_extensions.py
in src
9 -
Files With Most Units (Top 20)
File# lines# units
features.py
in src
554 34
nerf_raymarch_common.py
in src
222 27
datasets.py
in src
366 22
comparison.py
in src
174 21
models.py
in src
263 18
sampled_sequence.py
in src
97 14
evaluate.py
in src
442 13
train_data.py
in src
259 13
flip_loss.py
in src/util
229 12
feature_encoding.py
in src/util
46 10
losses.py
in src
77 9
IW_SSIM_PyTorch.py
in src/util
203 8
camera.py
in src
79 7
plots.py
in src
195 6
depth_transformations.py
in src/util
35 4
train.py
in src
230 4
prepare_dataset.py
in src
151 3
helper.py
in src/util
26 3
saveimage.py
in src/util
36 2
export.py
in src
64 2
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 49 long lines.

File# lines# units# long lines
flip_loss.py
in src/util
229 12 11
plots.py
in src
195 6 11
evaluate.py
in src
442 13 6
IW_SSIM_PyTorch.py
in src/util
203 8 5
models.py
in src
263 18 4
nerf_raymarch_common.py
in src
222 27 4
features.py
in src
554 34 3
cu
disc_depth_multiclass_cuda.cu
in src/native
240 - 2
losses.py
in src
77 9 1
train_data.py
in src
259 13 1
sampled_sequence.py
in src
97 14 1