microsoft / mixed-reality-extension-unity
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 230 files with 23,157 lines of code.
    • 1 very long files (1,681 lines of code)
    • 8 long files (6,085 lines of code)
    • 17 medium size files (5,158 lines of codeclsfd_ftr_w_mp_ins)
    • 31 small files (4,263 lines of code)
    • 173 very small files (5,970 lines of code)
7% | 26% | 22% | 18% | 25%
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
cs7% | 26% | 22% | 18% | 25%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
MREUnityRuntimeLib/Core30% | 12% | 28% | 10% | 19%
MREUnityRuntimeLib/ProceduralToolkit0% | 50% | 26% | 8% | 14%
MREUnityRuntimeLib/App0% | 92% | 0% | 0% | 7%
MREUnityRuntimeLib/Assets0% | 42% | 19% | 21% | 16%
MREUnityRuntimeLib/Animation0% | 0% | 43% | 40% | 16%
MREUnityRuntimeLib/Patching0% | 0% | 21% | 44% | 34%
MREUnityRuntimeLib/IPC0% | 0% | 91% | 0% | 8%
MREUnityRuntimeLib/Messaging0% | 0% | 0% | 38% | 61%
MREUnityRuntimeLib/Util0% | 0% | 0% | 65% | 34%
MREUnityRuntimeLib/RPC0% | 0% | 0% | 67% | 32%
MREUnityRuntimeLib/Behaviors0% | 0% | 0% | 20% | 79%
MREUnityRuntimeLib/Factories0% | 0% | 0% | 0% | 100%
MREUnityRuntimeLib/PluginInterfaces0% | 0% | 0% | 0% | 100%
MREUnityRuntimeLib/API0% | 0% | 0% | 0% | 100%
tools/PostBuildTool0% | 0% | 0% | 0% | 100%
MREUnityRuntimeLib0% | 0% | 0% | 0% | 100%
MREUnityRuntimeLib/Properties0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Actor.cs
in MREUnityRuntimeLib/Core
1681 69
Closest2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
975 36
MixedRealityExtensionApp.cs
in MREUnityRuntimeLib/App
941 48
Intersect2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
873 57
Distance2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
718 30
JitterBuffer.cs
in MREUnityRuntimeLib/Core/Physics
676 36
MeshDraft.cs
in MREUnityRuntimeLib/ProceduralToolkit
649 51
MeshDraftPrimitives.cs
in MREUnityRuntimeLib/ProceduralToolkit
628 25
AssetLoader.cs
in MREUnityRuntimeLib/Assets
625 10
AnimationComponent.cs
in MREUnityRuntimeLib/Core/Components
482 13
StraightSkeletonGenerator.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry/StraightSkeleton
395 24
PhysicsBridge.cs
in MREUnityRuntimeLib/Core
383 11
PatchingUtils.cs
in MREUnityRuntimeLib/Patching
375 17
Intersect3D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
357 28
Animation.cs
in MREUnityRuntimeLib/Animation
339 7
Closest3D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
332 22
WebSocket.cs
in MREUnityRuntimeLib/IPC/Connections
315 17
AssetManager.cs
in MREUnityRuntimeLib/Assets
283 13
PredictionInterpolation.cs
in MREUnityRuntimeLib/Core/Physics
281 5
Geometry.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
268 31
ArrayE.cs
in MREUnityRuntimeLib/ProceduralToolkit
254 18
CompoundMeshDraft.cs
in MREUnityRuntimeLib/ProceduralToolkit
239 23
AnimationManager.cs
in MREUnityRuntimeLib/Animation
229 12
Collider.cs
in MREUnityRuntimeLib/Core
216 10
ActorManager.cs
in MREUnityRuntimeLib/Core
206 25
Distance3D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
204 16
AssetCache.cs
in MREUnityRuntimeLib/Assets
197 14
RPCHandler.cs
in MREUnityRuntimeLib/RPC
195 18
VectorE.cs
in MREUnityRuntimeLib/ProceduralToolkit
173 32
RigidBody.cs
in MREUnityRuntimeLib/Core
169 13
ScaledTransformPatch.cs
in MREUnityRuntimeLib/Patching/Types
164 7
NetworkCommandPayloads.cs
in MREUnityRuntimeLib/Messaging/Payloads
162 -
MWUnityTypeExtensions.cs
in MREUnityRuntimeLib/Util/Unity
155 14
Interpolations.cs
in MREUnityRuntimeLib/Animation
151 4
ButtonBehaviorContext.cs
in MREUnityRuntimeLib/Behaviors/Contexts
148 9
ColliderGeometry.cs
in MREUnityRuntimeLib/Core
147 9
CommandManager.cs
in MREUnityRuntimeLib/Messaging/Commands
147 6
Text.cs
in MREUnityRuntimeLib/Core
145 3
SoundManager.cs
in MREUnityRuntimeLib/Core
142 6
MWUnityHelpers.cs
in MREUnityRuntimeLib/Util/Unity
141 15
BaseAnimation.cs
in MREUnityRuntimeLib/Animation
136 6
TransformPatch.cs
in MREUnityRuntimeLib/Patching/Types
135 8
NativeAnimation.cs
in MREUnityRuntimeLib/Animation
133 5
Plan.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry/StraightSkeleton
130 12
PhysicsBridgePatch.cs
in MREUnityRuntimeLib/Patching/Types
127 14
Protocol.cs
in MREUnityRuntimeLib/Messaging/Protocols
122 8
ActorPatch.cs
in MREUnityRuntimeLib/Patching/Types
122 8
AssetFetcher.cs
in MREUnityRuntimeLib/Assets
121 1
Vector3Patch.cs
in MREUnityRuntimeLib/Patching/Types
119 9
CubicBezier.cs
in MREUnityRuntimeLib/Util
117 5
Files With Most Units (Top 20)
File# lines# units
Actor.cs
in MREUnityRuntimeLib/Core
1681 69
Intersect2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
873 57
MeshDraft.cs
in MREUnityRuntimeLib/ProceduralToolkit
649 51
MixedRealityExtensionApp.cs
in MREUnityRuntimeLib/App
941 48
JitterBuffer.cs
in MREUnityRuntimeLib/Core/Physics
676 36
Closest2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
975 36
VectorE.cs
in MREUnityRuntimeLib/ProceduralToolkit
173 32
Geometry.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
268 31
Distance2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
718 30
Intersect3D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
357 28
ActorManager.cs
in MREUnityRuntimeLib/Core
206 25
MeshDraftPrimitives.cs
in MREUnityRuntimeLib/ProceduralToolkit
628 25
StraightSkeletonGenerator.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry/StraightSkeleton
395 24
CompoundMeshDraft.cs
in MREUnityRuntimeLib/ProceduralToolkit
239 23
Closest3D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
332 22
ArrayE.cs
in MREUnityRuntimeLib/ProceduralToolkit
254 18
RPCHandler.cs
in MREUnityRuntimeLib/RPC
195 18
WebSocket.cs
in MREUnityRuntimeLib/IPC/Connections
315 17
PatchingUtils.cs
in MREUnityRuntimeLib/Patching
375 17
Distance3D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
204 16
Files With Long Lines (Top 20)

