aws-samples / amazon-cloudwatch-auto-alarms
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 10 files with 1,050 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (273 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (451 lines of code)
    • 6 very small files (326 lines of code)
0% | 0% | 26% | 42% | 31%
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% | 0% | 64% | 35% | 0%
yaml0% | 0% | 0% | 47% | 52%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 64% | 35% | 0%
ROOT0% | 0% | 0% | 47% | 52%
Longest Files (Top 10)
File# lines# units
actions.py
in src
273 10
CloudWatchAutoAlarms.yaml
in root
178 -
cw_auto_alarms.py
in src
152 1
EC2Tagger.yaml
in root
121 -
CloudWatchAutoAlarms-S3.yaml
in root
92 -
CloudWatchAutoAlarms-SNS.yaml
in root
67 -
CloudWatchAutoAlarms-VPC.yaml
in root
65 -
CloudWatchAutoAlarms-Config-SNS.yaml
in root
39 -
PublishSNSNotification-SSMAutomation-Role.yaml
in root
36 -
ssm-cloudwatch-instance-role.yaml
in root
27 -
Files With Most Units (Top 2)
File# lines# units
actions.py
in src
273 10
cw_auto_alarms.py
in src
152 1
Files With Long Lines (Top 8)

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

File# lines# units# long lines
actions.py
in src
273 10 4
CloudWatchAutoAlarms-VPC.yaml
in root
65 - 3
CloudWatchAutoAlarms-SNS.yaml
in root
67 - 2
CloudWatchAutoAlarms-S3.yaml
in root
92 - 2
CloudWatchAutoAlarms.yaml
in root
178 - 1
cw_auto_alarms.py
in src
152 1 1
EC2Tagger.yaml
in root
121 - 1
PublishSNSNotification-SSMAutomation-Role.yaml
in root
36 - 1