aws-amplify / amplify-ci-support
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 157 files with 6,654 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,227 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,189 lines of code)
    • 146 very small files (4,238 lines of code)
0% | 0% | 18% | 17% | 63%
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
py0% | 0% | 23% | 2% | 74%
ts0% | 0% | 0% | 85% | 14%
js0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
gemspec0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
integ_test_resources/ios/sdk0% | 0% | 36% | 5% | 57%
build_infrastructure/android/stacks0% | 0% | 87% | 0% | 12%
credentials_rotators/npm-token-rotation/src0% | 0% | 0% | 85% | 14%
release_artifacts_resources/ios/cdk0% | 0% | 0% | 0% | 100%
integ_test_resources/android/sdk0% | 0% | 0% | 0% | 100%
integ_test_resources/android/amplify0% | 0% | 0% | 0% | 100%
credentials_rotators/npm/lambda_functions0% | 0% | 0% | 0% | 100%
integ_test_resources/common0% | 0% | 0% | 0% | 100%
build_infrastructure/android/amplify_custom_resources0% | 0% | 0% | 0% | 100%
credentials_rotators/npm/stacks0% | 0% | 0% | 0% | 100%
build_infrastructure/android0% | 0% | 0% | 0% | 100%
integ_test_resources/common/scripts0% | 0% | 0% | 0% | 100%
credentials_rotators/npm0% | 0% | 0% | 0% | 100%
fastlane/release_actions0% | 0% | 0% | 0% | 100%
credentials_rotators/npm-token-rotation0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
mobileclient_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
490 20
build_pipeline_stack.py
in src/build_infrastructure/android/stacks
419 10
iot_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
318 8
index.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/create-new-token
189 1
utils.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/utils
172 3
circleci-helper.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/utils
154 5
config-schema.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/utils
149 -
npm-token-rotation.ts
in src/credentials_rotators/npm-token-rotation/src/stacks
149 -
base-stack.ts
in src/credentials_rotators/npm-token-rotation/src/stacks
143 1
firehose_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
122 6
index.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/step-01-publish-token
111 1
device_config_builder.py
in src/integ_test_resources/common/scripts
92 10
app.py
in src/build_infrastructure/android
90 -
iot_custom_authorizer_user_pass_provider.py
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/iot_custom_authorizer_user_pass_provider
87 7
device_farm_device_pool.py
in src/build_infrastructure/android/amplify_custom_resources
86 5
common.py
in src/integ_test_resources/android/amplify/integration/cdk/scripts
85 6
iot_custom_authorizer_key_provider.py
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/iot_custom_authorizer_key_provider
85 9
npm-utils.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/utils
85 -
app.py
in src/integ_test_resources/ios/sdk/integration/cdk
80 -
kinesis_stack.py
in src/integ_test_resources/android/sdk/integration/cdk/cdk_integration_tests_android
79 1
auth_utils.py
in src/integ_test_resources/common
78 4
core_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
78 4
iot_stack.py
in src/integ_test_resources/android/sdk/integration/cdk/cdk_integration_tests_android
76 4
api.py
in src/integ_test_resources/android/amplify/integration/cdk/scripts
74 11
common_stack.py
in src/credentials_rotators/npm/stacks
74 7
maven_release_publisher.py
in src/build_infrastructure/android/amplify_custom_resources
73 1
common_stack.py
in src/integ_test_resources/common
69 8
s3_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
67 5
secret_rotator.py
in src/credentials_rotators/npm/lambda_functions
67 8
lambda_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
66 5
device_farm_project.py
in src/build_infrastructure/android/amplify_custom_resources
62 6
iam_construct.py
in src/release_artifacts_resources/ios/cdk/cdk/credential_rotation
61 5
npm_utils.py
in src/credentials_rotators/npm/lambda_functions
60 6
lambda_construct.py
in src/release_artifacts_resources/ios/cdk/cdk/credential_rotation
58 1
pinpoint_stack.py
in src/integ_test_resources/android/sdk/integration/cdk/cdk_integration_tests_android
58 1
region_aware_stack.py
in src/integ_test_resources/common
57 9
index.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/step-02-delete-old-token
56 1
aws_session_credential_source.py
in src/release_artifacts_resources/ios/cdk/cdk/credential_rotation/lambda_functions/src/source_data_generator
54 4
iot_custom_authorizer_provider.py
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/iot_custom_authorizer_provider
53 6
location_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
52 1
user_access_token_rotator.py
in src/credentials_rotators/npm/lambda_functions
52 6
amplify_deployer_stack.py
in src/integ_test_resources/android/amplify/integration/cdk/stacks
51 1
core_stack.py
in src/integ_test_resources/android/sdk/integration/cdk/cdk_integration_tests_android
51 3
auth.py
in src/integ_test_resources/android/amplify/integration/cdk/scripts
47 2
user_login_password_rotator.py
in src/credentials_rotators/npm/lambda_functions
46 5
apigateway_stack.py
in src/integ_test_resources/android/sdk/integration/cdk/cdk_integration_tests_android
45 2
secrets_config_utils.py
in src/credentials_rotators/npm/lambda_functions
45 6
iot_custom_authorizer_user_pass.py
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/iot_custom_authorizer_user_pass_function
42 2
maven_release_stack.py
in src/build_infrastructure/android/stacks
41 1
types.ts
in src/credentials_rotators/npm-token-rotation/src/stacks
41 -
Files With Most Units (Top 20)
File# lines# units
mobileclient_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
490 20
api.py
in src/integ_test_resources/android/amplify/integration/cdk/scripts
74 11
build_pipeline_stack.py
in src/build_infrastructure/android/stacks
419 10
device_config_builder.py
in src/integ_test_resources/common/scripts
92 10
region_aware_stack.py
in src/integ_test_resources/common
57 9
iot_custom_authorizer_key_provider.py
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/iot_custom_authorizer_key_provider
85 9
common_stack.py
in src/integ_test_resources/common
69 8
iot_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
318 8
secret_rotator.py
in src/credentials_rotators/npm/lambda_functions
67 8
iot_custom_authorizer_user_pass_provider.py
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/iot_custom_authorizer_user_pass_provider
87 7
common_stack.py
in src/credentials_rotators/npm/stacks
74 7
device_farm_project.py
in src/build_infrastructure/android/amplify_custom_resources
62 6
common.py
in src/integ_test_resources/android/amplify/integration/cdk/scripts
85 6
firehose_stack.py
in src/integ_test_resources/ios/sdk/integration/cdk/cdk_integration_tests_ios
122 6
iot_custom_authorizer_provider.py
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/iot_custom_authorizer_provider
53 6
secrets_config_utils.py
in src/credentials_rotators/npm/lambda_functions
45 6
user_access_token_rotator.py
in src/credentials_rotators/npm/lambda_functions
52 6
npm_utils.py
in src/credentials_rotators/npm/lambda_functions
60 6
device_farm_device_pool.py
in src/build_infrastructure/android/amplify_custom_resources
86 5
iam_construct.py
in src/release_artifacts_resources/ios/cdk/cdk/credential_rotation
61 5
Files With Long Lines (Top 13)

