awslabs / aws-service-catalog-puppet
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 216 files with 16,661 lines of code.
    • 2 very long files (2,516 lines of code)
    • 3 long files (2,026 lines of code)
    • 14 medium size files (4,156 lines of codeclsfd_ftr_w_mp_ins)
    • 17 small files (2,374 lines of code)
    • 180 very small files (5,589 lines of code)
15% | 12% | 24% | 14% | 33%
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
py17% | 4% | 26% | 16% | 35%
yaml0% | 71% | 12% | 0% | 15%
toml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
Project0% | 0% | 0% | 0% | 100%
tfstate0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
servicecatalog_puppet27% | 40% | 20% | 3% | 7%
servicecatalog_puppet/template_builder/hub93% | 0% | 0% | 0% | 6%
servicecatalog_puppet/workflow0% | 0% | 89% | 0% | 10%
servicecatalog_puppet/commands0% | 0% | 38% | 42% | 19%
servicecatalog_puppet/workflow/stack0% | 0% | 36% | 21% | 42%
servicecatalog_puppet/workflow/launch0% | 0% | 25% | 13% | 61%
servicecatalog_puppet/workflow/portfolio0% | 0% | 13% | 28% | 58%
servicecatalog_puppet/workflow/workspaces0% | 0% | 28% | 53% | 18%
servicecatalog_puppet/workflow/general0% | 0% | 77% | 0% | 22%
servicecatalog_puppet/workflow/manifest0% | 0% | 59% | 35% | 5%
servicecatalog_puppet/workflow/spoke_local_portfolios0% | 0% | 0% | 31% | 68%
servicecatalog_puppet/workflow/service_control_policies0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/workflow/simulate_policies0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/workflow/lambda_invocations0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/workflow/codebuild_runs0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/workflow/assertions0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/workflow/generic0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/workflow/generate0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/workflow/apps0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/manifests0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/templates0% | 0% | 0% | 0% | 100%
servicecatalog_puppet/template_builder0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
manifest_utils.py
in servicecatalog_puppet
1344 37
bootstrap.py
in servicecatalog_puppet/template_builder/hub
1172 1
servicecatalog-puppet.template.yaml
in servicecatalog_puppet
911 -
cli.py
in servicecatalog_puppet
592 37
servicecatalog-puppet-initialiser.template.yaml
in servicecatalog_puppet
523 -
aws.py
in servicecatalog_puppet
492 16
runner.py
in servicecatalog_puppet/workflow
419 2
dependency.py
in servicecatalog_puppet/workflow
336 3
tasks.py
in servicecatalog_puppet/workflow
327 43
provision_stack_task.py
in servicecatalog_puppet/workflow/stack
315 7
misc.py
in servicecatalog_puppet/commands
311 9
provision_product_task.py
in servicecatalog_puppet/workflow/launch
269 5
bootstrap.py
in servicecatalog_puppet/commands
264 1
config.py
in servicecatalog_puppet
263 26
servicecatalog-puppet-spoke.template.yaml
in servicecatalog_puppet
258 -
create_template_for_workspace_task.py
in servicecatalog_puppet/workflow/workspaces
234 2
copy_into_spoke_local_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/portfolio_management
234 4
get_ssm_param_task.py
in servicecatalog_puppet/workflow/general
221 12
generate_manifest_with_ids_task.py
in servicecatalog_puppet/workflow/manifest
213 3
manifest.py
in servicecatalog_puppet/commands
200 10
constants.py
in servicecatalog_puppet
196 -
provision_stack_dry_run_task.py
in servicecatalog_puppet/workflow/stack
183 4
create_launch_role_constraints_for_spoke_local_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/constraints_management
152 5
management.py
in servicecatalog_puppet/commands
145 7
show_pipelines.py
in servicecatalog_puppet/commands
144 1
spoke_management.py
in servicecatalog_puppet/commands
142 5
provision_product_dry_run_task.py
in servicecatalog_puppet/workflow/launch
141 6
do_share_portfolio_with_spoke_task.py
in servicecatalog_puppet/workflow/spoke_local_portfolios
137 3
provision_workspace_task.py
in servicecatalog_puppet/workflow/workspaces
136 4
section_task.py
in servicecatalog_puppet/workflow/manifest
128 3
share_and_accept_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/sharing_management
128 4
import_into_spoke_local_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/portfolio_management
124 4
create_associations_for_spoke_local_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/associations
110 4
terminate_workspace_task.py
in servicecatalog_puppet/workflow/workspaces
104 4
terminate_dry_run_workspace_task.py
in servicecatalog_puppet/workflow/workspaces
102 4
provision_dry_run_workspace_task.py
in servicecatalog_puppet/workflow/workspaces
102 4
tasks_unit_tests_helper.py
in servicecatalog_puppet/workflow
100 15
run_deploy_in_spoke_task.py
in servicecatalog_puppet/workflow/launch
95 4
do_terminate_product_task.py
in servicecatalog_puppet/workflow/launch
93 4
get_version_details_by_names_task.py
in servicecatalog_puppet/workflow/portfolio/accessors
92 3
get_version_id_by_version_name_task.py
in servicecatalog_puppet/workflow/portfolio/accessors
91 4
show_codebuilds.py
in servicecatalog_puppet/commands
84 6
terminate_stack_task.py
in servicecatalog_puppet/workflow/stack
84 4
terminate_product_dry_run_task.py
in servicecatalog_puppet/workflow/launch
83 3
generate_shares_task.py
in servicecatalog_puppet/workflow/generate
82 3
sdk.py
in servicecatalog_puppet
81 12
do_execute_simulate_policy_task.py
in servicecatalog_puppet/workflow/simulate_policies
81 3
get_or_create_policy_task.py
in servicecatalog_puppet/workflow/service_control_policies
80 3
delete_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/portfolio_management
79 4
bootstrap_region.py
in servicecatalog_puppet/template_builder/hub
78 1
Files With Most Units (Top 20)
File# lines# units
tasks.py
in servicecatalog_puppet/workflow
327 43
cli.py
in servicecatalog_puppet
592 37
manifest_utils.py
in servicecatalog_puppet
1344 37
config.py
in servicecatalog_puppet
263 26
aws.py
in servicecatalog_puppet
492 16
tasks_unit_tests_helper.py
in servicecatalog_puppet/workflow
100 15
sdk.py
in servicecatalog_puppet
81 12
get_ssm_param_task.py
in servicecatalog_puppet/workflow/general
221 12
yaml_utils.py
in servicecatalog_puppet
35 10
manifest.py
in servicecatalog_puppet/commands
200 10
misc.py
in servicecatalog_puppet/commands
311 9
management.py
in servicecatalog_puppet/commands
145 7
provision_stack_task.py
in servicecatalog_puppet/workflow/stack
315 7
show_codebuilds.py
in servicecatalog_puppet/commands
84 6
provision_product_dry_run_task.py
in servicecatalog_puppet/workflow/launch
141 6
do_execute_service_control_policies_task.py
in servicecatalog_puppet/workflow/service_control_policies
76 6
orgs.py
in servicecatalog_puppet/commands
74 5
spoke_management.py
in servicecatalog_puppet/commands
142 5
generate_policies_task.py
in servicecatalog_puppet/workflow/generate
51 5
provision_product_task.py
in servicecatalog_puppet/workflow/launch
269 5
Files With Long Lines (Top 20)

