facebookresearch / Replica-Dataset
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 24 files with 1,877 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (848 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (585 lines of code)
    • 17 very small files (444 lines of code)
0% | 0% | 45% | 31% | 23%
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
cpp0% | 0% | 71% | 19% | 8%
glsl0% | 0% | 0% | 100% | 0%
h0% | 0% | 0% | 46% | 53%
frag0% | 0% | 0% | 0% | 100%
vert0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
geom0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ReplicaSDK/ptex0% | 0% | 100% | 0% | 0%
ReplicaSDK/src0% | 0% | 0% | 70% | 29%
ReplicaSDK/shaders0% | 0% | 0% | 60% | 39%
ReplicaSDK/include0% | 0% | 0% | 46% | 53%
cmake0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
PTexLib.cpp
in ReplicaSDK/ptex
427 15
EGL.cpp
in ReplicaSDK/ptex
219 1
PLYParser.cpp
in ReplicaSDK/ptex
202 1
glsl
atlas.glsl
in ReplicaSDK/shaders
181 -
MirrorRenderer.h
in ReplicaSDK/include
169 10
viewer.cpp
in ReplicaSDK/src
118 1
render.cpp
in ReplicaSDK/src
117 1
MirrorSurface.cpp
in ReplicaSDK/src
98 6
PTexLib.h
in ReplicaSDK/include
65 1
MirrorSurface.h
in ReplicaSDK/include
38 -
MeshData.h
in ReplicaSDK/include
32 -
geom
mesh-ptex.geom
in ReplicaSDK/shaders
27 -
EGL.h
in ReplicaSDK/include
26 -
cmake
FindPTex.cmake
in cmake
23 -
vert
mirror.vert
in ReplicaSDK/shaders
22 -
frag
mirror.frag
in ReplicaSDK/shaders
22 1
GLCheck.h
in ReplicaSDK/include
21 1
frag
mesh-ptex.frag
in ReplicaSDK/shaders
16 1
vert
mesh-depth.vert
in ReplicaSDK/shaders
13 -
Assert.h
in ReplicaSDK/include
10 -
vert
mesh-ptex.vert
in ReplicaSDK/shaders
10 -
cmake
Finddl.cmake
in cmake
9 -
frag
mesh-depth.frag
in ReplicaSDK/shaders
8 1
PLYParser.h
in ReplicaSDK/include
4 -
Files With Most Units (Top 12)
File# lines# units
PTexLib.cpp
in ReplicaSDK/ptex
427 15
MirrorRenderer.h
in ReplicaSDK/include
169 10
MirrorSurface.cpp
in ReplicaSDK/src
98 6
PTexLib.h
in ReplicaSDK/include
65 1
GLCheck.h
in ReplicaSDK/include
21 1
EGL.cpp
in ReplicaSDK/ptex
219 1
PLYParser.cpp
in ReplicaSDK/ptex
202 1
frag
mesh-depth.frag
in ReplicaSDK/shaders
8 1
frag
mirror.frag
in ReplicaSDK/shaders
22 1
frag
mesh-ptex.frag
in ReplicaSDK/shaders
16 1
render.cpp
in ReplicaSDK/src
117 1
viewer.cpp
in ReplicaSDK/src
118 1
Files With Long Lines (Top 1)

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

File# lines# units# long lines
PTexLib.cpp
in ReplicaSDK/ptex
427 15 1