awslabs / aws-service-catalog-factory
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 77 files with 8,175 lines of code.
    • 2 very long files (2,103 lines of code)
    • 1 long files (574 lines of code)
    • 6 medium size files (2,113 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,378 lines of code)
    • 58 very small files (2,007 lines of code)
25% | 7% | 25% | 16% | 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
py33% | 0% | 28% | 14% | 23%
yaml0% | 32% | 19% | 26% | 21%
toml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
Project0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
servicecatalog_factory/template_builder46% | 0% | 45% | 6% | 2%
servicecatalog_factory/commands57% | 0% | 13% | 10% | 18%
servicecatalog_factory0% | 29% | 41% | 6% | 21%
servicecatalog_factory/workflow0% | 0% | 0% | 36% | 63%
servicecatalog_factory/schema0% | 0% | 0% | 81% | 18%
servicecatalog_factory/portfolios0% | 0% | 0% | 42% | 57%
servicecatalog_factory/templates0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
landing-zone-add-on/aws-service-catalog-factory0% | 0% | 0% | 0% | 100%
servicecatalog_factory/utilities0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
builders.py
in servicecatalog_factory/template_builder
1081 8
portfolios.py
in servicecatalog_factory/commands
1022 27
servicecatalog-factory.template.yaml
in servicecatalog_factory
574 -
cli.py
in servicecatalog_factory
460 28
product_pipeline.py
in servicecatalog_factory/template_builder/cdk
449 1
servicecatalog-factory-initialiser.template.yaml
in servicecatalog_factory
356 -
shared_resources.py
in servicecatalog_factory/template_builder
311 2
product_template.py
in servicecatalog_factory/template_builder/cdk
298 1
bootstrap.py
in servicecatalog_factory/commands
239 2
create_version_pipeline_template_task.py
in servicecatalog_factory/workflow/portfolios
193 7
show_pipelines.py
in servicecatalog_factory/commands
182 1
shared_resources.py
in servicecatalog_factory/template_builder/cdk
145 2
schema-portfolios.yaml
in servicecatalog_factory/schema
143 -
cloudformation_servicecatalog_deploy_action.py
in servicecatalog_factory
133 4
create_product_task.py
in servicecatalog_factory/workflow/portfolios
125 4
tasks.py
in servicecatalog_factory/workflow
124 24
schema-stacks.yaml
in servicecatalog_factory/schema
116 -
example-quickstart.yaml
in servicecatalog_factory/portfolios
113 -
schema-workspaces.yaml
in servicecatalog_factory/schema
104 -
ccoe.yaml
in servicecatalog_factory/portfolios
91 -
generate.py
in servicecatalog_factory/commands
86 1
schema-apps.yaml
in servicecatalog_factory/schema
85 -
tasks_unit_tests_helper.py
in servicecatalog_factory/workflow
81 13
tasks_unit_tests_helper.py
in servicecatalog_factory
80 13
create_combined_product_pipeline_template_task.py
in servicecatalog_factory/workflow/portfolios
78 4
create_version_pipeline_task.py
in servicecatalog_factory/workflow/portfolios
75 4
constants.py
in servicecatalog_factory
74 -
delete_product_task.py
in servicecatalog_factory/workflow/portfolios
73 4
create_code_repo_task.py
in servicecatalog_factory/workflow/codecommit
67 2
config.py
in servicecatalog_factory
63 5
create_generic_version_pipeline_task.py
in servicecatalog_factory/workflow/generic
63 7
create_portfolio_association_task.py
in servicecatalog_factory/workflow/portfolios
56 4
delete_a_version_task.py
in servicecatalog_factory/workflow/portfolios
55 4
servicecatalog-factory-regional.template.yaml
in servicecatalog_factory
54 -
aws.py
in servicecatalog_factory
54 3
ensure_product_version_details_correct_task.py
in servicecatalog_factory/workflow/portfolios
51 4
configuration_management.py
in servicecatalog_factory/commands
49 3
associate_product_with_portfolio_task.py
in servicecatalog_factory/workflow/portfolios
49 4
create_combined_product_pipeline_task.py
in servicecatalog_factory/workflow/portfolios
47 3
create_portfolio_task.py
in servicecatalog_factory/workflow/portfolios
46 3
pyproject.toml
in root
45 -
static-html-page.html
in servicecatalog_factory/templates
44 -
list_resources.py
in servicecatalog_factory/commands
40 1
stacks.py
in servicecatalog_factory/commands
37 2
sdk.py
in servicecatalog_factory
34 7
utils.py
in servicecatalog_factory
32 4
example-simple.yaml
in servicecatalog_factory/portfolios
30 -
example-simple-github.yaml
in servicecatalog_factory/portfolios
30 -
generic.py
in servicecatalog_factory/commands
29 1
validate.py
in servicecatalog_factory/commands
28 1
Files With Most Units (Top 20)
File# lines# units
cli.py
in servicecatalog_factory
460 28
portfolios.py
in servicecatalog_factory/commands
1022 27
tasks.py
in servicecatalog_factory/workflow
124 24
tasks_unit_tests_helper.py
in servicecatalog_factory
80 13
tasks_unit_tests_helper.py
in servicecatalog_factory/workflow
81 13
builders.py
in servicecatalog_factory/template_builder
1081 8
sdk.py
in servicecatalog_factory
34 7
create_generic_version_pipeline_task.py
in servicecatalog_factory/workflow/generic
63 7
create_version_pipeline_template_task.py
in servicecatalog_factory/workflow/portfolios
193 7
config.py
in servicecatalog_factory
63 5
cloudformation_servicecatalog_deploy_action.py
in servicecatalog_factory
133 4
utils.py
in servicecatalog_factory
32 4
create_product_task.py
in servicecatalog_factory/workflow/portfolios
125 4
ensure_product_version_details_correct_task.py
in servicecatalog_factory/workflow/portfolios
51 4
delete_a_version_task.py
in servicecatalog_factory/workflow/portfolios
55 4
create_combined_product_pipeline_template_task.py
in servicecatalog_factory/workflow/portfolios
78 4
create_portfolio_association_task.py
in servicecatalog_factory/workflow/portfolios
56 4
create_version_pipeline_task.py
in servicecatalog_factory/workflow/portfolios
75 4
delete_product_task.py
in servicecatalog_factory/workflow/portfolios
73 4
associate_product_with_portfolio_task.py
in servicecatalog_factory/workflow/portfolios
49 4
Files With Long Lines (Top 20)

