microsoft / MixedRealityToolkit-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 1,849 files with 615,489 lines of code.
    • 67 very long files (394,969 lines of code)
    • 64 long files (42,229 lines of code)
    • 237 medium size files (75,042 lines of codeclsfd_ftr_w_mp_ins)
    • 404 small files (63,240 lines of code)
    • 1,077 very small files (40,009 lines of code)
64% | 6% | 12% | 10% | 6%
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
anim96% | <1% | 2% | <1% | <1%
prefab69% | 14% | 9% | 3% | 2%
cs13% | 11% | 33% | 19% | 22%
asset40% | 12% | 28% | 8% | 9%
unity95% | 0% | 2% | 1% | 0%
shader26% | 27% | 23% | 13% | 7%
ps10% | 25% | 32% | 19% | 21%
mat0% | 0% | 1% | 95% | 3%
yml0% | 0% | 0% | 25% | 74%
psm10% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
proj0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
cginc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Assets/MRTK64% | 6% | 12% | 10% | 6%
Assets/XR85% | 0% | 0% | 5% | 9%
ProjectSettings0% | 69% | 9% | 0% | 21%
scripts/ci0% | 40% | 39% | 7% | 13%
scripts/packaging0% | 0% | 18% | 45% | 36%
pipelines/templates0% | 0% | 0% | 38% | 61%
pipelines0% | 0% | 0% | 0% | 100%
scripts/tools0% | 0% | 0% | 0% | 100%
NuGet0% | 0% | 0% | 0% | 100%
scripts/lint0% | 0% | 0% | 0% | 100%
pipelines/config0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
NonNativeKeyboard.prefab
in Assets/MRTK/SDK/Experimental/NonNativeKeyboard/Prefabs
34602 -
anim
Move_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
33523 -
anim
Rotate_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
33523 -
anim
Rotate_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
29491 -
anim
Move_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
29023 -
anim
AirTap_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
26417 -
anim
NearSelect_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
25733 -
anim
PalmUp_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
19349 -
anim
Idle_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
14645 -
anim
NearSelect_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
13530 -
SlateUGUI.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Slate
7112 -
anim
PalmUp_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
6677 -
anim
AirTap_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
6659 -
asset
DefaultMixedRealityControllerMappingProfile.asset
in Assets/MRTK/SDK/Profiles
6566 -
anim
Scroll_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
6551 -
ControllerMappingTool.unity
in Assets/MRTK/Tools/RuntimeTools/Tools/ControllerMappingTool
5844 -
asset
OpenXRControllerMappingProfile.asset
in Assets/MRTK/Providers/OpenXR/Profiles
5637 -
anim
Scroll_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
5120 -
anim
HandFlip_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
4940 -
SimulatedArticulatedHandPoses.cs
in Assets/MRTK/Core/Providers/InputSimulation
4876 3
anim
HandFlip_R.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/RightHand
4832 -
SlateUGUIHoloLens2Buttons.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Slate
3606 -
anim
Idle_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
3068 -
InteractiveElementExampleScene.unity
in Assets/MRTK/SDK/Experimental/InteractiveElement/Example
2702 -
ToggleFeaturesPanel.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Panels
2676 -
AppBar.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/AppBar
2436 -
PressableButtonsTestCanvas.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Slate
2248 -
RadialSet.prefab
in Assets/MRTK/SDK/Features/UX/Interactable/Prefabs
2000 -
BoundingBox.cs
in Assets/MRTK/SDK/Features/UX/Scripts/BoundingBox
1990 54
NearMenu4x1.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Menus
1985 -
CompressableButtonToggle.prefab
in Assets/MRTK/SDK/Experimental/InteractiveElement/Prefabs
1910 -
SceneDescriptionPanelRev.prefab
in Assets/MRTK/SDK/StandardAssets/Prefabs
1901 -
asset
Open XR Package Settings.asset
in Assets/XR/Settings
1835 -
CompressableButton.prefab
in Assets/MRTK/SDK/Experimental/InteractiveElement/Prefabs
1793 -
Slate.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Slate
1782 -
PressableButtonHoloLens2Unplated.prefab
in Assets/MRTK/SDK/Features/UX/Interactable/Prefabs
1666 -
MixedRealityInteractionTool.unity
in Assets/MRTK/Tools/RuntimeTools/Tools/MixedRealityInteractionTool
1576 -
PinchSlider.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Sliders
1555 -
MixedRealityInputSystem.cs
in Assets/MRTK/Services/InputSystem
1531 87
ScrollingObjectCollection.cs
in Assets/MRTK/SDK/Features/UX/Scripts/ScrollingObjectCollection
1498 40
DialogLarge_192x192.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Dialog
1407 -
NearMenu2x4.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Menus
1341 -
FocusProvider.cs
in Assets/MRTK/Services/InputSystem
1282 54
DefaultGazeCursor.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Cursors
1240 -
Interactable.cs
in Assets/MRTK/SDK/Features/UX/Interactable/Scripts
1201 81
InputFeatureUsageTool.unity
in Assets/MRTK/Tools/RuntimeTools/Tools/InputFeatureUsageTool
1195 -
GizmoLeft.prefab
in Assets/MRTK/SDK/StandardAssets/Controllers/DebugControllers
1186 -
WindowsSceneUnderstandingObserver.cs
in Assets/MRTK/Providers/Experimental/WindowsSceneUnderstanding
1166 36
HandJointGizmo.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Hands
1166 -
NearMenu4x2.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Menus
1148 -
Files With Most Units (Top 20)
File# lines# units
MixedRealityInputSystem.cs
in Assets/MRTK/Services/InputSystem
1531 87
Interactable.cs
in Assets/MRTK/SDK/Features/UX/Interactable/Scripts
1201 81
MixedRealityToolkit.cs
in Assets/MRTK/Core/Services
1110 54
BoundingBox.cs
in Assets/MRTK/SDK/Features/UX/Scripts/BoundingBox
1990 54
FocusProvider.cs
in Assets/MRTK/Services/InputSystem
1282 54
InputAnimation.cs
in Assets/MRTK/Core/Providers/InputAnimation
982 52
NonNativeKeyboard.cs
in Assets/MRTK/SDK/Experimental/NonNativeKeyboard/Scripts
598 50
HandInteractionPanZoom.cs
in Assets/MRTK/SDK/Features/UX/Scripts/Slate
747 48
ScrollingObjectCollection.cs
in Assets/MRTK/SDK/Features/UX/Scripts/ScrollingObjectCollection
1498 40
BoundsControl.cs
in Assets/MRTK/SDK/Features/UX/Scripts/BoundsControl
1143 39
MixedRealitySceneSystem.cs
in Assets/MRTK/Services/SceneSystem
1021 39
WindowsSceneUnderstandingObserver.cs
in Assets/MRTK/Providers/Experimental/WindowsSceneUnderstanding
1166 36
WindowsMixedRealityDeviceManager.cs
in Assets/MRTK/Providers/WindowsMixedReality/XR2018
782 36
BaseInteractiveElement.cs
in Assets/MRTK/SDK/Experimental/InteractiveElement/IE
331 36
MixedRealityProjectConfiguratorWindow.cs
in Assets/MRTK/Core/Inspectors/Setup
828 34
InspectorUIUtility.cs
in Assets/MRTK/Core/Inspectors/Utilities
495 34
ObjectManipulator.cs
in Assets/MRTK/SDK/Features/Input/Handlers
754 33
MathUtilities.cs
in Assets/MRTK/Core/Utilities
312 31
BuildDeployWindow.cs
in Assets/MRTK/Tools/BuildWindow
1118 31
ManipulationHandler.cs
in Assets/MRTK/SDK/Features/Input/Handlers/Manipulation
797 30
Files With Long Lines (Top 20)

