awslabs / aws-sdk-swift
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 155 files with 5,199 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (585 lines of code)
    • 151 very small files (4,614 lines of code)
0% | 0% | 0% | 11% | 88%
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
kt0% | 0% | 0% | 14% | 85%
kts0% | 0% | 0% | 53% | 46%
swift0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
codegen/smithy-aws-swift-codegen0% | 0% | 0% | 14% | 85%
codegen/sdk-codegen0% | 0% | 0% | 100% | 0%
AWSClientRuntime/Sources0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
codegen0% | 0% | 0% | 0% | 100%
AWSClientRuntime0% | 0% | 0% | 0% | 100%
buildSrc/src0% | 0% | 0% | 0% | 100%
TestLambdaSdk/Sources0% | 0% | 0% | 0% | 100%
TestLambdaSdk0% | 0% | 0% | 0% | 100%
buildSrc0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
PresignableGetIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/presignable
174 2
build.gradle.kts
in codegen/sdk-codegen
166 3
EndpointResolverGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
136 2
S3ErrorIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/s3
109 2
PresignerGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
100 1
AWSServiceConfig.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
93 2
generatePackageSwift.swift
in scripts
91 6
BoxServices.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization
90 1
Sha256TreeHashMiddleware.swift
in AWSClientRuntime/Sources/Middlewares
85 -
Package.swift
in codegen
84 2
AWSXMLHttpResponseTraitWithoutPayload.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml/httpResponse
80 4
RestXmlProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml
78 3
AWSHttpBindingProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
77 4
Ec2QueryProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query
73 4
AwsQueryProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery
72 4
AWSCredentialsProvider.swift
in AWSClientRuntime/Sources/Auth
71 1
RestXmlStructDecodeXMLGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml
64 2
Package.swift
in root
63 2
AWSEc2QueryHttpResponseTraitWithoutPayload.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query/httpResponse
62 2
SigV4Middleware.swift
in AWSClientRuntime/Sources/Middlewares
62 -
AWSSigningMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware
61 3
InputTypeGETQueryItemMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization
60 2
RetryerMiddleware.swift
in AWSClientRuntime/Sources/Middlewares
59 1
ServiceEndpointMetadata.swift
in AWSClientRuntime/Sources/Endpoints
59 1
AWSCredentialsProviderSTSConfig.swift
in AWSClientRuntime/Sources/Auth
58 1
AWSSigV4Signer.swift
in AWSClientRuntime/Sources/Signing
58 -
PredictEndpointIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/machinelearning
57 3
AWSXMLHttpResponseBindingErrorInitGeneratorFactory.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml/httpResponse
56 3
AWSEc2QueryHttpResponseBindingErrorInitGeneratorFactory.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query/httpResponse
55 3
settings.gradle.kts
in root
55 1
EndpointResolverMiddleware.swift
in AWSClientRuntime/Sources/Middlewares
55 -
AWSSigningConfig.swift
in AWSClientRuntime/Sources/Signing
54 1
AWSCredentialsProviderContainerConfig.swift
in AWSClientRuntime/Sources/Auth
51 1
AWSClientRuntimeTypes.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
50 -
build.gradle.kts
in codegen/smithy-aws-swift-codegen
50 -
AWSUserAgentMetadata.swift
in AWSClientRuntime/Sources/Http
50 -
AWSHttpProtocolCustomizations.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
48 4
StripHostedZoneURLPathMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/route53
48 4
Route53TrimHostedZone.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/route53
44 3
Package.swift
in AWSClientRuntime
43 -
AWSCredentialsProviderProfileOptions.swift
in AWSClientRuntime/Sources/Auth
42 1
HttpContextBuilder+Extension.swift
in AWSClientRuntime/Sources
41 4
AWSCredentialsProviderStaticConfig.swift
in AWSClientRuntime/Sources/Auth
41 1
AwsQueryStructDecodeXMLGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery
40 1
PresignableModelIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization
40 2
Partition.swift
in AWSClientRuntime/Sources/Endpoints
40 3
AWSHttpProtocolClientOperationFactory.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
38 2
AWSXAmzTargetMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware
38 1
RestJSONError.swift
in AWSClientRuntime/Sources/Protocols/RestJSON
38 -
ProfileRegionResolver.swift
in AWSClientRuntime/Sources/Regions
38 1
Files With Most Units (Top 20)
File# lines# units
generatePackageSwift.swift
in scripts
91 6
AWSHttpBindingProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
77 4
AWSHttpProtocolCustomizations.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
48 4
AWSXMLHttpResponseTraitWithoutPayload.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml/httpResponse
80 4
Ec2QueryProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query
73 4
AwsQueryProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery
72 4
StripHostedZoneURLPathMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/route53
48 4
HttpContextBuilder+Extension.swift
in AWSClientRuntime/Sources
41 4
build.gradle.kts
in codegen/sdk-codegen
166 3
AWSXMLHttpResponseBindingErrorInitGeneratorFactory.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml/httpResponse
56 3
RestXmlProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml
78 3
AWSHttpProtocolEc2QueryCustomizations.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query
28 3
AWSEc2QueryHttpResponseBindingErrorInitGeneratorFactory.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query/httpResponse
55 3
AWSSigningMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware
61 3
AWSHttpProtocolAwsQueryCustomizations.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery
28 3
PredictEndpointIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/machinelearning
57 3
Route53TrimHostedZone.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/route53
44 3
Partition.swift
in AWSClientRuntime/Sources/Endpoints
40 3
EndpointResolverGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
136 2
AWSHttpProtocolClientOperationFactory.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
38 2
Files With Long Lines (Top 20)

There are 57 files with lines longer than 120 characters. In total, there are 125 long lines.

File# lines# units# long lines
S3ErrorIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/s3
109 2 9
PresignableGetIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/presignable
174 2 8
PresignerGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
100 1 6
AWSRestXMLHttpResponseBindingErrorGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restxml
35 1 5
Ec2QueryProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query
73 4 5
AWSServiceConfig.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
93 2 5
PredictEndpointIntegration.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/customization/machinelearning
57 3 5
AWSRestJson1HttpResponseBindingErrorGeneratable.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/restjson
31 1 4
AWSHttpProtocolCustomizations.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
48 4 4
AwsQueryProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery
72 4 4
AWSJsonHttpResponseBindingErrorGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsjson
31 1 4
EndpointResolverGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen
136 2 3
AWSEc2QueryHttpResponseBindingErrorGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query/httpResponse
29 1 3
GlacierAccountIdMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware
36 1 3
UserAgentMiddleware.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware
20 1 3
AwsJson1_0_ProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsjson
37 2 3
AwsJson1_1_ProtocolGenerator.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsjson
37 2 3
build.gradle.kts
in codegen/sdk-codegen
166 3 2
AWSHttpProtocolEc2QueryCustomizations.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/ec2query
28 3 2
AWSHttpProtocolAwsQueryCustomizations.kt
in codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/awsquery
28 3 2