facebook / facebook360_dep
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 419 files with 37,272 lines of code.
    • 5 very long files (6,997 lines of code)
    • 7 long files (5,214 lines of code)
    • 37 medium size files (11,931 lines of codeclsfd_ftr_w_mp_ins)
    • 41 small files (5,800 lines of code)
    • 329 very small files (7,330 lines of code)
18% | 13% | 32% | 15% | 19%
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
css86% | 0% | 13% | 0% | <1%
ui100% | 0% | 0% | 0% | 0%
h14% | 0% | 34% | 24% | 26%
cpp9% | 25% | 39% | 19% | 7%
js0% | 22% | 3% | 15% | 58%
py0% | 13% | 61% | 13% | 12%
cmake0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
website/static30% | 15% | 7% | 8% | 38%
scripts/ui38% | 17% | 25% | 12% | 6%
source/isp69% | 0% | 0% | 9% | 20%
source/calibration42% | 0% | 33% | 12% | 11%
source/rig0% | 61% | 17% | 7% | 13%
source/render0% | 18% | 41% | 22% | 17%
source/depth_estimation0% | 29% | 35% | 27% | 6%
scripts/render0% | 0% | 82% | 11% | 5%
source/util0% | 0% | 61% | 24% | 14%
source/gpu0% | 0% | 82% | 0% | 17%
scripts/aws0% | 0% | 84% | 0% | 15%
scripts/util0% | 0% | 73% | 0% | 26%
source/viewer0% | 0% | 61% | 38% | 0%
source/mesh_stream0% | 0% | 48% | 30% | 21%
source/conversion0% | 0% | 0% | 64% | 35%
website/pages0% | 0% | 0% | 72% | 27%
website/core0% | 0% | 0% | 0% | 100%
scripts/applications0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
website0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ui
dep.ui
in scripts/ui
2081 -
doxygen.css
in website/static/source/html
1400 -
doxygen.css
in website/static/scripts/html
1400 -
CameraIsp.h
in source/isp
1068 66
GeometricCalibration.cpp
in source/calibration
1048 46
common.py
in scripts/ui
948 73
RigScene.cpp
in source/render
934 41
Derp.cpp
in source/depth_estimation
778 23
search.js
in website/static/source/html/search
688 36
search.js
in website/static/scripts/html/search
688 36
RigSimulator.cpp
in source/rig
670 20
RigAnalyzer.cpp
in source/rig
508 22
RiftViewer.cpp
in source/viewer
435 10
export.py
in scripts/ui
435 57
GlUtil.h
in source/gpu
430 42
SimpleMeshRenderer.cpp
in source/render
430 15
PyramidLevel.h
in source/depth_estimation
424 13
MeshSimplifier.cpp
in source/render
410 19
CanopyScene.cpp
in source/render
399 20
network.py
in scripts/render
392 31
pipeline.py
in scripts/render
383 14
RawUtil.cpp
in source/util
374 8
worker.py
in scripts/render
368 17
CvUtil.h
in source/util
355 29
create.py
in scripts/aws
349 15
verify_data.py
in scripts/ui
345 24
AlignPointCloud.cpp
in source/rig
331 12
run.py
in scripts/render
328 11
setup.py
in scripts/render
327 20
MeshUtil.h
in source/render
325 14
GlfwUtil.h
in source/gpu
322 10
GeometricConsistency.cpp
in source/render
321 17
GeometricCalibration.h
in source/calibration
319 12
depth_estimation.py
in scripts/ui
317 57
ConvertToBinary.cpp
in source/mesh_stream
310 8
Camera.h
in source/util
296 31
dep_util.py
in scripts/ui
295 53
FeatureMatcher.cpp
in source/calibration
288 10
camera.py
in scripts/util
286 41
DerpUtil.cpp
in source/depth_estimation
271 14
DerpCLI.cpp
in source/depth_estimation
255 8
Camera.cpp
in source/util
247 22
system_util.py
in scripts/util
239 16
util.py
in scripts/aws
232 21
MatchCorners.cpp
in source/calibration
222 11
search.css
in website/static/source/html/search
220 -
search.css
in website/static/scripts/html/search
220 -
GenerateEquirect.cpp
in source/render
219 8
menudata.js
in website/static/source/html
212 -
AsyncFile.h
in source/mesh_stream
192 11
Files With Most Units (Top 50)
File# lines# units
common.py
in scripts/ui
948 73
CameraIsp.h
in source/isp
1068 66
export.py
in scripts/ui
435 57
depth_estimation.py
in scripts/ui
317 57
dep_util.py
in scripts/ui
295 53
GeometricCalibration.cpp
in source/calibration
1048 46
background.py
in scripts/ui
184 44
GlUtil.h
in source/gpu
430 42
RigScene.cpp
in source/render
934 41
camera.py
in scripts/util
286 41
search.js
in website/static/source/html/search
688 36
search.js
in website/static/scripts/html/search
688 36
calibration.py
in scripts/ui
141 33
Camera.h
in source/util
296 31
network.py
in scripts/render
392 31
CvUtil.h
in source/util
355 29
log_reader.py
in scripts/ui
163 25
verify_data.py
in scripts/ui
345 24
Derp.cpp
in source/depth_estimation
778 23
Camera.cpp
in source/util
247 22
RigAnalyzer.cpp
in source/rig
508 22
util.py
in scripts/aws
232 21
CanopyScene.cpp
in source/render
399 20
RigSimulator.cpp
in source/rig
670 20
setup.py
in scripts/render
327 20
MeshSimplifier.cpp
in source/render
410 19
GeometricConsistency.cpp
in source/render
321 17
dep.py
in scripts/ui
190 17
worker.py
in scripts/render
368 17
system_util.py
in scripts/util
239 16
SimpleMeshRenderer.cpp
in source/render
430 15
create.py
in scripts/aws
349 15
MathUtil.h
in source/util
117 14
ReprojectionTable.h
in source/render
174 14
MeshUtil.h
in source/render
325 14
DerpUtil.cpp
in source/depth_estimation
271 14
pipeline.py
in scripts/render
383 14
PyramidLevel.h
in source/depth_estimation
424 13
141 13
logger.py
in scripts/util
35 13
GeometricCalibration.h
in source/calibration
319 12
AlignPointCloud.cpp
in source/rig
331 12
AsyncFile.h
in source/mesh_stream
192 11
MatchCorners.cpp
in source/calibration
222 11
run.py
in scripts/render
328 11
glog_check.py
in scripts/render
45 11
GlfwUtil.h
in source/gpu
322 10
FeatureMatcher.cpp
in source/calibration
288 10
RiftViewer.cpp
in source/viewer
435 10
62 10
Files With Long Lines (Top 50)