There are 690 files with lines longer than 120 characters. In total, there are 5080 long lines.

File# lines# units# long lines
MixedRealityInputSystem.cs
in Assets/MRTK/Services/InputSystem
1531 87 164
BuildDeployWindow.cs
in Assets/MRTK/Tools/BuildWindow
1118 31 84
MixedRealityStandardShaderGUI.cs
in Assets/MRTK/Core/Inspectors
728 12 79
FocusProvider.cs
in Assets/MRTK/Services/InputSystem
1282 54 74
AssetScriptReferenceRetargeter.cs
in Assets/MRTK/Tools/MSBuild/Scripts
731 22 66
ControllerPopupWindow.cs
in Assets/MRTK/Core/Inspectors
674 9 59
MixedRealityProjectConfiguratorWindow.cs
in Assets/MRTK/Core/Inspectors/Setup
828 34 59
DevicePortal.cs
in Assets/MRTK/Core/Utilities/WindowsDevicePortal
722 26 54
MixedRealitySceneSystem.cs
in Assets/MRTK/Services/SceneSystem
1021 39 52
ScrollingObjectCollection.cs
in Assets/MRTK/SDK/Features/UX/Scripts/ScrollingObjectCollection
1498 40 50
MixedRealityToolkit.cs
in Assets/MRTK/Core/Services
1110 54 47
BoundingBox.cs
in Assets/MRTK/SDK/Features/UX/Scripts/BoundingBox
1990 54 46
MixedRealityToolkitVisualProfiler.cs
in Assets/MRTK/Services/DiagnosticsSystem
721 21 43
MixedRealityToolkitConfigurationProfileInspector.cs
in Assets/MRTK/Core/Inspectors/Profiles
471 6 40
MixedRealityInspectorUtility.cs
in Assets/MRTK/Core/Inspectors/Utilities
426 16 39
shader
MixedRealityStandard.shader
in Assets/MRTK/StandardAssets/Shaders
1094 - 37
MixedRealityOptimizeWindow.cs
in Assets/MRTK/Tools/OptimizeWindow
542 29 37
InputAnimation.cs
in Assets/MRTK/Core/Providers/InputAnimation
982 52 36
SpherePointer.cs
in Assets/MRTK/SDK/Features/UX/Scripts/Pointers
447 14 36
IMixedRealityInputSystem.cs
in Assets/MRTK/Core/Interfaces/InputSystem
115 - 34