There are 22 files with lines longer than 120 characters. In total, there are 63 long lines.

File# lines# units# long lines
builders.py
in servicecatalog_factory/template_builder
1081 8 16
portfolios.py
in servicecatalog_factory/commands
1022 27 10
product_template.py
in servicecatalog_factory/template_builder/cdk
298 1 5
shared_resources.py
in servicecatalog_factory/template_builder
311 2 5
shared_resources.py
in servicecatalog_factory/template_builder/cdk
145 2 3
product_pipeline.py
in servicecatalog_factory/template_builder/cdk
449 1 3
servicecatalog-factory-initialiser.template.yaml
in servicecatalog_factory
356 - 3
servicecatalog-factory.template.yaml
in servicecatalog_factory
574 - 2
example-quickstart.yaml
in servicecatalog_factory/portfolios
113 - 2
create_version_pipeline_template_task.py
in servicecatalog_factory/workflow/portfolios
193 7 2
constraint-launch-role-parent.template.yaml
in servicecatalog_factory/templates
17 - 1
constraint-launch-role-nested.template.yaml
in servicecatalog_factory/templates
18 - 1
ccoe.yaml
in servicecatalog_factory/portfolios
91 - 1
show_pipelines.py
in servicecatalog_factory/commands
182 1 1
config.py
in servicecatalog_factory
63 5 1
create_portfolio_association_task.py
in servicecatalog_factory/workflow/portfolios
56 4 1
associate_product_with_portfolio_task.py
in servicecatalog_factory/workflow/portfolios
49 4 1
schema-stacks.yaml
in servicecatalog_factory/schema
116 - 1
schema-portfolios.yaml
in servicecatalog_factory/schema
143 - 1
schema-workspaces.yaml
in servicecatalog_factory/schema
104 - 1