There are 62 files with lines longer than 120 characters. In total, there are 252 long lines.

File# lines# units# long lines
Actor.cs
in MREUnityRuntimeLib/Core
1681 69 17
MeshDraftPrimitives.cs
in MREUnityRuntimeLib/ProceduralToolkit
628 25 15
PredictionInterpolation.cs
in MREUnityRuntimeLib/Core/Physics
281 5 14
MixedRealityExtensionApp.cs
in MREUnityRuntimeLib/App
941 48 12
PhysicsBridge.cs
in MREUnityRuntimeLib/Core
383 11 12
CommandManager.cs
in MREUnityRuntimeLib/Messaging/Commands
147 6 12
AnimationComponent.cs
in MREUnityRuntimeLib/Core/Components
482 13 9
RigidBody.cs
in MREUnityRuntimeLib/Core
169 13 9
Intersect2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
873 57 9
Animation.cs
in MREUnityRuntimeLib/Animation
339 7 8
BehaviorContextFactory.cs
in MREUnityRuntimeLib/Behaviors/Contexts
67 5 8
Collider.cs
in MREUnityRuntimeLib/Core
216 10 8
MeshDraft.cs
in MREUnityRuntimeLib/ProceduralToolkit
649 51 8
AssetLoader.cs
in MREUnityRuntimeLib/Assets
625 10 7
ButtonBehaviorContext.cs
in MREUnityRuntimeLib/Behaviors/Contexts
148 9 7
TransformPatch.cs
in MREUnityRuntimeLib/Patching/Types
135 8 7
Closest2D.cs
in MREUnityRuntimeLib/ProceduralToolkit/Geometry
975 36 7
JitterBuffer.cs
in MREUnityRuntimeLib/Core/Physics
676 36 5
WebSocket.cs
in MREUnityRuntimeLib/IPC/Connections
315 17 5
PatchingUtils.cs
in MREUnityRuntimeLib/Patching
375 17 4