microsoft / mixed-reality-extension-sdk
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 200 files with 15,013 lines of code.
    • 1 very long files (1,534 lines of code)
    • 5 long files (3,569 lines of code)
    • 10 medium size files (2,806 lines of codeclsfd_ftr_w_mp_ins)
    • 19 small files (2,616 lines of code)
    • 165 very small files (4,488 lines of code)
10% | 23% | 18% | 17% | 29%
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
ts10% | 24% | 17% | 17% | 30%
html0% | 0% | 100% | 0% | 0%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
packages/common/src/math30% | 28% | 19% | 13% | 8%
packages/sdk/src/internal0% | 28% | 23% | 8% | 39%
packages/sdk/src/core0% | 62% | 0% | 10% | 27%
packages/sdk/src/actor0% | 33% | 0% | 15% | 51%
packages/sdk/src/asset0% | 0% | 48% | 11% | 40%
packages/sdk/src/animation0% | 0% | 55% | 25% | 18%
design/images0% | 0% | 100% | 0% | 0%
packages/gltf-gen/src0% | 0% | 0% | 50% | 49%
packages/sdk/src/util0% | 0% | 0% | 75% | 24%
packages/sdk/src/user0% | 0% | 0% | 43% | 56%
packages/gltf-gen/src/geometry0% | 0% | 0% | 0% | 100%
packages/altspacevr-extras/src0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
packages/scripts0% | 0% | 0% | 0% | 100%
packages/sdk/src0% | 0% | 0% | 0% | 100%
packages/common/src0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
matrix.ts
in packages/common/src/math
1534 98
rules.ts
in packages/sdk/src/internal/adapters/multipeer
963 -
vector3.ts
in packages/common/src/math
866 97
contextInternal.ts
in packages/sdk/src/core
617 39
quaternion.ts
in packages/common/src/math
568 56
actor.ts
in packages/sdk/src/actor
555 42
vector4.ts
in packages/common/src/math
431 57
session.ts
in packages/sdk/src/internal/adapters/multipeer
372 25
animation.ts
in packages/sdk/src/animation
339 21
vector2.ts
in packages/common/src/math
302 55
color3.ts
in packages/common/src/math
265 36
permission.dialog.html
in design/images
231 -
material.ts
in packages/sdk/src/asset
228 11
clientSync.ts
in packages/sdk/src/internal/adapters/multipeer/protocols
223 15
payloads.ts
in packages/sdk/src/internal/payloads
208 -
assetContainer.ts
in packages/sdk/src/asset
207 26
color4.ts
in packages/common/src/math
195 32
meshprimitive.ts
in packages/gltf-gen/src
185 8
protocol.ts
in packages/sdk/src/internal/protocols
176 17
material.ts
in packages/gltf-gen/src
161 3
animationData.ts
in packages/sdk/src/animation
154 8
math.scalar.ts
in packages/common/src/math
145 20
vertexattributes.ts
in packages/gltf-gen/src
145 19
appearance.ts
in packages/sdk/src/actor
133 15
curve3.ts
in packages/common/src/math
131 9
planarGridLayout.ts
in packages/sdk/src/util
131 12
webHost.ts
in packages/sdk/src/util
131 4
client.ts
in packages/sdk/src/internal/adapters/multipeer
126 9
groupMask.ts
in packages/sdk/src/user
126 17
plane.ts
in packages/common/src/math
122 15
path3.ts
in packages/common/src/math
119 9
rigidbody.ts
in packages/sdk/src/actor/physics
119 10
asset.ts
in packages/sdk/src/asset
108 8
log.ts
in packages/sdk/src/util
105 16
multipeerAdapter.ts
in packages/sdk/src/core
104 5
path2.ts
in packages/common/src/math
100 7
execution.ts
in packages/sdk/src/internal/protocols
96 2
user.ts
in packages/sdk/src/user
90 8
context.ts
in packages/sdk/src/core
87 14
texture.ts
in packages/sdk/src/asset
85 5
collider.ts
in packages/sdk/src/actor/physics
82 7
parseNetworkLogs.ts
in packages/sdk/src/internal/util
82 6
capsule.ts
in packages/gltf-gen/src/geometry
79 1
actorInternal.ts
in packages/sdk/src/actor
79 8
observe.ts
in packages/sdk/src/internal/util
76 4
mesh.ts
in packages/sdk/src/asset
74 4
text.ts
in packages/sdk/src/actor
73 3
size.ts
in packages/common/src/math
72 16
gltffactory.ts
in packages/gltf-gen/src
72 3
node.ts
in packages/gltf-gen/src
69 3
Files With Most Units (Top 20)
File# lines# units
matrix.ts
in packages/common/src/math
1534 98
vector3.ts
in packages/common/src/math
866 97
vector4.ts
in packages/common/src/math
431 57
quaternion.ts
in packages/common/src/math
568 56
vector2.ts
in packages/common/src/math
302 55
actor.ts
in packages/sdk/src/actor
555 42
contextInternal.ts
in packages/sdk/src/core
617 39
color3.ts
in packages/common/src/math
265 36
color4.ts
in packages/common/src/math
195 32
assetContainer.ts
in packages/sdk/src/asset
207 26
session.ts
in packages/sdk/src/internal/adapters/multipeer
372 25
animation.ts
in packages/sdk/src/animation
339 21
math.scalar.ts
in packages/common/src/math
145 20
vertexattributes.ts
in packages/gltf-gen/src
145 19
protocol.ts
in packages/sdk/src/internal/protocols
176 17
groupMask.ts
in packages/sdk/src/user
126 17
size.ts
in packages/common/src/math
72 16
log.ts
in packages/sdk/src/util
105 16
plane.ts
in packages/common/src/math
122 15
appearance.ts
in packages/sdk/src/actor
133 15
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 35 long lines.

File# lines# units# long lines
vector3.ts
in packages/common/src/math
866 97 18
vector4.ts
in packages/common/src/math
431 57 8
vector2.ts
in packages/common/src/math
302 55 4
compress.ps1
in packages/scripts
3 - 2
compress.ps1
in scripts
12 - 2
permission.dialog.html
in design/images
231 - 1