microsoft / MRDL_Unity_PeriodicTable
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,805 files with 635,873 lines of code.
    • 72 very long files (417,964 lines of code)
    • 64 long files (41,756 lines of code)
    • 232 medium size files (72,284 lines of codeclsfd_ftr_w_mp_ins)
    • 412 small files (64,331 lines of code)
    • 1,025 very small files (39,538 lines of code)
65% | 6% | 11% | 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%
prefab71% | 15% | 7% | 3% | 2%
unity97% | 0% | 1% | <1% | 0%
cs13% | 11% | 33% | 19% | 22%
asset38% | 12% | 31% | 9% | 9%
shader17% | 19% | 24% | 26% | 12%
mat0% | 0% | 1% | 90% | 8%
cginc0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Assets/MRTK/SDK74% | 6% | 8% | 7% | 3%
Assets/MRDL_PeriodicTable/Scenes100% | 0% | 0% | 0% | 0%
Assets/MRTK/Tools63% | 10% | 17% | 7% | 1%
Assets/MRDL_PeriodicTable/Prefabs81% | 16% | 0% | 1% | <1%
Assets/MRTK/Providers37% | 4% | 24% | 16% | 16%
Assets/MRDL_PeriodicTable/Animations88% | 0% | 8% | 0% | 3%
Assets/MRTK/Core11% | 9% | 32% | 19% | 27%
Assets/MRTK/Services43% | 14% | 21% | 10% | 8%
ProjectSettings45% | 29% | 9% | 0% | 15%
Assets/MRTK/StandardAssets10% | 0% | 5% | 78% | 4%
Assets/TextMesh Pro/Resources0% | 21% | 16% | 46% | 14%
Assets/MRTK/Extensions0% | 22% | 23% | 20% | 32%
Assets/MRDL_PeriodicTable/Profiles0% | 0% | 48% | 43% | 7%
Assets/MRDL_PeriodicTable/Materials0% | 0% | 0% | 51% | 48%
Assets/MRDL_PeriodicTable/Scripts0% | 0% | 0% | 82% | 17%
Assets/MRDL_PeriodicTable/Meshes0% | 0% | 0% | 0% | 100%
Assets/MRDL_PeriodicTable/MRTKProfiles0% | 0% | 0% | 0% | 100%
Assets/MixedRealityToolkit.Generated/CustomIconSets0% | 0% | 0% | 0% | 100%
MSBuild/Projects0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
MSBuild/Output/obj0% | 0% | 0% | 0% | 100%
Assets/MixedRealityToolkit.Generated0% | 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 -
Main.unity
in Assets/MRDL_PeriodicTable/Scenes
12623 -
SlateUGUI.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Slate
7160 -
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 -
anim
Scroll_L.anim
in Assets/MRTK/SDK/Features/UX/Animations/HandCoach/LeftHand
6551 -
anim
AnimElement.anim
in Assets/MRDL_PeriodicTable/Animations
5988 -
ControllerMappingTool.unity
in Assets/MRTK/Tools/RuntimeTools/Tools/ControllerMappingTool
5844 -
asset
DefaultMixedRealityControllerMappingProfile.asset
in Assets/MRTK/SDK/Profiles
5730 -
asset
DefaultOpenXRControllerMappingProfile.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 -
ElementContainer.prefab
in Assets/MRDL_PeriodicTable/Prefabs
3616 -
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 -
ToggleFeaturesPanel.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Panels
2673 -
AppBar.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/AppBar
2436 -
PressableButtonsTestCanvas.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Slate
2248 -
LayoutStyleButtons.prefab
in Assets/MRDL_PeriodicTable/Prefabs
2177 -
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
1971 -
SceneDescriptionPanelRev.prefab
in Assets/MRTK/SDK/StandardAssets/Prefabs
1915 -
CompressableButtonToggle.prefab
in Assets/MRTK/SDK/Experimental/InteractiveElement/Prefabs
1910 -
CompressableButton.prefab
in Assets/MRTK/SDK/Experimental/InteractiveElement/Prefabs
1793 -
Slate.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Slate
1779 -
PressableButtonHoloLens2Unplated.prefab
in Assets/MRTK/SDK/Features/UX/Interactable/Prefabs
1666 -
StepSlider.prefab
in Assets/MRTK/SDK/Experimental/StepSlider
1604 -
MixedRealityInteractionTool.unity
in Assets/MRTK/Tools/RuntimeTools/Tools/MixedRealityInteractionTool
1576 -
PinchSlider.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Sliders
1573 -
MixedRealityInputSystem.cs
in Assets/MRTK/Services/InputSystem
1525 86
ScrollingObjectCollection.cs
in Assets/MRTK/SDK/Features/UX/Scripts/ScrollingObjectCollection
1484 40
DialogLarge_192x192.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Dialog
1407 -
InputFeatureUsageTool.unity
in Assets/MRTK/Tools/RuntimeTools/Tools/InputFeatureUsageTool
1399 -
NearMenu2x4.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Menus
1341 -
DefaultGazeCursor.prefab
in Assets/MRTK/SDK/Features/UX/Prefabs/Cursors
1240 -
FocusProvider.cs
in Assets/MRTK/Services/InputSystem
1229 52
Interactable.cs
in Assets/MRTK/SDK/Features/UX/Interactable/Scripts
1191 81
GizmoLeft.prefab
in Assets/MRTK/SDK/StandardAssets/Controllers/DebugControllers
1186 -
Files With Most Units (Top 20)
File# lines# units
MixedRealityInputSystem.cs
in Assets/MRTK/Services/InputSystem
1525 86
Interactable.cs
in Assets/MRTK/SDK/Features/UX/Interactable/Scripts
1191 81
MixedRealityToolkit.cs
in Assets/MRTK/Core/Services
1110 54
BoundingBox.cs
in Assets/MRTK/SDK/Features/UX/Scripts/BoundingBox
1990 54
InputAnimation.cs
in Assets/MRTK/Core/Providers/InputAnimation
982 52
FocusProvider.cs
in Assets/MRTK/Services/InputSystem
1229 52
NonNativeKeyboard.cs
in Assets/MRTK/SDK/Experimental/NonNativeKeyboard/Scripts
598 50
HandInteractionPanZoom.cs
in Assets/MRTK/SDK/Features/UX/Scripts/Slate
726 46
ScrollingObjectCollection.cs
in Assets/MRTK/SDK/Features/UX/Scripts/ScrollingObjectCollection
1484 40
BoundsControl.cs
in Assets/MRTK/SDK/Features/UX/Scripts/BoundsControl
1144 39
MixedRealitySceneSystem.cs
in Assets/MRTK/Services/SceneSystem
1021 39
WindowsSceneUnderstandingObserver.cs
in Assets/MRTK/Providers/Experimental/WindowsSceneUnderstanding
1110 36
WindowsMixedRealityDeviceManager.cs
in Assets/MRTK/Providers/WindowsMixedReality/XR2018
788 36
BaseInteractiveElement.cs
in Assets/MRTK/SDK/Experimental/InteractiveElement/InteractiveElement
331 36
InspectorUIUtility.cs
in Assets/MRTK/Core/Inspectors/Utilities
492 34
ObjectManipulator.cs
in Assets/MRTK/SDK/Features/Input/Handlers
746 33
MathUtilities.cs
in Assets/MRTK/Core/Utilities
312 31
BuildDeployWindow.cs
in Assets/MRTK/Tools/BuildWindow
1078 31
ManipulationHandler.cs
in Assets/MRTK/SDK/Features/Input/Handlers/Manipulation
797 30
AwaiterExtensions.cs
in Assets/MRTK/Core/Utilities/Async
284 29
Files With Long Lines (Top 20)

