awslabs / aws-emr-launch
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 58 files with 4,712 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,147 lines of code)
    • 4 medium size files (1,093 lines of codeclsfd_ftr_w_mp_ins)
    • 12 small files (1,751 lines of code)
    • 40 very small files (721 lines of code)
0% | 24% | 23% | 37% | 15%
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% | 25% | 24% | 38% | 11%
yaml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
aws_emr_launch/constructs/step_functions0% | 56% | 27% | 15% | <1%
aws_emr_launch/constructs/emr_constructs0% | 56% | 29% | 13% | <1%
codepipeline0% | 0% | 55% | 29% | 15%
aws_emr_launch/constructs/lambdas0% | 0% | 98% | 0% | 1%
aws_emr_launch/constructs/managed_configurations0% | 0% | 0% | 99% | <1%
aws_emr_launch/lambda_sources/emr_utilities0% | 0% | 0% | 49% | 50%
aws_emr_launch/control_plane/constructs0% | 0% | 0% | 89% | 10%
aws_emr_launch/constructs/iam_roles0% | 0% | 0% | 82% | 17%
extras/airflow0% | 0% | 0% | 55% | 44%
aws_emr_launch/control_plane/lambda_sources0% | 0% | 0% | 99% | <1%
ROOT0% | 0% | 0% | 0% | 100%
aws_emr_launch/constructs/security_groups0% | 0% | 0% | 0% | 100%
aws_emr_launch/constructs0% | 0% | 0% | 0% | 100%
aws_emr_launch0% | 0% | 0% | 0% | 100%
aws_emr_launch/control_plane0% | 0% | 0% | 0% | 100%
aws_emr_launch/lambda_sources0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
emr_tasks.py
in aws_emr_launch/constructs/step_functions
621 28
emr_profile.py
in aws_emr_launch/constructs/emr_constructs
526 37
emr_launch_function.py
in aws_emr_launch/constructs/step_functions
303 18
cluster_configuration.py
in aws_emr_launch/constructs/emr_constructs
276 19
examples_pipeline.py
in codepipeline
269 -
emr_lambdas.py
in aws_emr_launch/constructs/lambdas
245 9
autoscaling_configuration.py
in aws_emr_launch/constructs/managed_configurations
178 1
emr_chains.py
in aws_emr_launch/constructs/step_functions
173 12
instance_fleet_configuration.py
in aws_emr_launch/constructs/managed_configurations
170 2
instance_group_configuration.py
in aws_emr_launch/constructs/managed_configurations
165 2
apis.py
in aws_emr_launch/control_plane/constructs/lambdas
161 7
emr_roles.py
in aws_emr_launch/constructs/iam_roles
157 11
release_pipeline.py
in codepipeline
145 -
aws_operators_plugin.py
in extras/airflow
126 11
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/run_job_flow
125 5
emr_code.py
in aws_emr_launch/constructs/emr_constructs
125 19
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/load_cluster_configuration
113 4
get_list_apis.py
in aws_emr_launch/control_plane/lambda_sources/apis
113 9
airflow_dag.py
in extras/airflow
100 -
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/check_cluster_status
78 3
emr.py
in aws_emr_launch/constructs/security_groups
62 6
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/override_cluster_configs
53 1
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/fail_if_cluster_running
43 2
in
MANIFEST.in
in root
41 -
setup.py
in root
36 -
release-buildspec.yaml
in codepipeline
34 -
permission_boundary_aspect.py
in aws_emr_launch/constructs/iam_roles
32 2
pyproject.toml
in root
31 -
cfg
setup.cfg
in root
26 -
in
requirements-dev.in
in root
24 -
examples-buildspec.yaml
in codepipeline
24 -
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/update_cluster_tags
23 1
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/override_step_args
21 1
base.py
in aws_emr_launch/constructs
19 3
pipelines-buildspec.yaml
in codepipeline
16 -
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/parse_json_string
14 1
control_plane_stack.py
in aws_emr_launch/control_plane/constructs
13 2
__init__.py
in aws_emr_launch
4 -
__init__.py
in aws_emr_launch/control_plane/constructs/lambdas
4 1
__init__.py
in aws_emr_launch/constructs/lambdas
4 1
__init__.py
in aws_emr_launch/control_plane
2 -
__init__.py
in aws_emr_launch/lambda_sources
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/parse_json_string
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/fail_if_cluster_running
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/load_cluster_configuration
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/check_cluster_status
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/override_step_args
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/override_cluster_configs
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/update_cluster_tags
1 -
__init__.py
in aws_emr_launch/lambda_sources/emr_utilities/run_job_flow
1 -
Files With Most Units (Top 20)
File# lines# units
emr_profile.py
in aws_emr_launch/constructs/emr_constructs
526 37
emr_tasks.py
in aws_emr_launch/constructs/step_functions
621 28
emr_code.py
in aws_emr_launch/constructs/emr_constructs
125 19
cluster_configuration.py
in aws_emr_launch/constructs/emr_constructs
276 19
emr_launch_function.py
in aws_emr_launch/constructs/step_functions
303 18
emr_chains.py
in aws_emr_launch/constructs/step_functions
173 12
aws_operators_plugin.py
in extras/airflow
126 11
emr_roles.py
in aws_emr_launch/constructs/iam_roles
157 11
get_list_apis.py
in aws_emr_launch/control_plane/lambda_sources/apis
113 9
emr_lambdas.py
in aws_emr_launch/constructs/lambdas
245 9
apis.py
in aws_emr_launch/control_plane/constructs/lambdas
161 7
emr.py
in aws_emr_launch/constructs/security_groups
62 6
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/run_job_flow
125 5
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/load_cluster_configuration
113 4
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/check_cluster_status
78 3
base.py
in aws_emr_launch/constructs
19 3
lambda_source.py
in aws_emr_launch/lambda_sources/emr_utilities/fail_if_cluster_running
43 2
control_plane_stack.py
in aws_emr_launch/control_plane/constructs
13 2
instance_fleet_configuration.py
in aws_emr_launch/constructs/managed_configurations
170 2
instance_group_configuration.py
in aws_emr_launch/constructs/managed_configurations
165 2
Files With Long Lines (Top 2)

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

File# lines# units# long lines
release-buildspec.yaml
in codepipeline
34 - 1
examples-buildspec.yaml
in codepipeline
24 - 1