There are 13 files with lines longer than 120 characters. In total, there are 42 long lines.

File# lines# units# long lines
build_pipeline_stack.py
in src/build_infrastructure/android/stacks
419 10 17
app.py
in src/build_infrastructure/android
90 - 6
maven_release_publisher.py
in src/build_infrastructure/android/amplify_custom_resources
73 1 4
device_farm_device_pool.py
in src/build_infrastructure/android/amplify_custom_resources
86 5 3
amplify_deployer_stack.py
in src/integ_test_resources/android/amplify/integration/cdk/stacks
51 1 3
pull_request_builder.py
in src/build_infrastructure/android/amplify_custom_resources
33 1 2
maven_release_stack.py
in src/build_infrastructure/android/stacks
41 1 1
account_bootstrap_stack.py
in src/build_infrastructure/android/stacks
19 1 1
api.py
in src/integ_test_resources/android/amplify/integration/cdk/scripts
74 11 1
app.py
in src/integ_test_resources/ios/sdk/integration/cdk
80 - 1
define_auth_challenge.js
in src/integ_test_resources/ios/sdk/integration/cdk/custom_resources/custom_auth
15 1 1
circleci-helper.ts
in src/credentials_rotators/npm-token-rotation/src/lambda/utils
154 5 1
secrets_config_utils.py
in src/credentials_rotators/npm/lambda_functions
45 6 1