aws-samples / codepipeline-lambda-docker-images
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 52 files with 5,541 lines of code.
    • 1 very long files (1,118 lines of code)
    • 3 long files (1,760 lines of code)
    • 3 medium size files (825 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (498 lines of code)
    • 41 very small files (1,340 lines of code)
20% | 31% | 14% | 8% | 24%
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
yaml33% | 53% | 11% | 0% | 1%
py0% | 0% | 19% | 22% | 58%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
CodePipelineTemplate100% | 0% | 0% | 0% | 0%
ApplicationCode/cfn/stageB0% | 100% | 0% | 0% | 0%
ApplicationCode/cfn/stageA0% | 100% | 0% | 0% | 0%
ApplicationCode/cfn/common-cloudformation0% | 100% | 0% | 0% | 0%
CommonLayerCode/datalake-library/python0% | 0% | 26% | 30% | 43%
ApplicationCode/cfn/datasets0% | 0% | 90% | 0% | 9%
ApplicationCode/dockerfiles/routing-lambda0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-b-routing0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-a-postupdate-metadata0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-b-postupdate-metadata0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-b-process-data0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-a-process-object0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-a-preupdate-metadata0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-b-crawl-data0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-b-check-job0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-b-redrive0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/redrive-lambda0% | 0% | 0% | 0% | 100%
CommonLayerCode0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-a-redrive0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-a-routing0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-a-error0% | 0% | 0% | 0% | 100%
ApplicationCode/dockerfiles/stage-b-error0% | 0% | 0% | 0% | 100%
ApplicationCode0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
codepipeline.yaml
in CodePipelineTemplate
1118 -
template.yaml
in ApplicationCode/cfn/stageB
602 -
template.yaml
in ApplicationCode/cfn/stageA
593 -
template.yaml
in ApplicationCode/cfn/common-cloudformation
565 -
template.yaml
in ApplicationCode/cfn/datasets
382 -
metric.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
228 13
peh.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
215 6
s3_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
149 10
resource_configs.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
141 26
client.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
106 23
config.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
102 21
dynamo_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
97 12
lambda_function.py
in ApplicationCode/dockerfiles/routing-lambda/src
96 4
event_configs.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
82 13
metadata.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
73 14
artifact.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
67 7
sqs_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
63 5
utils.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
53 11
transform_handler.py
in CommonLayerCode/datalake-library/python/datalake_library/transforms
53 5
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-routing/src
50 1
event.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
50 3
heavy_transform_blueprint.py
in CommonLayerCode/datalake-library/python/datalake_library/transforms/stage_b_transforms
48 4
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-postupdate-metadata/src
47 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-postupdate-metadata/src
45 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-process-data/src
40 2
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-process-object/src
39 2
meteorites-glue-job.py
in ApplicationCode/cfn/datasets/glue-jobs/src
38 -
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-preupdate-metadata/src
35 1
states_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
34 5
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-crawl-data/src
32 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-check-job/src
31 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-redrive/src
31 1
lambda_function.py
in ApplicationCode/dockerfiles/redrive-lambda/src
25 1
base_config.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
25 6
light_transform_blueprint.py
in CommonLayerCode/datalake-library/python/datalake_library/transforms/stage_a_transforms
25 2
buildspec.yaml
in CommonLayerCode
25 -
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-redrive/src
23 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-routing/src
17 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-error/src
17 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-error/src
17 1
dynamodb.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
16 1
buildspec.yaml
in ApplicationCode
14 -
__init__.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
10 -
commons.py
in CommonLayerCode/datalake-library/python/datalake_library
8 1
datalake_exceptions.py
in CommonLayerCode/datalake-library/python/datalake_library
6 -
__version__.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
2 -
__init__.py
in CommonLayerCode/datalake-library/python
1 -
__init__.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
1 -
__init__.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
1 -
__init__.py
in CommonLayerCode/datalake-library/python/datalake_library/transforms
1 -
Files With Most Units (Top 20)
File# lines# units
resource_configs.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
141 26
client.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
106 23
config.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
102 21
metadata.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
73 14
event_configs.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
82 13
metric.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
228 13
dynamo_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
97 12
utils.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
53 11
s3_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
149 10
artifact.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
67 7
base_config.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
25 6
peh.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
215 6
states_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
34 5
sqs_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
63 5
transform_handler.py
in CommonLayerCode/datalake-library/python/datalake_library/transforms
53 5
lambda_function.py
in ApplicationCode/dockerfiles/routing-lambda/src
96 4
heavy_transform_blueprint.py
in CommonLayerCode/datalake-library/python/datalake_library/transforms/stage_b_transforms
48 4
event.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
50 3
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-process-object/src
39 2
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-process-data/src
40 2
Files With Long Lines (Top 14)

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

File# lines# units# long lines
template.yaml
in ApplicationCode/cfn/common-cloudformation
565 - 6
resource_configs.py
in CommonLayerCode/datalake-library/python/datalake_library/configuration
141 26 6
template.yaml
in ApplicationCode/cfn/stageA
593 - 4
template.yaml
in ApplicationCode/cfn/stageB
602 - 4
transform_handler.py
in CommonLayerCode/datalake-library/python/datalake_library/transforms
53 5 3
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-process-data/src
40 2 2
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-preupdate-metadata/src
35 1 2
codepipeline.yaml
in CodePipelineTemplate
1118 - 2
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-postupdate-metadata/src
45 1 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-b-check-job/src
31 1 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-process-object/src
39 2 1
lambda_function.py
in ApplicationCode/dockerfiles/stage-a-postupdate-metadata/src
47 1 1
sqs_interface.py
in CommonLayerCode/datalake-library/python/datalake_library/interfaces
63 5 1
config.py
in CommonLayerCode/datalake-library/python/datalake_library/octagon
102 21 1