There are 184 files with lines longer than 120 characters. In total, there are 2227 long lines.

File# lines# units# long lines
all_3.js
in website/static/source/html/search
147 - 118
all_12.js
in website/static/source/html/search
173 - 111
all_7.js
in website/static/source/html/search
129 - 99
functions_6.js
in website/static/source/html/search
113 - 95
functions_2.js
in website/static/source/html/search
95 - 86
functions_11.js
in website/static/source/html/search
99 - 81
all_12.js
in website/static/scripts/html/search
114 - 77
all_7.js
in website/static/scripts/html/search
80 - 67
functions_7.js
in website/static/scripts/html/search
76 - 64
functions_10.js
in website/static/scripts/html/search
83 - 64
all_3.js
in website/static/scripts/html/search
70 - 44
all_6.js
in website/static/source/html/search
74 - 42
all_11.js
in website/static/scripts/html/search
57 - 40
all_f.js
in website/static/scripts/html/search
43 - 36
functions_f.js
in website/static/source/html/search
38 - 34
all_9.js
in website/static/scripts/html/search
43 - 34
functions_3.js
in website/static/scripts/html/search
39 - 31
all_14.js
in website/static/scripts/html/search
40 - 31
all_b.js
in website/static/scripts/html/search
39 - 31
all_c.js
in website/static/source/html/search
36 - 30
functions_12.js
in website/static/scripts/html/search
35 - 30
all_2.js
in website/static/source/html/search
36 - 27
variables_2.js
in website/static/source/html/search
35 - 27
functions_f.js
in website/static/scripts/html/search
36 - 27
functions_b.js
in website/static/source/html/search
30 - 25
all_1.js
in website/static/source/html/search
41 - 25
variables_8.js
in website/static/scripts/html/search
27 - 24
functions_8.js
in website/static/source/html/search
28 - 21
all_e.js
in website/static/scripts/html/search
25 - 21
all_5.js
in website/static/scripts/html/search
26 - 21
variables_10.js
in website/static/source/html/search
27 - 20
all_16.js
in website/static/source/html/search
37 - 20
all_1.js
in website/static/scripts/html/search
26 - 20
functions_0.js
in website/static/source/html/search
26 - 19
functions_d.js
in website/static/scripts/html/search
22 - 19
functions_5.js
in website/static/source/html/search
24 - 18
functions_e.js
in website/static/scripts/html/search
22 - 18
all_5.js
in website/static/source/html/search
28 - 17
variables_3.js
in website/static/source/html/search
22 - 16
functions_15.js
in website/static/source/html/search
21 - 16
variables_5.js
in website/static/source/html/search
22 - 16
variables_e.js
in website/static/scripts/html/search
19 - 16
variables_a.js
in website/static/scripts/html/search
19 - 15
functions_5.js
in website/static/scripts/html/search
18 - 15
functions_b.js
in website/static/scripts/html/search
18 - 15
variables_f.js
in website/static/source/html/search
19 - 14
variables_13.js
in website/static/source/html/search
18 - 13
functions_4.js
in website/static/scripts/html/search
17 - 13
all_14.js
in website/static/source/html/search
23 - 12
variables_1.js
in website/static/source/html/search
15 - 12
Correlations

