aws-amplify / aws-sdk-ios
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 806 files with 324,021 lines of code.
    • 56 very long files (240,459 lines of code)
    • 46 long files (33,291 lines of code)
    • 72 medium size files (23,190 lines of codeclsfd_ftr_w_mp_ins)
    • 96 small files (14,016 lines of code)
    • 536 very small files (13,065 lines of code)
74% | 10% | 7% | 4% | 4%
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
m78% | 10% | 6% | 2% | 1%
c100% | 0% | 0% | 0% | 0%
swift31% | 7% | 17% | 28% | 14%
h0% | 12% | 17% | 19% | 50%
py0% | 0% | 0% | 40% | 59%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
AWSEC299% | 0% | 0% | 0% | <1%
AWSIoT80% | 8% | 4% | 3% | 2%
AWSCognitoIdentityProvider80% | 8% | 5% | 4% | 1%
AWSPinpoint79% | 3% | 10% | 3% | 2%
AWSS386% | 0% | 6% | 3% | 4%
AWSConnect99% | 0% | 0% | 0% | <1%
AWSComprehend98% | 0% | 0% | 1% | <1%
AWSTranscribe88% | 10% | 0% | 0% | 1%
AWSDynamoDB88% | 9% | 0% | 1% | <1%
AWSRekognition99% | 0% | 0% | 0% | <1%
AWSS3Tests96% | 0% | 0% | 2% | <1%
AWSLambda94% | 0% | 0% | 3% | 1%
AWSAutoScaling99% | 0% | 0% | 0% | <1%
AWSLocation88% | 0% | 0% | 6% | 5%
AWSSES99% | 0% | 0% | 0% | <1%
AWSKMS99% | 0% | 0% | 0% | <1%
AWSChimeSDKMessaging79% | 17% | 0% | 2% | <1%
AWSCore15% | 32% | 26% | 11% | 13%
AWSKinesis52% | 26% | 13% | 5% | 2%
AWSPolly81% | 0% | 10% | 4% | 2%
AWSElasticLoadBalancing72% | 26% | 0% | 0% | <1%
AWSCognitoAuth87% | 0% | 7% | 3% | <1%
AWSMachineLearning74% | 25% | 0% | 0% | <1%
AWSCloudWatch79% | 20% | 0% | 0% | <1%
AWSChimeSDKIdentity46% | 42% | 9% | 0% | 1%
AWSDynamoDBTests64% | 25% | 0% | 9% | <1%
AWSLogs60% | 38% | 0% | 0% | <1%
AWSIoTTests41% | 44% | 0% | 8% | 5%
AWSTranslate70% | 0% | 26% | 0% | 2%
AWSSNS50% | 48% | 0% | 0% | <1%
AWSPinpointTests0% | 78% | 12% | 7% | 1%
AWSLex0% | 56% | 26% | 4% | 12%
AWSKinesisVideo0% | 81% | 18% | 0% | <1%
AWSSQS0% | 99% | 0% | 0% | <1%
AWSAuthSDK0% | 11% | 22% | 28% | 37%
AWSTextract0% | 68% | 30% | 0% | <1%
AWSKinesisVideoArchivedMedia0% | 63% | 35% | 0% | 1%
AWSCoreTests0% | 31% | 0% | 26% | 42%
AWSTranscribeStreaming0% | 0% | 60% | 8% | 31%
AWSConnectParticipant0% | 0% | 80% | 18% | <1%
AWSIoTFreeRTOSOTATests0% | 0% | 28% | 47% | 24%
AWSSimpleDB0% | 0% | 81% | 16% | 1%
AWSCognitoIdentityProviderTests0% | 0% | 100% | 0% | 0%
AWSLambdaTests0% | 0% | 100% | 0% | 0%
AWSKinesisTests0% | 0% | 45% | 44% | 9%
AWSPollyTests0% | 0% | 100% | 0% | 0%
AWSAPIGateway0% | 0% | 77% | 0% | 22%
AWSAPIGatewayTests0% | 0% | 62% | 32% | 5%
AWSTranscribeTests0% | 0% | 99% | 0% | <1%
AWSSimpleDBTests0% | 0% | 100% | 0% | 0%
AWSKinesisVideoSignaling0% | 0% | 64% | 0% | 35%
AWSSageMakerRuntime0% | 0% | 77% | 0% | 22%
CircleciScripts0% | 0% | 0% | 40% | 59%
AWSEC2Tests0% | 0% | 0% | 100% | 0%
AWSComprehendTests0% | 0% | 0% | 99% | <1%
AWSCognitoIdentityProviderASF0% | 0% | 0% | 80% | 19%
AWSKMSTests0% | 0% | 0% | 100% | 0%
AWSKinesisVideoArchivedMediaTests0% | 0% | 0% | 99% | <1%
AWSTranscribeStreamingTests0% | 0% | 0% | 99% | <1%
AWSLocationTests0% | 0% | 0% | 99% | <1%
AWSRekognitionTests0% | 0% | 0% | 99% | <1%
AWSKinesisVideoTests0% | 0% | 0% | 0% | 100%
AWSSESTests0% | 0% | 0% | 0% | 100%
AWSSNSTests0% | 0% | 0% | 0% | 100%
AWSCloudWatchTests0% | 0% | 0% | 0% | 100%
AWSAutoScalingTests0% | 0% | 0% | 0% | 100%
AWSTestResources0% | 0% | 0% | 0% | 100%
AWSTranslateTests0% | 0% | 0% | 0% | 100%
AWSSQSTests0% | 0% | 0% | 0% | 100%
AWSTextractTests0% | 0% | 0% | 0% | 100%
AWSAllTestsHost0% | 0% | 0% | 0% | 100%
AWSNSSecureCodingTestBase0% | 0% | 0% | 0% | 100%
AWSCoreServiceConfigurationTest0% | 0% | 0% | 0% | 100%
AWSElasticLoadBalancingTests0% | 0% | 0% | 0% | 100%
AWSCoreConfigurationTest0% | 0% | 0% | 0% | 100%
AWSChimeSDKMessagingTests0% | 0% | 0% | 0% | 100%
AWSChimeSDKIdentityTests0% | 0% | 0% | 0% | 100%
AWSKinesisVideoSignalingTests0% | 0% | 0% | 0% | 100%
AWSLexTests0% | 0% | 0% | 0% | 100%
AWSConnectTests0% | 0% | 0% | 0% | 100%
AWSConnectParticipantTests0% | 0% | 0% | 0% | 100%
AWSCognitoAuthTests0% | 0% | 0% | 0% | 100%
AWSSageMakerRuntimeTests0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
AWSEC2Model.m
in AWSEC2
77870 -
AWSIoTModel.m
in AWSIoT
13064 -
AWSEC2Service.m
in AWSEC2
9018 -
AWSPinpointTargetingModel.m
in AWSPinpoint/AWSPinpointTargeting
8554 -
AWSTranscribeModel.m
in AWSTranscribe
8286 -
AWSConnectModel.m
in AWSConnect
8109 -
AWSS3Model.m
in AWSS3
7917 -
AWSComprehendModel.m
in AWSComprehend
6919 -
AWSDynamoDBModel.m
in AWSDynamoDB
5800 -
AWSCognitoIdentityProviderModel.m
in AWSCognitoIdentityProvider
5254 -
AWSIoTService.m
in AWSIoT
4662 -
AWSRekognitionModel.m
in AWSRekognition
4615 -
tommath.c
in AWSCognitoIdentityProvider/Internal/JKBigInteger/LibTomMath
4494 86
AWSLocationModel.m
in AWSLocation
3114 -
AWSLambdaModel.m
in AWSLambda
3070 -
AWSAutoScalingModel.m
in AWSAutoScaling
3048 -
AWSFirehoseModel.m
in AWSKinesis
2979 -
AWSPollyModel.m
in AWSPolly
2959 -
AWSConnectService.m
in AWSConnect
2719 -
AWSKMSModel.m
in AWSKMS
2586 -
AWSPinpointTargetingService.m
in AWSPinpoint/AWSPinpointTargeting
2500 -
AWSS3TransferUtilityTests.swift
in AWSS3Tests
2498 45
AWSSESModel.m
in AWSSES
2492 -
AWSElasticLoadBalancingModel.m
in AWSElasticLoadBalancing
2382 -
AWSChimeSDKMessagingModel.m
in AWSChimeSDKMessaging
2301 -
AWSMachineLearningModel.m
in AWSMachineLearning
2173 -
AWSCognitoIdentityProviderService.m
in AWSCognitoIdentityProvider
2152 -
AWSCloudWatchModel.m
in AWSCloudWatch
2055 -
AWSS3TransferUtility.m
in AWSS3
1986 -
AWSS3Service.m
in AWSS3
1841 -
AWSChimeSDKIdentityResources.m
in AWSChimeSDKIdentity
1760 1
AWSDynamoDBObjectMapperTests.m
in AWSDynamoDBTests
1612 -
AWSSESService.m
in AWSSES
1575 -
AWSLogsModel.m
in AWSLogs
1554 -
AWSCognitoIdentityUser.m
in AWSCognitoIdentityProvider
1492 -
AWSComprehendService.m
in AWSComprehend
1417 -
AWSSRWebSocket.m
in AWSIoT/Internal/SocketRocket
1409 4
AWSLambdaService.m
in AWSLambda
1355 -
AWSAutoScalingService.m
in AWSAutoScaling
1348 -
AWSRekognitionService.m
in AWSRekognition
1324 -
AWSIoTDataManagerTests.swift
in AWSIoTTests
1307 46
AWSTranslateModel.m
in AWSTranslate
1277 -
AWSLocationService.m
in AWSLocation
1200 -
AWSDynamoDBService.m
in AWSDynamoDB
1178 -
AWSCognitoAuthUICKeyChainStore.m
in AWSCognitoAuth/Internal/UICKeyChainStore
1175 -
AWSS3Tests.m
in AWSS3Tests
1174 -
AWSUICKeyChainStore.m
in AWSCore/UICKeyChainStore
1168 -
AWSSerialization.m
in AWSCore/Serialization
1142 -
AWSCognitoAuth.m
in AWSCognitoAuth
1136 -
AWSKMSService.m
in AWSKMS
1134 -
Files With Most Units (Top 20)
File# lines# units
tommath.c
in AWSCognitoIdentityProvider/Internal/JKBigInteger/LibTomMath
4494 86
AWSIoTDataManagerTests.swift
in AWSIoTTests
1307 46
AWSS3TransferUtilityTests.swift
in AWSS3Tests
2498 45
SingleValueDecodingContainer.swift
in AWSIoTFreeRTOSOTATests/Support/SwiftCBOR/Decoder
236 19
SingleValueEncodingContainer.swift
in AWSIoTFreeRTOSOTATests/Support/SwiftCBOR/Encoder
125 19
AWSChimeSDKMessagingModel.h
in AWSChimeSDKMessaging
747 13
AWSAPIGatewayInvokeTest.swift
in AWSAPIGatewayTests
326 11
AWSMobileClientExtensions.swift
in AWSAuthSDK/Sources/AWSMobileClient
931 10
bump_sdk_version.py
in CircleciScripts
163 10
KeyedDecodingContainer.swift
in AWSIoTFreeRTOSOTATests/Support/SwiftCBOR/Decoder
111 9
AWSComprehendTests.swift
in AWSComprehendTests
171 8
UnkeyedDecodingContainer.swift
in AWSIoTFreeRTOSOTATests/Support/SwiftCBOR/Decoder
189 8
AWSUserPoolOperationsHandler.swift
in AWSAuthSDK/Sources/AWSMobileClient
104 8
AWSKinesisVideoModel.h
in AWSKinesisVideo
297 8
CodableCBORDecoder.swift
in AWSIoTFreeRTOSOTATests/Support/SwiftCBOR/Decoder
78 7
KeyedEncodingContainer.swift
in AWSIoTFreeRTOSOTATests/Support/SwiftCBOR/Encoder
69 7
UserDetailsViewController.swift
in AWSAuthSDK/AWSAuthSDKTestApp
138 7
AppDelegate.swift
in AWSAuthSDK/AWSAuthSDKTestApp
23 7
AWSAuthSDKUITestBase.swift
in AWSAuthSDK/AWSAuthSDKTestAppUITests
197 7
AWSDropInUIUserPoolTests.swift
in AWSAuthSDK/AWSAuthSDKTestAppUITests
184 7
Files With Long Lines (Top 20)

