aws-samples / aws-ambit-scenario-designer-ue4
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 134 files with 13,502 lines of code.
    • 1 very long files (1,101 lines of code)
    • 4 long files (3,486 lines of code)
    • 11 medium size files (3,390 lines of codeclsfd_ftr_w_mp_ins)
    • 16 small files (2,079 lines of code)
    • 102 very small files (3,446 lines of code)
8% | 25% | 25% | 15% | 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
cpp9% | 29% | 29% | 15% | 15%
h0% | 0% | 0% | 15% | 84%
cs0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Ambit/Source/Ambit/Utils51% | 0% | 25% | 13% | 9%
Ambit/Source/Ambit/Mode0% | 53% | 5% | 12% | 29%
Ambit/Source/AWSUE4Module/Private0% | 70% | 19% | 0% | 10%
Ambit/Source/Ambit/Actors0% | 0% | 56% | 18% | 24%
Ambit/Source/Ambit0% | 0% | 0% | 66% | 33%
Ambit/Source/Ambit/Vehicle0% | 0% | 0% | 38% | 61%
Ambit/Source/AmbitUtils0% | 0% | 0% | 29% | 70%
Ambit/Source/AWSUE4Module/Public0% | 0% | 0% | 0% | 100%
Ambit/Source/AWSUE4Module0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
AmbitWorldHelpers.spec.cpp
in Ambit/Source/Ambit/Utils
1101 1
AmbitDetailCustomization.cpp
in Ambit/Source/Ambit/Mode
977 33
ConfigImportExport.spec.cpp
in Ambit/Source/Ambit/Mode
917 1
S3UEClient.spec.cpp
in Ambit/Source/AWSUE4Module/Private
861 1
ConfigImportExport.cpp
in Ambit/Source/Ambit/Mode
731 18
SpawnWithHoudini.spec.cpp
in Ambit/Source/Ambit/Actors/Spawners
417 1
SpawnWithHoudini.cpp
in Ambit/Source/Ambit/Actors/Spawners
401 18
SpawnerBaseConfig.spec.cpp
in Ambit/Source/Ambit/Actors/SpawnerConfigs
389 1
SpawnOnPath.spec.cpp
in Ambit/Source/Ambit/Actors/Spawners
317 1
SpawnerBase.cpp
in Ambit/Source/Ambit/Actors/Spawners
301 14
AmbitSpawnerCollisionHelpers.spec.cpp
in Ambit/Source/Ambit/Utils
280 1
SpawnInVolume.spec.cpp
in Ambit/Source/Ambit/Actors/Spawners
278 1
AmbitWorldHelpers.cpp
in Ambit/Source/Ambit/Utils
263 7
BulkScenarioConfiguration.spec.cpp
in Ambit/Source/Ambit/Mode
260 1
SpawnOnSurface.spec.cpp
in Ambit/Source/Ambit/Actors/Spawners
244 1
S3UEClient.cpp
in Ambit/Source/AWSUE4Module/Private
240 8
SpawnVehiclePathConfig.cpp
in Ambit/Source/Ambit/Actors/SpawnerConfigs
164 2
Constant.h
in Ambit/Source/Ambit/Mode
162 -
AmbitSpawnerCollisionHelpers.cpp
in Ambit/Source/Ambit/Utils
157 6
AmbitModule.cpp
in Ambit/Source/Ambit
152 8
AmbitWheeledVehicleAIController.cpp
in Ambit/Source/Ambit/Vehicle
144 6
SpawnVehiclePath.cpp
in Ambit/Source/Ambit/Actors/Spawners
141 7
SpawnOnPathConfig.spec.cpp
in Ambit/Source/Ambit/Actors/SpawnerConfigs
139 1
AmbitFileHelpers.cpp
in Ambit/Source/Ambit/Utils
138 5
SpawnOnPathConfig.cpp
in Ambit/Source/Ambit/Actors/SpawnerConfigs
130 2
TimeOfDayTypes.cpp
in Ambit/Source/Ambit/Mode
120 12
ScenarioDefinition.cpp
in Ambit/Source/Ambit/Mode
115 2
AmbitWidget.cpp
in Ambit/Source/Ambit/Mode
110 9
SpawnerBaseConfig.cpp
in Ambit/Source/Ambit/Actors/SpawnerConfigs
104 2
BulkScenarioConfiguration.cpp
in Ambit/Source/Ambit/Mode
101 4
SpawnWithHoudini.h
in Ambit/Source/Ambit/Actors/Spawners
101 3
JsonHelpers.cpp
in Ambit/Source/AmbitUtils
101 5
WeatherTypes.cpp
in Ambit/Source/Ambit/Mode
97 10
ConfigImportExport.h
in Ambit/Source/Ambit/Mode
93 3
GltfExport.spec.cpp
in Ambit/Source/Ambit/Mode
91 1
SpawnInVolume.cpp
in Ambit/Source/Ambit/Actors/Spawners
90 3
SpawnedObjectConfig.spec.cpp
in Ambit/Source/Ambit/Actors/SpawnedObjectConfigs
88 1
SpawnerDetails.cpp
in Ambit/Source/Ambit/Actors/EditorDetails
83 3
SpawnOnPath.cpp
in Ambit/Source/Ambit/Actors/Spawners
80 3
SpawnInVolume.spec.cpp
in Ambit/Source/Ambit/Actors/SpawnerConfigs
75 1
AmbitMode.cpp
in Ambit/Source/Ambit/Mode
74 6
SpawnerBase.h
in Ambit/Source/Ambit/Actors/Spawners
71 -
UserMetricsSubsystem.cpp
in Ambit/Source/Ambit/Utils
69 4
MathHelpers.spec.cpp
in Ambit/Source/AmbitUtils
68 1
VehicleTraffic.cpp
in Ambit/Source/Ambit/Mode
65 4
AmbitObject.h
in Ambit/Source/Ambit/Mode
65 1
PedestrianTraffic.cpp
in Ambit/Source/Ambit/Mode
65 4
SpawnedVehiclePathConfig.spec.cpp
in Ambit/Source/Ambit/Actors/SpawnedObjectConfigs
61 1
FirehoseUE4Client.cpp
in Ambit/Source/AWSUE4Module/Private
56 1
AmbitWeatherParameters.cpp
in Ambit/Source/Ambit/Mode
56 2
Files With Most Units (Top 20)
File# lines# units
AmbitDetailCustomization.cpp
in Ambit/Source/Ambit/Mode
977 33
ConfigImportExport.cpp
in Ambit/Source/Ambit/Mode
731 18
SpawnWithHoudini.cpp
in Ambit/Source/Ambit/Actors/Spawners
401 18
SpawnerBase.cpp
in Ambit/Source/Ambit/Actors/Spawners
301 14
TimeOfDayTypes.cpp
in Ambit/Source/Ambit/Mode
120 12
WeatherTypes.cpp
in Ambit/Source/Ambit/Mode
97 10
AmbitWidget.cpp
in Ambit/Source/Ambit/Mode
110 9
S3UEClient.cpp
in Ambit/Source/AWSUE4Module/Private
240 8
MockableConfigImportExport.h
in Ambit/Source/Ambit/Mode/TestClasses
46 8
AmbitModule.cpp
in Ambit/Source/Ambit
152 8
AmbitWorldHelpers.cpp
in Ambit/Source/Ambit/Utils
263 7
AWSWrapper.cpp
in Ambit/Source/Ambit/Utils
33 7
SpawnVehiclePath.cpp
in Ambit/Source/Ambit/Actors/Spawners
141 7
AmbitMode.cpp
in Ambit/Source/Ambit/Mode
74 6
ExportPlatforms.cpp
in Ambit/Source/Ambit/Mode
38 6
AmbitSpawnerCollisionHelpers.cpp
in Ambit/Source/Ambit/Utils
157 6
MockableSpawner.h
in Ambit/Source/Ambit/Actors/Spawners/TestClasses
44 6
AmbitWheeledVehicleAIController.cpp
in Ambit/Source/Ambit/Vehicle
144 6
DropdownMenuBase.h
in Ambit/Source/Ambit/Mode
28 5
AmbitFileHelpers.cpp
in Ambit/Source/Ambit/Utils
138 5
Files With Long Lines (Top 11)

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

File# lines# units# long lines
SpawnWithHoudini.spec.cpp
in Ambit/Source/Ambit/Actors/Spawners
417 1 3
S3UEClient.spec.cpp
in Ambit/Source/AWSUE4Module/Private
861 1 2
SpawnInVolume.cpp
in Ambit/Source/Ambit/Actors/Spawners
90 3 2
SpawnerBase.cpp
in Ambit/Source/Ambit/Actors/Spawners
301 14 2
MockableConfigImportExport.h
in Ambit/Source/Ambit/Mode/TestClasses
46 8 1
ConfigImportExport.h
in Ambit/Source/Ambit/Mode
93 3 1
BulkScenarioConfiguration.spec.cpp
in Ambit/Source/Ambit/Mode
260 1 1
AmbitSpawnerCollisionHelpers.cpp
in Ambit/Source/Ambit/Utils
157 6 1
AmbitWorldHelpers.spec.cpp
in Ambit/Source/Ambit/Utils
1101 1 1
SpawnVehiclePath.cpp
in Ambit/Source/Ambit/Actors/Spawners
141 7 1
MathHelpers.spec.cpp
in Ambit/Source/AmbitUtils
68 1 1