aws / amazon-gamelift-plugin-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 292 files with 26,389 lines of code.
    • 3 very long files (4,762 lines of code)
    • 10 long files (6,298 lines of code)
    • 16 medium size files (4,809 lines of codeclsfd_ftr_w_mp_ins)
    • 21 small files (2,943 lines of code)
    • 242 very small files (7,577 lines of code)
18% | 23% | 18% | 11% | 28%
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
unity79% | 20% | 0% | 0% | 0%
prefab42% | 45% | 6% | 3% | 2%
yml0% | 67% | 32% | 0% | 0%
cs0% | 4% | 27% | 19% | 47%
anim0% | 100% | 0% | 0% | 0%
py0% | 0% | 0% | 31% | 68%
mat0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
asset0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Samples~/SampleGame39% | 30% | 9% | 7% | 14%
Editor/Resources0% | 50% | 18% | 8% | 23%
Runtime/Core0% | 18% | 9% | 22% | 50%
Editor/Deployment0% | 0% | 61% | 0% | 38%
Editor/Bootstrap0% | 0% | 73% | 0% | 26%
Editor0% | 0% | 43% | 0% | 56%
Editor/CoreAPI0% | 0% | 34% | 20% | 45%
Editor/PluginSettings0% | 0% | 36% | 0% | 63%
Samples~/CustomScenario0% | 0% | 78% | 0% | 21%
Editor/Credentials0% | 0% | 0% | 39% | 60%
Editor/LocalTest0% | 0% | 0% | 88% | 11%
Runtime0% | 0% | 0% | 78% | 21%
Editor/Controls0% | 0% | 0% | 0% | 100%
Scripts~/windows0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
GameScene.unity
in Samples~/SampleGame/Assets/Scenes
2386 -
SignInScreen.prefab
in Samples~/SampleGame/Assets/Prefabs
1351 -
SignUpScreen.prefab
in Samples~/SampleGame/Assets/Prefabs
1025 -
ConfirmationCodeScreen.prefab
in Samples~/SampleGame/Assets/Prefabs
774 -
cloudformation.yml
in Editor/Resources/CloudFormation/scenario5_flexmatch
707 -
StartGameScreen.prefab
in Samples~/SampleGame/Assets/Prefabs
678 -
cloudformation.yml
in Editor/Resources/CloudFormation/scenario4_spot_fleets
668 -
DeploymentManager.cs
in Runtime/Core/DeploymentManagement
625 11
BootstrapScene.unity
in Samples~/SampleGame/Assets/Scenes
621 -
cloudformation.yml
in Editor/Resources/CloudFormation/scenario3_mrf_queue
597 -
ConfirmationSuccessScreen.prefab
in Samples~/SampleGame/Assets/Prefabs
570 -
anim
Spinner Rotate.anim
in Samples~/SampleGame/Assets/Animations
548 -
QuitCanvasStatic.prefab
in Samples~/SampleGame/Assets/Prefabs
510 -
cloudformation.yml
in Editor/Resources/CloudFormation/scenario2_single_fleet
418 -
CoreApi.cs
in Editor/CoreAPI
414 42
DeploymentSettings.cs
in Editor/Deployment
392 17
InputField.prefab
in Samples~/SampleGame/Assets/Prefabs
369 -
DeploymentWindow.cs
in Editor/Deployment
352 23
BucketStore.cs
in Runtime/Core/BucketManagement
329 2
GameLogic.cs
in Samples~/SampleGame/Assets/Scripts
310 23
cloudformation.yml
in Editor/Resources/CloudFormation/scenario1_auth_only
293 -
BootstrapWindow.cs
in Editor/Bootstrap
293 19
BootstrapSettings.cs
in Editor/Bootstrap
266 15
SettingsWindow.cs
in Editor/PluginSettings
260 10
cloudformation.yml
in Samples~/CustomScenario
247 -
NetworkServer.cs
in Samples~/SampleGame/Assets/Scripts/Server
230 18
TextProvider.cs
in Editor
220 2
GameLiftServer.cs
in Samples~/SampleGame/Assets/Scripts/Server
212 9
ResourceUtility.cs
in Editor
204 16
GameLiftProcess.cs
in Runtime/Core/GameLiftLocalTesting
194 8
SubmitButton.prefab
in Samples~/SampleGame/Assets/Prefabs
193 -
NetworkClient.cs
in Samples~/SampleGame/Assets/Scripts/Client
177 12
ApiGateway.cs
in Runtime/Core/ApiGatewayManagement
165 4
AwsCredentialsUpdate.cs
in Editor/Credentials
159 5
UserIdentity.cs
in Runtime/Core/UserIdentityManagement
151 4
LocalTestWindow.cs
in Editor/LocalTest
150 7
Strings.cs
in Editor/Credentials
148 -
GameLiftCoreApi.cs
in Runtime
147 8
ClientBootstrap.cs
in Samples~/SampleGame/Assets/Scripts
146 11
GameLift.cs
in Samples~/SampleGame/Assets/Scripts
141 15
SettingsStore.cs
in Runtime/Core/SettingsManagement
138 5
LocalTest.cs
in Editor/LocalTest
127 6
DeployerBase.cs
in Editor/CoreAPI
125 5
DeploymentWaiter.cs
in Editor/CoreAPI
124 7
game_request.py
in Editor/Resources/CloudFormation/scenario4_spot_fleets/lambda
114 3
game_request.py
in Editor/Resources/CloudFormation/scenario3_mrf_queue/lambda
114 3
flexmatch_status_poller.py
in Editor/Resources/CloudFormation/scenario5_flexmatch/lambda
114 3
CredentialsStore.cs
in Runtime/Core/CredentialManagement
111 6
Simulation.cs
in Samples~/SampleGame/Assets/Scripts
103 8
Render.cs
in Samples~/SampleGame/Assets/Scripts
102 10
Files With Most Units (Top 20)
File# lines# units
CoreApi.cs
in Editor/CoreAPI
414 42
DeploymentWindow.cs
in Editor/Deployment
352 23
GameLogic.cs
in Samples~/SampleGame/Assets/Scripts
310 23
BootstrapWindow.cs
in Editor/Bootstrap
293 19
NetworkServer.cs
in Samples~/SampleGame/Assets/Scripts/Server
230 18
DeploymentSettings.cs
in Editor/Deployment
392 17
ResourceUtility.cs
in Editor
204 16
BootstrapSettings.cs
in Editor/Bootstrap
266 15
GameLift.cs
in Samples~/SampleGame/Assets/Scripts
141 15
NetworkClient.cs
in Samples~/SampleGame/Assets/Scripts/Client
177 12
EditorMenu.cs
in Editor
80 11
ClientBootstrap.cs
in Samples~/SampleGame/Assets/Scripts
146 11
DeploymentManager.cs
in Runtime/Core/DeploymentManagement
625 11
SettingsWindow.cs
in Editor/PluginSettings
260 10
Render.cs
in Samples~/SampleGame/Assets/Scripts
102 10
ControlDrawer.cs
in Editor/Controls
85 9
GameLiftServer.cs
in Samples~/SampleGame/Assets/Scripts/Server
212 9
FormScreen.cs
in Samples~/SampleGame/Assets/Scripts/UI
67 9
AmazonCloudFormationWrapper.cs
in Runtime/Core/DeploymentManagement
50 9
ClientServerSwitchMenu.cs
in Samples~/SampleGame/Assets/Editor/Scripts
98 8
Files With Long Lines (Top 20)