There are 356 files with lines longer than 120 characters. In total, there are 9311 long lines.

File# lines# units# long lines
AWSEC2Service.m
in AWSEC2
9018 - 831
AWSPinpointTargetingService.m
in AWSPinpoint/AWSPinpointTargeting
2500 - 340
AWSIoTService.m
in AWSIoT
4662 - 329
AWSCognitoIdentityProviderService.m
in AWSCognitoIdentityProvider
2152 - 293
AWSPinpointTargetingModel.m
in AWSPinpoint/AWSPinpointTargeting
8554 - 280
AWSCognitoIdentityUser.m
in AWSCognitoIdentityProvider
1492 - 269
AWSEC2Model.m
in AWSEC2
77870 - 240
AWSPinpointTargetingService.h
in AWSPinpoint/AWSPinpointTargeting
252 - 225
AWSS3TransferUtility.m
in AWSS3
1986 - 186
AWSComprehendService.m
in AWSComprehend
1417 - 175
AWSConnectService.m
in AWSConnect
2719 - 172
AWSCognitoIdentityProviderModel.m
in AWSCognitoIdentityProvider
5254 - 162
AWSS3PreSignedURLBuilderTests.m
in AWSS3Tests
1067 - 145
AWSRekognitionService.m
in AWSRekognition
1324 - 138
AWSSESService.m
in AWSSES
1575 - 125
AWSChimeSDKMessagingService.m
in AWSChimeSDKMessaging
1059 - 124
AWSFirehoseModel.m
in AWSKinesis
2979 - 121
AWSComprehendService.h
in AWSComprehend
140 - 114
AWSDynamoDBModel.m
in AWSDynamoDB
5800 - 114
AWSElasticLoadBalancingService.m
in AWSElasticLoadBalancing
883 - 106