File Size vs. Commits (all time): 52 points

scripts/applications/applications_util.py x: 1 commits (all time) y: 29 lines of code scripts/aws/download_meshes.py x: 2 commits (all time) y: 65 lines of code scripts/render/run.py x: 2 commits (all time) y: 328 lines of code scripts/render/setup.py x: 2 commits (all time) y: 327 lines of code scripts/ui/common.py x: 2 commits (all time) y: 948 lines of code scripts/ui/log_reader.py x: 2 commits (all time) y: 163 lines of code source/depth_estimation/Derp.cpp x: 1 commits (all time) y: 778 lines of code source/isp/CameraIsp.h x: 1 commits (all time) y: 1068 lines of code source/isp/MonotonicTable.h x: 1 commits (all time) y: 60 lines of code source/render/RigScene.cpp x: 4 commits (all time) y: 934 lines of code source/calibration/GeometricCalibration.cpp x: 4 commits (all time) y: 1048 lines of code source/util/Camera.cpp x: 1 commits (all time) y: 247 lines of code scripts/aws/create.py x: 1 commits (all time) y: 349 lines of code scripts/render/resize.py x: 1 commits (all time) y: 126 lines of code scripts/ui/background.py x: 1 commits (all time) y: 184 lines of code scripts/ui/color_variance.py x: 1 commits (all time) y: 49 lines of code scripts/ui/dep_util.py x: 1 commits (all time) y: 295 lines of code scripts/ui/depth_estimation.py x: 1 commits (all time) y: 317 lines of code scripts/ui/export.py x: 1 commits (all time) y: 435 lines of code scripts/ui/foreground_mask.py x: 1 commits (all time) y: 64 lines of code scripts/ui/project.py x: 1 commits (all time) y: 40 lines of code scripts/util/camera.py x: 1 commits (all time) y: 286 lines of code scripts/util/ray.py x: 1 commits (all time) y: 13 lines of code scripts/util/rig.py x: 1 commits (all time) y: 69 lines of code source/render/Soundtrack.h x: 1 commits (all time) y: 85 lines of code source/depth_estimation/DerpUtil.h x: 1 commits (all time) y: 98 lines of code source/gpu/GlfwUtil.h x: 5 commits (all time) y: 322 lines of code source/render/MeshUtil.h x: 1 commits (all time) y: 325 lines of code source/render/SimpleMeshRenderer.cpp x: 2 commits (all time) y: 430 lines of code source/rig/RigSimulator.cpp x: 1 commits (all time) y: 670 lines of code source/mesh_stream/AsyncFile.h x: 1 commits (all time) y: 192 lines of code source/render/RigScene.h x: 2 commits (all time) y: 120 lines of code source/util/Camera.h x: 2 commits (all time) y: 296 lines of code source/util/FilesystemUtil.h x: 1 commits (all time) y: 76 lines of code scripts/util/system_util.py x: 2 commits (all time) y: 239 lines of code source/util/RawUtil.cpp x: 1 commits (all time) y: 374 lines of code source/depth_estimation/PyramidLevel.h x: 1 commits (all time) y: 424 lines of code source/depth_estimation/UpsampleDisparity.cpp x: 1 commits (all time) y: 131 lines of code source/render/GenerateEquirect.cpp x: 1 commits (all time) y: 219 lines of code source/rig/RigAnalyzer.cpp x: 1 commits (all time) y: 508 lines of code source/util/ImageUtil.h x: 1 commits (all time) y: 149 lines of code source/util/MathUtil.h x: 1 commits (all time) y: 117 lines of code source/util/SystemUtil.cpp x: 1 commits (all time) y: 109 lines of code source/viewer/GlViewer.cpp x: 1 commits (all time) y: 127 lines of code website/pages/en/index.js x: 3 commits (all time) y: 102 lines of code website/siteConfig.js x: 2 commits (all time) y: 36 lines of code
1068.0
lines of code
  min: 13.0
  average: 274.77
  25th percentile: 76.5
  median: 188.0
  75th percentile: 343.75
  max: 1068.0