There are 666 files with lines longer than 120 characters. In total, there are 4787 long lines.

File# lines# units# long lines
MixedRealityInputSystem.cs
in Assets/MRTK/Services/InputSystem
1525 86 162
BuildDeployWindow.cs
in Assets/MRTK/Tools/BuildWindow
1078 31 80
MixedRealityStandardShaderGUI.cs
in Assets/MRTK/Core/Inspectors
729 12 79
FocusProvider.cs
in Assets/MRTK/Services/InputSystem
1229 52 70
AssetScriptReferenceRetargeter.cs
in Assets/MRTK/Tools/MSBuild/Scripts
731 22 66
ControllerPopupWindow.cs
in Assets/MRTK/Core/Inspectors
696 9 59
DevicePortal.cs
in Assets/MRTK/Core/Utilities/WindowsDevicePortal
720 26 55
MixedRealitySceneSystem.cs
in Assets/MRTK/Services/SceneSystem
1021 39 52
ScrollingObjectCollection.cs
in Assets/MRTK/SDK/Features/UX/Scripts/ScrollingObjectCollection
1484 40 49
MixedRealityToolkit.cs
in Assets/MRTK/Core/Services
1110 54 46
BoundingBox.cs
in Assets/MRTK/SDK/Features/UX/Scripts/BoundingBox
1990 54 46
MixedRealityToolkitVisualProfiler.cs
in Assets/MRTK/Services/DiagnosticsSystem
688 21 42
shader
MixedRealityStandard.shader
in Assets/MRTK/StandardAssets/Shaders
1076 - 37
InputAnimation.cs
in Assets/MRTK/Core/Providers/InputAnimation
982 52 36
MixedRealityOptimizeWindow.cs
in Assets/MRTK/Tools/OptimizeWindow
542 29 36
UnityProjectInfo.cs
in Assets/MRTK/Tools/MSBuild/Scripts
368 6 34
ControllerMappingLibrary.cs
in Assets/MRTK/Core/Definitions/Devices
139 5 33
IMixedRealityInputSystem.cs
in Assets/MRTK/Core/Interfaces/InputSystem
114 - 33
WindowsMixedRealityDeviceManager.cs
in Assets/MRTK/Providers/WindowsMixedReality/XR2018
788 36 33
InteractableInspector.cs
in Assets/MRTK/SDK/Editor/Inspectors/UX/Interactable
489 20 33