There are 74 files with lines longer than 120 characters. In total, there are 224 long lines.

File# lines# units# long lines
TextProvider.cs
in Editor
220 2 18
GameLiftServer.cs
in Samples~/SampleGame/Assets/Scripts/Server
212 9 11
Urls.cs
in Editor
21 - 8
BucketStore.cs
in Runtime/Core/BucketManagement
329 2 8
LocalTest.cs
in Editor/LocalTest
127 6 7
DeployerBase.cs
in Editor/CoreAPI
125 5 7
GameLiftProcess.cs
in Runtime/Core/GameLiftLocalTesting
194 8 7
DeploymentManager.cs
in Runtime/Core/DeploymentManagement
625 11 7
DeploymentWindow.cs
in Editor/Deployment
352 23 6
CoreApi.cs
in Editor/CoreAPI
414 42 6
GameLiftClient.cs
in Samples~/SampleGame/Assets/Scripts/Client
74 4 6
BootstrapSettings.cs
in Editor/Bootstrap
266 15 5
DeploymentSettings.cs
in Editor/Deployment
392 17 5
LocalGameAdapter.cs
in Runtime/Core/ApiGatewayManagement
89 3 5
Deployer.cs
in Editor/Resources/CloudFormation/scenario3_mrf_queue
43 1 4
BootstrapWindow.cs
in Editor/Bootstrap
293 19 4
CredentialsStore.cs
in Runtime/Core/CredentialManagement
111 6 4
SettingsStore.cs
in Runtime/Core/SettingsManagement
138 5 4
AwsCredentialsCreationPanel.cs
in Editor/Credentials
76 4 3
AwsCredentialsUpdatePanel.cs
in Editor/Credentials
77 4 3