0 5.0
commits (all time)
min: 1.0 | average: 1.42 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 5.0

File Size vs. Contributors (all time): 52 points

scripts/applications/applications_util.py x: 1 contributors (all time) y: 29 lines of code scripts/aws/download_meshes.py x: 2 contributors (all time) y: 65 lines of code scripts/render/run.py x: 2 contributors (all time) y: 328 lines of code scripts/render/setup.py x: 2 contributors (all time) y: 327 lines of code scripts/ui/common.py x: 2 contributors (all time) y: 948 lines of code scripts/ui/log_reader.py x: 2 contributors (all time) y: 163 lines of code source/depth_estimation/Derp.cpp x: 1 contributors (all time) y: 778 lines of code source/isp/CameraIsp.h x: 1 contributors (all time) y: 1068 lines of code source/isp/MonotonicTable.h x: 1 contributors (all time) y: 60 lines of code source/render/RigScene.cpp x: 2 contributors (all time) y: 934 lines of code source/calibration/GeometricCalibration.cpp x: 3 contributors (all time) y: 1048 lines of code source/util/Camera.cpp x: 1 contributors (all time) y: 247 lines of code scripts/aws/create.py x: 1 contributors (all time) y: 349 lines of code scripts/render/resize.py x: 1 contributors (all time) y: 126 lines of code scripts/ui/background.py x: 1 contributors (all time) y: 184 lines of code scripts/ui/color_variance.py x: 1 contributors (all time) y: 49 lines of code scripts/ui/dep_util.py x: 1 contributors (all time) y: 295 lines of code scripts/ui/depth_estimation.py x: 1 contributors (all time) y: 317 lines of code scripts/ui/export.py x: 1 contributors (all time) y: 435 lines of code scripts/ui/foreground_mask.py x: 1 contributors (all time) y: 64 lines of code scripts/ui/project.py x: 1 contributors (all time) y: 40 lines of code scripts/util/camera.py x: 1 contributors (all time) y: 286 lines of code scripts/util/ray.py x: 1 contributors (all time) y: 13 lines of code scripts/util/rig.py x: 1 contributors (all time) y: 69 lines of code source/render/Soundtrack.h x: 1 contributors (all time) y: 85 lines of code source/depth_estimation/DerpUtil.h x: 1 contributors (all time) y: 98 lines of code source/gpu/GlfwUtil.h x: 2 contributors (all time) y: 322 lines of code source/render/MeshUtil.h x: 1 contributors (all time) y: 325 lines of code source/render/SimpleMeshRenderer.cpp x: 2 contributors (all time) y: 430 lines of code source/rig/RigSimulator.cpp x: 1 contributors (all time) y: 670 lines of code source/mesh_stream/AsyncFile.h x: 1 contributors (all time) y: 192 lines of code source/render/RigScene.h x: 1 contributors (all time) y: 120 lines of code source/util/Camera.h x: 2 contributors (all time) y: 296 lines of code source/util/FilesystemUtil.h x: 1 contributors (all time) y: 76 lines of code scripts/util/system_util.py x: 1 contributors (all time) y: 239 lines of code source/util/RawUtil.cpp x: 1 contributors (all time) y: 374 lines of code source/depth_estimation/PyramidLevel.h x: 1 contributors (all time) y: 424 lines of code source/depth_estimation/UpsampleDisparity.cpp x: 1 contributors (all time) y: 131 lines of code source/render/GenerateEquirect.cpp x: 1 contributors (all time) y: 219 lines of code source/rig/RigAnalyzer.cpp x: 1 contributors (all time) y: 508 lines of code source/util/ImageUtil.h x: 1 contributors (all time) y: 149 lines of code source/util/MathUtil.h x: 1 contributors (all time) y: 117 lines of code source/util/SystemUtil.cpp x: 1 contributors (all time) y: 109 lines of code source/viewer/GlViewer.cpp x: 1 contributors (all time) y: 127 lines of code website/pages/en/index.js x: 1 contributors (all time) y: 102 lines of code website/siteConfig.js x: 1 contributors (all time) y: 36 lines of code
1068.0
lines of code
  min: 13.0
  average: 274.77
  25th percentile: 76.5
  median: 188.0
  75th percentile: 343.75
  max: 1068.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.21 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

