aws-solutions / aws-devops-monitoring-dashboard
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 49 files with 3,749 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (520 lines of code)
    • 2 medium size files (577 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,297 lines of code)
    • 36 very small files (1,355 lines of code)
0% | 13% | 15% | 34% | 36%
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
ts0% | 29% | 32% | 23% | 14%
py0% | 0% | 0% | 45% | 54%
js0% | 0% | 0% | 42% | 57%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/lib0% | 100% | 0% | 0% | 0%
source/lib/database0% | 0% | 100% | 0% | 0%
source/lib/deployment-helper0% | 0% | 86% | 0% | 13%
source/lambda/quicksight-custom-resources0% | 0% | 0% | 48% | 51%
source/lambda/query_runner0% | 0% | 0% | 76% | 23%
source/lib/quicksight-custom-resources0% | 0% | 0% | 100% | 0%
source/lib/events0% | 0% | 0% | 57% | 42%
source/lambda/event_parser0% | 0% | 0% | 0% | 100%
source/lib/solution-helper0% | 0% | 0% | 0% | 100%
deployment/cdk-solution-helper0% | 0% | 0% | 0% | 100%
source/lambda/solution_helper0% | 0% | 0% | 0% | 100%
source0% | 0% | 0% | 0% | 100%
Longest Files (Top 49)
File# lines# units
aws_devops_monitoring_dashboard_stack.ts
in source/lib
520 1
database_construct.ts
in source/lib/database
289 1
canary_alarm.ts
in source/lib/deployment-helper
288 1
code_build_events_construct.ts
in source/lib/events
175 1
build_athena_query.js
in source/lambda/query_runner
157 -
quicksight-construct.ts
in source/lib/quicksight-custom-resources
136 4
index.js
in source/lambda/query_runner
128 1
quicksight.py
in source/lambda/quicksight-custom-resources/util
126 21
quicksight_resource.py
in source/lambda/quicksight-custom-resources/util
125 14
lambda_function.py
in source/lambda/quicksight-custom-resources
119 6
add_athena_partition.js
in source/lambda/query_runner
115 -
template.py
in source/lambda/quicksight-custom-resources/util
111 10
quicksight-stack.ts
in source/lib/quicksight-custom-resources
105 -
quicksight_application.py
in source/lambda/quicksight-custom-resources/util
99 12
dataset.py
in source/lambda/quicksight-custom-resources/util
85 7
dashboard.py
in source/lambda/quicksight-custom-resources/util
70 6
codecommit_events.js
in source/lambda/event_parser
70 -
datasource.py
in source/lambda/quicksight-custom-resources/util
68 5
analysis.py
in source/lambda/quicksight-custom-resources/util
65 5
index.js
in deployment/cdk-solution-helper
65 -
index.js
in source/lambda/event_parser
58 -
solution-helper-construct.ts
in source/lib/solution-helper
55 2
canary_events_construct.ts
in source/lib/events
55 1
source_entity.py
in source/lambda/quicksight-custom-resources/util
47 4
alarm_construct.ts
in source/lib/deployment-helper
45 1
synthetic_canary_alarm_events.js
in source/lambda/event_parser
45 -
codepipeline_events.js
in source/lambda/event_parser
44 -
helpers.py
in source/lambda/quicksight-custom-resources/util
42 6
codebuild_index.js
in source/lambda/event_parser
39 -
code_pipeline_events_construct.ts
in source/lib/events
36 1
code_deploy_events_construct.ts
in source/lib/events
36 1
execute_athena_query.js
in source/lambda/query_runner/lib
33 -
metrics_helper.js
in source/lambda/query_runner/lib
33 -
codedeploy_events.js
in source/lambda/event_parser
29 -
lambda-role-cloudwatch-construct.ts
in source/lib/solution-helper
28 1
cfn.js
in source/lambda/query_runner/lib
28 -
lambda_function.py
in source/lambda/solution_helper
26 2
codebuild_metrics.js
in source/lambda/event_parser
23 -
solution_metrics.py
in source/lambda/solution_helper/util
22 1
logging.py
in source/lambda/quicksight-custom-resources/util
21 2
__init__.py
in source/lambda/quicksight-custom-resources/_yaml
18 -
logger.js
in source/lambda/event_parser/lib
17 2
logger.js
in source/lambda/query_runner/lib
17 2
jest.config.js
in source/lambda/event_parser
12 -
jest.config.js
in source/lambda/query_runner
12 -
jest.config.js
in source
9 -
__init__.py
in source/lambda/solution_helper
1 -
__init__.py
in source/lambda/quicksight-custom-resources
1 -
__init__.py
in source/lambda/quicksight-custom-resources/util
1 -
Files With Most Units (Top 20)
File# lines# units
quicksight.py
in source/lambda/quicksight-custom-resources/util
126 21
quicksight_resource.py
in source/lambda/quicksight-custom-resources/util
125 14
quicksight_application.py
in source/lambda/quicksight-custom-resources/util
99 12
template.py
in source/lambda/quicksight-custom-resources/util
111 10
dataset.py
in source/lambda/quicksight-custom-resources/util
85 7
helpers.py
in source/lambda/quicksight-custom-resources/util
42 6
dashboard.py
in source/lambda/quicksight-custom-resources/util
70 6
lambda_function.py
in source/lambda/quicksight-custom-resources
119 6
analysis.py
in source/lambda/quicksight-custom-resources/util
65 5
datasource.py
in source/lambda/quicksight-custom-resources/util
68 5
quicksight-construct.ts
in source/lib/quicksight-custom-resources
136 4
source_entity.py
in source/lambda/quicksight-custom-resources/util
47 4
solution-helper-construct.ts
in source/lib/solution-helper
55 2
lambda_function.py
in source/lambda/solution_helper
26 2
logging.py
in source/lambda/quicksight-custom-resources/util
21 2
logger.js
in source/lambda/event_parser/lib
17 2
logger.js
in source/lambda/query_runner/lib
17 2
lambda-role-cloudwatch-construct.ts
in source/lib/solution-helper
28 1
code_pipeline_events_construct.ts
in source/lib/events
36 1
code_build_events_construct.ts
in source/lib/events
175 1
Files With Long Lines (Top 19)

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

File# lines# units# long lines
aws_devops_monitoring_dashboard_stack.ts
in source/lib
520 1 33
quicksight-stack.ts
in source/lib/quicksight-custom-resources
105 - 10
code_build_events_construct.ts
in source/lib/events
175 1 7
synthetic_canary_alarm_events.js
in source/lambda/event_parser
45 - 5
canary_alarm.ts
in source/lib/deployment-helper
288 1 4
index.js
in source/lambda/query_runner
128 1 4
codedeploy_events.js
in source/lambda/event_parser
29 - 3
codecommit_events.js
in source/lambda/event_parser
70 - 3
dataset.py
in source/lambda/quicksight-custom-resources/util
85 7 2
index.js
in source/lambda/event_parser
58 - 2
lambda-role-cloudwatch-construct.ts
in source/lib/solution-helper
28 1 1
code_pipeline_events_construct.ts
in source/lib/events
36 1 1
canary_events_construct.ts
in source/lib/events
55 1 1
quicksight-construct.ts
in source/lib/quicksight-custom-resources
136 4 1
quicksight_application.py
in source/lambda/quicksight-custom-resources/util
99 12 1
quicksight_resource.py
in source/lambda/quicksight-custom-resources/util
125 14 1
codebuild_metrics.js
in source/lambda/event_parser
23 - 1
codepipeline_events.js
in source/lambda/event_parser
44 - 1
add_athena_partition.js
in source/lambda/query_runner
115 - 1