fbsamples / glTF-Renderer
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 10 files with 847 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (236 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (385 lines of code)
    • 6 very small files (226 lines of code)
0% | 0% | 27% | 45% | 26%
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
java0% | 0% | 31% | 51% | 16%
gltf0% | 0% | 0% | 0% | 100%
glsl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
java/com/facebook/sample/rendering0% | 0% | 60% | 39% | 0%
java/com/facebook/sample0% | 0% | 0% | 78% | 21%
java/com/facebook/sample/gles0% | 0% | 0% | 53% | 46%
assets0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
SampleGLTFReader.java
in app/src/main/java/com/facebook/sample/rendering
236 8
SampleGLTFRenderer.java
in app/src/main/java/com/facebook/sample/rendering
151 7
SampleGLTFView.java
in app/src/main/java/com/facebook/sample
133 11
EGLRenderTarget.java
in app/src/main/java/com/facebook/sample/gles
101 8
ShaderProgram.java
in app/src/main/java/com/facebook/sample/gles
72 8
gltf
helloworld.gltf
in app/src/main/assets
65 -
SampleGLTFActivity.java
in app/src/main/java/com/facebook/sample
36 2
glsl
gltfobjectfrag.glsl
in app/src/main/assets
20 -
glsl
gltfobjectvert.glsl
in app/src/main/assets
18 -
GLHelpers.java
in app/src/main/java/com/facebook/sample/gles
15 1
Files With Most Units (Top 7)
File# lines# units
SampleGLTFView.java
in app/src/main/java/com/facebook/sample
133 11
ShaderProgram.java
in app/src/main/java/com/facebook/sample/gles
72 8
EGLRenderTarget.java
in app/src/main/java/com/facebook/sample/gles
101 8
SampleGLTFReader.java
in app/src/main/java/com/facebook/sample/rendering
236 8
SampleGLTFRenderer.java
in app/src/main/java/com/facebook/sample/rendering
151 7
SampleGLTFActivity.java
in app/src/main/java/com/facebook/sample
36 2
GLHelpers.java
in app/src/main/java/com/facebook/sample/gles
15 1
Files With Long Lines (Top 1)

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

File# lines# units# long lines
SampleGLTFRenderer.java
in app/src/main/java/com/facebook/sample/rendering
151 7 2