File Size vs. Commits (30 days): 6 points

scripts/applications/applications_util.py x: 1 commits (30d) y: 29 lines of code scripts/aws/download_meshes.py x: 1 commits (30d) y: 65 lines of code scripts/render/run.py x: 1 commits (30d) y: 328 lines of code scripts/ui/common.py x: 1 commits (30d) y: 948 lines of code scripts/ui/log_reader.py x: 1 commits (30d) y: 163 lines of code
948.0
lines of code
  min: 29.0
  average: 310.0
  25th percentile: 56.0
  median: 245.0
  75th percentile: 483.0
  max: 948.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (30 days): 6 points

scripts/applications/applications_util.py x: 1 contributors (30d) y: 29 lines of code scripts/aws/download_meshes.py x: 1 contributors (30d) y: 65 lines of code scripts/render/run.py x: 1 contributors (30d) y: 328 lines of code scripts/ui/common.py x: 1 contributors (30d) y: 948 lines of code scripts/ui/log_reader.py x: 1 contributors (30d) y: 163 lines of code
948.0
lines of code
  min: 29.0
  average: 310.0
  25th percentile: 56.0
  median: 245.0
  75th percentile: 483.0
  max: 948.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 10 points

scripts/applications/applications_util.py x: 1 commits (90d) y: 29 lines of code scripts/aws/download_meshes.py x: 1 commits (90d) y: 65 lines of code scripts/render/run.py x: 1 commits (90d) y: 328 lines of code scripts/render/setup.py x: 1 commits (90d) y: 327 lines of code scripts/ui/common.py x: 1 commits (90d) y: 948 lines of code scripts/ui/log_reader.py x: 1 commits (90d) y: 163 lines of code source/depth_estimation/Derp.cpp x: 1 commits (90d) y: 778 lines of code source/isp/CameraIsp.h x: 1 commits (90d) y: 1068 lines of code source/isp/MonotonicTable.h x: 1 commits (90d) y: 60 lines of code source/render/RigScene.cpp x: 1 commits (90d) y: 934 lines of code
1068.0
lines of code
  min: 29.0
  average: 470.0
  25th percentile: 63.75
  median: 327.5
  75th percentile: 937.5
  max: 1068.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 10 points

scripts/applications/applications_util.py x: 1 contributors (90d) y: 29 lines of code scripts/aws/download_meshes.py x: 1 contributors (90d) y: 65 lines of code scripts/render/run.py x: 1 contributors (90d) y: 328 lines of code scripts/render/setup.py x: 1 contributors (90d) y: 327 lines of code scripts/ui/common.py x: 1 contributors (90d) y: 948 lines of code scripts/ui/log_reader.py x: 1 contributors (90d) y: 163 lines of code source/depth_estimation/Derp.cpp x: 1 contributors (90d) y: 778 lines of code source/isp/CameraIsp.h x: 1 contributors (90d) y: 1068 lines of code source/isp/MonotonicTable.h x: 1 contributors (90d) y: 60 lines of code source/render/RigScene.cpp x: 1 contributors (90d) y: 934 lines of code
1068.0
lines of code
  min: 29.0
  average: 470.0
  25th percentile: 63.75
  median: 327.5
  75th percentile: 937.5
  max: 1068.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0