awslabs / aws-crt-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 110 files with 4,491 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,162 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (710 lines of code)
    • 101 very small files (2,619 lines of code)
0% | 0% | 25% | 15% | 58%
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
swift0% | 0% | 26% | 15% | 57%
h0% | 0% | 0% | 0% | 100%
c0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Source/AwsCommonRuntimeKit/crt0% | 0% | 37% | 12% | 50%
Source/AwsCommonRuntimeKit/mqtt0% | 0% | 69% | 0% | 30%
Source/Elasticurl0% | 0% | 74% | 25% | 0%
Source/AwsCommonRuntimeKit/auth0% | 0% | 24% | 20% | 55%
ROOT0% | 0% | 0% | 97% | 2%
Source/AwsCommonRuntimeKit0% | 0% | 0% | 86% | 13%
Source/AwsCommonRuntimeKit/io0% | 0% | 0% | 0% | 100%
Source/AwsCommonRuntimeKit/http0% | 0% | 0% | 0% | 100%
Source/AwsCommonRuntimeKit/sdkutils0% | 0% | 0% | 0% | 100%
aws-common-runtime/config/aws0% | 0% | 0% | 0% | 100%
Source/LibCrypto0% | 0% | 0% | 0% | 100%
aws-common-runtime/config0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
ByteBuffer.swift
in Source/AwsCommonRuntimeKit/crt
333 1
MqttConnection.swift
in Source/AwsCommonRuntimeKit/mqtt
309 -
main.swift
in Source/Elasticurl
295 -
CRTAWSCredentialsProvider.swift
in Source/AwsCommonRuntimeKit/auth/credentials
225 -
Package.swift
in root
199 -
CRTIMDSClient.swift
in Source/AwsCommonRuntimeKit/auth/imds
190 -
Utilities.swift
in Source/AwsCommonRuntimeKit
110 8
AWSDate.swift
in Source/AwsCommonRuntimeKit/crt
108 5
ElasticurlOptions.swift
in Source/Elasticurl
103 -
Future.swift
in Source/AwsCommonRuntimeKit/crt
97 2
HttpClientConnection.swift
in Source/AwsCommonRuntimeKit/http
95 -
Stream.swift
in Source/AwsCommonRuntimeKit/io
93 2
SigningConfig.swift
in Source/AwsCommonRuntimeKit/auth/signing
89 -
HttpClientConnectionManager.swift
in Source/AwsCommonRuntimeKit/http
87 -
SigV4HttpRequestSigner.swift
in Source/AwsCommonRuntimeKit/auth/signing
80 -
CRTAWSRetryStrategy.swift
in Source/AwsCommonRuntimeKit/io/retryer
80 -
HostResolver.swift
in Source/AwsCommonRuntimeKit/io
78 1
TlsContextOptions.swift
in Source/AwsCommonRuntimeKit/io
73 -
HttpMessage.swift
in Source/AwsCommonRuntimeKit/http
71 6
HttpHeaders.swift
in Source/AwsCommonRuntimeKit/http
64 -
CRTAWSProfileCollection.swift
in Source/AwsCommonRuntimeKit/sdkutils
60 -
Allocator.swift
in Source/AwsCommonRuntimeKit/crt
58 3
CommandLine.swift
in Source/AwsCommonRuntimeKit/crt
49 -
SocketOptions.swift
in Source/AwsCommonRuntimeKit/io
49 -
LogLevel.swift
in Source/AwsCommonRuntimeKit/io
47 -
HttpRequest.swift
in Source/AwsCommonRuntimeKit/http
43 1
AWSString.swift
in Source/AwsCommonRuntimeKit/crt
40 5
CRTCredentials.swift
in Source/AwsCommonRuntimeKit/auth/credentials
39 -
MqttClient.swift
in Source/AwsCommonRuntimeKit/mqtt
39 1
ClientBootstrap.swift
in Source/AwsCommonRuntimeKit/io
39 1
HttpClientConnectionOptions.swift
in Source/AwsCommonRuntimeKit/http
39 -
ByteCursor.swift
in Source/AwsCommonRuntimeKit/crt
38 1
DateMonth.swift
in Source/AwsCommonRuntimeKit/crt
37 -
CRTIMDSInstanceInfo.swift
in Source/AwsCommonRuntimeKit/auth/imds
34 1
TlsConnectionOptions.swift
in Source/AwsCommonRuntimeKit/io
33 1
CRTAWSProfileSourceType.swift
in Source/AwsCommonRuntimeKit/sdkutils
31 -
DayOfWeek.swift
in Source/AwsCommonRuntimeKit/crt
27 -
ShutDownCallbackOptions.swift
in Source/AwsCommonRuntimeKit/crt
26 1
HttpRequestOptions.swift
in Source/AwsCommonRuntimeKit/http
26 -
config.h
in aws-common-runtime/config/aws/common
26 -
MqttReturnCode.swift
in Source/AwsCommonRuntimeKit/mqtt
25 -
TlsContext.swift
in Source/AwsCommonRuntimeKit/io
25 -
HttpStream.swift
in Source/AwsCommonRuntimeKit/http
25 1
Logger.swift
in Source/AwsCommonRuntimeKit/io
24 -
CRTAWSProfileProperty.swift
in Source/AwsCommonRuntimeKit/sdkutils
23 -
CRTAWSProfile.swift
in Source/AwsCommonRuntimeKit/sdkutils
23 -
CRTHttpResponse.swift
in Source/AwsCommonRuntimeKit/http
22 1
DateFormat.swift
in Source/AwsCommonRuntimeKit/crt
21 -
Queue.swift
in Source/AwsCommonRuntimeKit/crt
21 2
SignatureType.swift
in Source/AwsCommonRuntimeKit/auth/signing
21 -
Files With Most Units (Top 20)
File# lines# units
Utilities.swift
in Source/AwsCommonRuntimeKit
110 8
HttpMessage.swift
in Source/AwsCommonRuntimeKit/http
71 6
AWSDate.swift
in Source/AwsCommonRuntimeKit/crt
108 5
AWSString.swift
in Source/AwsCommonRuntimeKit/crt
40 5
Allocator.swift
in Source/AwsCommonRuntimeKit/crt
58 3
Future.swift
in Source/AwsCommonRuntimeKit/crt
97 2
Queue.swift
in Source/AwsCommonRuntimeKit/crt
21 2
Stream.swift
in Source/AwsCommonRuntimeKit/io
93 2
ShutDownCallbackOptions.swift
in Source/AwsCommonRuntimeKit/crt
26 1
ByteCursor.swift
in Source/AwsCommonRuntimeKit/crt
38 1
ByteBuffer.swift
in Source/AwsCommonRuntimeKit/crt
333 1
Atomic.swift
in Source/AwsCommonRuntimeKit/crt
10 1
CRTIMDSInstanceInfo.swift
in Source/AwsCommonRuntimeKit/auth/imds
34 1
CRTIAMProfile.swift
in Source/AwsCommonRuntimeKit/auth/imds
12 1
OpCompleteCallbackData.swift
in Source/AwsCommonRuntimeKit/mqtt
11 1
MqttClient.swift
in Source/AwsCommonRuntimeKit/mqtt
39 1
TlsConnectionOptions.swift
in Source/AwsCommonRuntimeKit/io
33 1
ResolverOptions.swift
in Source/AwsCommonRuntimeKit/io
10 1
HostResolver.swift
in Source/AwsCommonRuntimeKit/io
78 1
ClientBootstrap.swift
in Source/AwsCommonRuntimeKit/io
39 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 14 long lines.

File# lines# units# long lines
CRTAWSRetryStrategy.swift
in Source/AwsCommonRuntimeKit/io/retryer
80 - 5
CRTAWSCredentialsProvider.swift
in Source/AwsCommonRuntimeKit/auth/credentials
225 - 3
ByteBuffer.swift
in Source/AwsCommonRuntimeKit/crt
333 1 1
CRTIMDSClient.swift
in Source/AwsCommonRuntimeKit/auth/imds
190 - 1
ClientBootstrap.swift
in Source/AwsCommonRuntimeKit/io
39 1 1
HttpClientConnection.swift
in Source/AwsCommonRuntimeKit/http
95 - 1
HttpClientConnectionManager.swift
in Source/AwsCommonRuntimeKit/http
87 - 1
Package.swift
in root
199 - 1