There are 36 files with lines longer than 120 characters. In total, there are 78 long lines.

File# lines# units# long lines
servicecatalog-puppet.template.yaml
in servicecatalog_puppet
911 - 14
servicecatalog-puppet-initialiser.template.yaml
in servicecatalog_puppet
523 - 10
bootstrap.py
in servicecatalog_puppet/template_builder/hub
1172 1 5
aws.py
in servicecatalog_puppet
492 16 5
manifest_utils.py
in servicecatalog_puppet
1344 37 3
misc.py
in servicecatalog_puppet/commands
311 9 3
servicecatalog-puppet-spoke.template.yaml
in servicecatalog_puppet
258 - 3
do_share_portfolio_with_spoke_task.py
in servicecatalog_puppet/workflow/spoke_local_portfolios
137 3 2
create_associations_for_spoke_local_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/associations
110 4 2
copy_into_spoke_local_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/portfolio_management
234 4 2
create_launch_role_constraints_for_spoke_local_portfolio_task.py
in servicecatalog_puppet/workflow/portfolio/constraints_management
152 5 2
tasks.py
in servicecatalog_puppet/workflow
327 43 2
runner.py
in servicecatalog_puppet/workflow
419 2 2
bootstrap_region.py
in servicecatalog_puppet/template_builder/hub
78 1 1
cli.py
in servicecatalog_puppet
592 37 1
constants.py
in servicecatalog_puppet
196 - 1
servicecatalog-puppet-regional.template.yaml
in servicecatalog_puppet
58 - 1
config.py
in servicecatalog_puppet
263 26 1
generate_policies_template_task.py
in servicecatalog_puppet/workflow/generate
31 3 1
generate_policies_task.py
in servicecatalog_puppet/workflow/generate
51 5 1