deck.gl
File Size

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), 100-200 (small files), 200-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 489 files with 38,562 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (1,835 lines of code)
    • 31 medium size files (8,663 lines of code)
    • 99 small files (14,037 lines of code)
    • 356 very small files (14,027 lines of code)
0% | 4% | 22% | 36% | 36%
Legend:
1001+
501-1000
201-500
101-200
1-100
File Size per Extension
js0% | 4% | 22% | 36% | 36%
Legend:
1001+
501-1000
201-500
101-200
1-100
File Size per Logical Decomposition
primary
modules0% | 7% | 26% | 37% | 29%
examples0% | 0% | 20% | 37% | 41%
showcases0% | 0% | 20% | 40% | 39%
website0% | 0% | 0% | 27% | 72%
ROOT0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
bindings0% | 0% | 0% | 0% | 100%
Legend:
1001+
501-1000
201-500
101-200
1-100
Alternative Visuals
Longest Files (Top 50)
File# lines# units
layer.js
in modules/core/src/lib
656 60
deck.js
in modules/core/src/lib
600 35
gpu-grid-aggregator.js
in modules/aggregation-layers/src/utils/gpu-grid-aggregation
579 26
heatmap-layer.js
in modules/aggregation-layers/src/heatmap-layer
449 20
core-layers.js
in examples/layer-browser/src/examples
388 -
controller.js
in modules/core/src/controllers
377 23
cpu-aggregator.js
in modules/aggregation-layers/src/utils
365 24
app.js
in showcases/graph
349 24
viewport.js
in modules/core/src/viewports
317 21
data-column.js
in modules/core/src/lib/attribute
308 18
deck-picker.js
in modules/core/src/lib
304 9
axes-layer.js
in examples/website/plot/plot-layer
300 9
attribute.js
in modules/core/src/lib/attribute
300 22
particle-layer.js
in showcases/wind/src/layers/particle-layer
297 12
map-controller.js
in modules/core/src/controllers
296 32
solid-polygon-layer.js
in modules/layers/src/solid-polygon-layer
295 11
marching-squares-codes.js
in modules/aggregation-layers/src/contour-layer
286 1
gpu-grid-layer.js
in modules/aggregation-layers/src/gpu-grid-layer
278 9
geojson-layer.js
in modules/layers/src/geojson-layer
272 5
icon-manager.js
in modules/layers/src/icon-layer
258 15
orbit-controller.js
in modules/core/src/controllers
257 28
app.js
in examples/layer-browser/src
252 16
layer-controls.js
in examples/layer-browser/src/components
251 14
tileset-2d.js
in modules/geo-layers/src/tile-layer
249 18
h3-hexagon-layer.js
in modules/geo-layers/src/h3-layers
246 13
tile-3d-layer.js
in modules/geo-layers/src/tile-3d-layer
237 13
data-samples.js
in examples/layer-browser/src
228 10
view-manager.js
in modules/core/src/lib
222 22
layer-manager.js
in modules/core/src/lib
219 19
utils.js
in modules/layers/src/text-layer
218 8
contour-layer.js
in modules/aggregation-layers/src/contour-layer
218 8
attribute-manager.js
in modules/core/src/lib/attribute
212 19
path-layer.js
in modules/layers/src/path-layer
212 9
scenegraph-layer.js
in modules/mesh-layers/src/scenegraph-layer
203 10
layers-pass.js
in modules/core/src/passes
198 11
polygon-layer.js
in modules/layers/src/polygon-layer
197 4
screen-grid-layer.js
in modules/aggregation-layers/src/screen-grid-layer
193 10
terrain-layer.js
in modules/geo-layers/src/terrain-layer
192 7
layers.js
in website/src/doc-demos
191 -
font-atlas-manager.js
in modules/layers/src/text-layer
191 13
first-person-controller.js
in modules/core/src/controllers
190 26
delaunay-interpolation.js
in showcases/wind/src/layers/delaunay-interpolation
188 7
perf-layers.js
in examples/layer-browser/src/examples
188 1
shadow.js
in modules/core/src/shaderlib/shadow
188 7
column-layer.js
in modules/layers/src/column-layer
184 6
props.js
in modules/core/src/lifecycle
183 10
viewport-uniforms.js
in modules/core/src/shaderlib/project
182 4
project.glsl.js
in modules/core/src/shaderlib/project
182 21
icon-layer.js
in modules/layers/src/icon-layer
180 11
simple-mesh-layer.js
in modules/mesh-layers/src/simple-mesh-layer
180 10
Files With Most Units (Top 50)
File# lines# units
layer.js
in modules/core/src/lib
656 60
deck.js
in modules/core/src/lib
600 35
map-controller.js
in modules/core/src/controllers
296 32
orbit-controller.js
in modules/core/src/controllers
257 28
first-person-controller.js
in modules/core/src/controllers
190 26
gpu-grid-aggregator.js
in modules/aggregation-layers/src/utils/gpu-grid-aggregation
579 26
app.js
in showcases/graph
349 24
cpu-aggregator.js
in modules/aggregation-layers/src/utils
365 24
controller.js
in modules/core/src/controllers
377 23
attribute.js
in modules/core/src/lib/attribute
300 22
view-manager.js
in modules/core/src/lib
222 22
viewport.js
in modules/core/src/viewports
317 21
project.glsl.js
in modules/core/src/shaderlib/project
182 21
scale-utils.js
in modules/aggregation-layers/src/utils
157 21
heatmap-layer.js
in modules/aggregation-layers/src/heatmap-layer
449 20
attribute-manager.js
in modules/core/src/lib/attribute
212 19
layer-manager.js
in modules/core/src/lib
219 19
component-state.js
in modules/core/src/lifecycle
178 18
data-column.js
in modules/core/src/lib/attribute
308 18
tileset-2d.js
in modules/geo-layers/src/tile-layer
249 18
prop-types.js
in modules/core/src/lifecycle
130 17
app.js
in examples/layer-browser/src
252 16
icon-manager.js
in modules/layers/src/icon-layer
258 15
layer-controls.js
in examples/layer-browser/src/components
251 14
create-props.js
in modules/core/src/lifecycle
144 13
composite-layer.js
in modules/core/src/lib
158 13
font-atlas-manager.js
in modules/layers/src/text-layer
191 13
h3-hexagon-layer.js
in modules/geo-layers/src/h3-layers
246 13
tile-3d-layer.js
in modules/geo-layers/src/tile-3d-layer
237 13
deckgl.js
in modules/react/src
119 13
control-panel.js
in showcases/ascii/components
131 12
particle-layer.js
in showcases/wind/src/layers/particle-layer
297 12
suncalc.js
in modules/core/src/effects/lighting
75 12
tile-layer.js
in modules/geo-layers/src/tile-layer
174 12
surface-layer.js
in examples/website/plot/plot-layer
177 11
lifecycle-test.js
in modules/test-utils/src
157 11
layers-pass.js
in modules/core/src/passes
198 11
path-tesselator.js
in modules/layers/src/path-layer
125 11
solid-polygon-layer.js
in modules/layers/src/solid-polygon-layer
295 11
icon-layer.js
in modules/layers/src/icon-layer
180 11
json-converter.js
in modules/json/src
101 11
app.js
in showcases/ascii
122 10
app.js
in examples/playground/src
148 10
data-samples.js
in examples/layer-browser/src
228 10
map.js
in examples/layer-browser/src
156 10
test-runner.js
in modules/test-utils/src
111 10
globe-viewport.js
in modules/core/src/viewports
133 10
props.js
in modules/core/src/lifecycle
183 10
resource-manager.js
in modules/core/src/lib/resource
100 10
transition-manager.js
in modules/core/src/controllers
127 10