mozilla / gpuweb-cts
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
35% | 18% | 17% | 11% | 17%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
ts36% | 19% | 16% | 11% | 15%
html0% | 0% | 32% | 0% | 67%
js0% | 0% | 67% | 0% | 32%
cpp0% | 0% | 0% | 100% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src36% | 19% | 16% | 11% | 17%
standalone0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 92% | 0% | 7%
tools0% | 0% | 0% | 68% | 31%
Longest Files (Top 50)
File# lines# units
texture_utils.ts
in src/webgpu/shader/execution/expression/call/builtin
4364 104
floating_point.ts
in src/webgpu/util
3966 244
conversion.ts
in src/webgpu/util
1981 173
format_info.ts
in src/webgpu
1914 54
math.ts
in src/webgpu/util
1749 94
limit_utils.ts
in src/webgpu/api/validation/capability_checks/limits
1088 48
memory_model_setup.ts
in src/webgpu/shader/execution/memory_model
989 20
texel_data.ts
in src/webgpu/util/texture
904 65
expression.ts
in src/webgpu/shader/execution/expression
889 33
af_data.ts
in src/webgpu/shader/execution/expression/binary
779 12
canvas_complex.html.ts
in src/webgpu/web_platform/reftests
710 24
capability_info.ts
in src/webgpu
655 18
subgroup_util.ts
in src/webgpu/shader/execution/expression/call/builtin
625 9
texture.ts
in src/webgpu/util
613 10
util.ts
in src/webgpu/web_platform
600 21
bitcast.cache.ts
in src/webgpu/shader/execution/expression/call/builtin
588 99
standalone.ts
in src/common/runtime
566 15
tree.ts
in src/common/internal
499 23
constants.ts
in src/webgpu/util
449 120
index.html
in standalone
430 -
case.ts
in src/webgpu/shader/execution/expression
373 21
compare.ts
in src/webgpu/util
359 15
const_override_validation.ts
in src/webgpu/shader/validation/expression/call/builtin
337 7
gen_wpt_cts_html.ts
in src/common/tools
308 5
util.ts
in src/common/util
306 27
301 3
texture_ok.ts
in src/webgpu/util/texture
301 5
i32_arithmetic.cache.ts
in src/webgpu/shader/execution/expression/binary
298 7
types.ts
in src/webgpu/shader
293 5
device_pool.ts
in src/webgpu/util
293 12
fixture.ts
in src/common/framework
286 16
u32_arithmetic.cache.ts
in src/webgpu/shader/execution/expression/binary
285 7
layout.ts
in src/webgpu/util/texture
282 9
operation_context_helper.ts
in src/webgpu/api/operation/memory_sync
278 9
gen_cache.ts
in src/common/tools
243 5
cmdline.ts
in src/common/runtime
236 1
image_copy.ts
in src/webgpu/api/validation/image_copy
228 8
utils.ts
in src/webgpu/api/validation
226 8
params_builder.ts
in src/common/framework
226 4
base.ts
in src/webgpu/util/texture
215 11
server.ts
in src/common/runtime
215 2
harness.ts
in src/webgpu/shader/execution/flow_control
202 5
check_contents.ts
in src/webgpu/util
186 7
query.ts
in src/common/internal/query
183 13
fwidth.ts
in src/webgpu/shader/execution/expression/call/builtin
179 2
color_space_conversion.ts
in src/webgpu/util
174 11
main.cpp
in tools/af_data_gen
174 9
texel_view.ts
in src/webgpu/util/texture
173 5
harness.ts
in src/webgpu/shader/execution/expression/call/builtin/atomics
169 5
derivatives.ts
in src/webgpu/shader/execution/expression/call/builtin
169 5
Files With Most Units (Top 50)
File# lines# units
floating_point.ts
in src/webgpu/util
3966 244
conversion.ts
in src/webgpu/util
1981 173
constants.ts
in src/webgpu/util
449 120
texture_utils.ts
in src/webgpu/shader/execution/expression/call/builtin
4364 104
bitcast.cache.ts
in src/webgpu/shader/execution/expression/call/builtin
588 99
math.ts
in src/webgpu/util
1749 94
texel_data.ts
in src/webgpu/util/texture
904 65
format_info.ts
in src/webgpu
1914 54
limit_utils.ts
in src/webgpu/api/validation/capability_checks/limits
1088 48
expression.ts
in src/webgpu/shader/execution/expression
889 33
util.ts
in src/common/util
306 27
canvas_complex.html.ts
in src/webgpu/web_platform/reftests
710 24
tree.ts
in src/common/internal
499 23
util.ts
in src/webgpu/web_platform
600 21
case.ts
in src/webgpu/shader/execution/expression
373 21
memory_model_setup.ts
in src/webgpu/shader/execution/memory_model
989 20
capability_info.ts
in src/webgpu
655 18
fixture.ts
in src/common/framework
286 16
binary_stream.ts
in src/webgpu/util
130 15
compare.ts
in src/webgpu/util
359 15
standalone.ts
in src/common/runtime
566 15
query.ts
in src/common/internal/query
183 13
af_data.ts
in src/webgpu/shader/execution/expression/binary
779 12
reinterpret.ts
in src/webgpu/util
58 12
device_pool.ts
in src/webgpu/util
293 12
color_space_conversion.ts
in src/webgpu/util
174 11
base.ts
in src/webgpu/util/texture
215 11
data_cache.ts
in src/common/framework
118 11
texture.ts
in src/webgpu/util
613 10
subgroup_util.ts
in src/webgpu/shader/execution/expression/call/builtin
625 9
util.ts
in src/webgpu/shader/validation/decl
113 9
layout.ts
in src/webgpu/util/texture
282 9
operation_context_helper.ts
in src/webgpu/api/operation/memory_sync
278 9
main.cpp
in tools/af_data_gen
174 9
shader_builtin_utils.ts
in src/webgpu/shader/validation/expression/call/builtin
137 8
image_copy.ts
in src/webgpu/api/validation/image_copy
228 8
utils.ts
in src/webgpu/api/validation
226 8
parseQuery.ts
in src/common/internal/query
149 8
options.ts
in src/common/runtime/helper
127 8
navigator_gpu.ts
in src/common/util
118 8
preprocessor.ts
in src/common/util
107 8
case_cache.ts
in src/webgpu/shader/execution/expression
155 7
i32_arithmetic.cache.ts
in src/webgpu/shader/execution/expression/binary
298 7
u32_arithmetic.cache.ts
in src/webgpu/shader/execution/expression/binary
285 7
const_override_validation.ts
in src/webgpu/shader/validation/expression/call/builtin
337 7
check_contents.ts
in src/webgpu/util
186 7
params_utils.ts
in src/common/internal
97 6
resources.ts
in src/common/framework
66 6
canvas_colorspace.html.ts
in src/webgpu/web_platform/reftests
122 5
harness.ts
in src/webgpu/shader/execution/flow_control
202 5
Files With Long Lines (Top 19)

