aws-samples / aws-singleplay
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 30 files with 7,227 lines of code.
    • 2 very long files (4,854 lines of code)
    • 1 long files (643 lines of code)
    • 2 medium size files (723 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (212 lines of code)
    • 23 very small files (795 lines of code)
67% | 8% | 10% | 2% | 11%
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
unity100% | 0% | 0% | 0% | 0%
asset0% | 34% | 38% | 0% | 26%
cs0% | 0% | 0% | 41% | 58%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Assets/Scenes100% | 0% | 0% | 0% | 0%
ProjectSettings0% | 34% | 38% | 0% | 26%
Assets/Scripts0% | 0% | 0% | 41% | 58%
Longest Files (Top 30)
File# lines# units
LoginScene.unity
in Assets/Scenes
3192 -
HomeScene.unity
in Assets/Scenes
1662 -
asset
ProjectSettings.asset
in ProjectSettings
643 -
asset
InputManager.asset
in ProjectSettings
487 -
asset
QualitySettings.asset
in ProjectSettings
236 -
GameAuth.cs
in Assets/Scripts
111 4
HttpModule.cs
in Assets/Scripts
101 3
asset
NavMeshAreas.asset
in ProjectSettings
91 -
GameHome.cs
in Assets/Scripts
87 8
GamePlayModel.cs
in Assets/Scripts
85 10
asset
GraphicsSettings.asset
in ProjectSettings
63 -
asset
Physics2DSettings.asset
in ProjectSettings
56 -
GamePlayManager.cs
in Assets/Scripts
49 3
asset
PackageManagerSettings.asset
in ProjectSettings
43 -
asset
TagManager.asset
in ProjectSettings
43 -
GameSystem.cs
in Assets/Scripts
40 5
asset
EditorSettings.asset
in ProjectSettings
36 -
asset
DynamicsManager.asset
in ProjectSettings
36 -
asset
UnityConnectSettings.asset
in ProjectSettings
34 -
ApiModule.cs
in Assets/Scripts
24 3
asset
AudioManager.asset
in ProjectSettings
19 -
LogModule.cs
in Assets/Scripts
15 1
asset
EditorBuildSettings.asset
in ProjectSettings
14 -
asset
VFXManager.asset
in ProjectSettings
12 -
asset
XRSettings.asset
in ProjectSettings
10 -
asset
TimeManager.asset
in ProjectSettings
9 -
asset
VersionControlSettings.asset
in ProjectSettings
8 -
asset
NetworkManager.asset
in ProjectSettings
8 -
asset
PresetManager.asset
in ProjectSettings
7 -
asset
ClusterInputManager.asset
in ProjectSettings
6 -
Files With Most Units (Top 8)
File# lines# units
GamePlayModel.cs
in Assets/Scripts
85 10
GameHome.cs
in Assets/Scripts
87 8
GameSystem.cs
in Assets/Scripts
40 5
GameAuth.cs
in Assets/Scripts
111 4
HttpModule.cs
in Assets/Scripts
101 3
GamePlayManager.cs
in Assets/Scripts
49 3
ApiModule.cs
in Assets/Scripts
24 3
LogModule.cs
in Assets/Scripts
15 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
GameHome.cs
in Assets/Scripts
87 8 4
GameAuth.cs
in Assets/Scripts
111 4 3
GamePlayManager.cs
in Assets/Scripts
49 3 1
GameSystem.cs
in Assets/Scripts
40 5 1
asset
Physics2DSettings.asset
in ProjectSettings
56 - 1
asset
DynamicsManager.asset
in ProjectSettings
36 - 1