There are 19 files with lines longer than 120 characters. In total, there are 224 long lines.

File# lines# units# long lines
af_data.ts
in src/webgpu/shader/execution/expression/binary
779 12 149
capability_info.ts
in src/webgpu
655 18 22
format_info.ts
in src/webgpu
1914 54 13
index.html
in standalone
430 - 12
memory_model_setup.ts
in src/webgpu/shader/execution/memory_model
989 20 8
main.cpp
in tools/af_data_gen
174 9 4
texture_utils.ts
in src/webgpu/shader/execution/expression/call/builtin
4364 104 2
limit_utils.ts
in src/webgpu/api/validation/capability_checks/limits
1088 48 2
gen_wpt_cts_html.ts
in src/common/tools
308 5 2
multisample_info.ts
in src/webgpu
65 - 1
canvas_image_rendering-ref.html
in src/webgpu/web_platform/reftests/ref
23 - 1
harness.ts
in src/webgpu/shader/execution/flow_control
202 5 1
expression.ts
in src/webgpu/shader/execution/expression
889 33 1
types.ts
in src/webgpu/shader
293 5 1
math.ts
in src/webgpu/util
1749 94 1
base.ts
in src/webgpu/util/texture
215 11 1
layout.ts
in src/webgpu/util/texture
282 9 1
utils.ts
in src/webgpu/api/validation
226 8 1
tabs-anywhere.js
in tools/eslint-plugin-gpuweb-cts
28 - 1