aws-samples / amazon-cloudwatch-alarms-controller-for-kubernetes
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 39 files with 1,923 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (204 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (604 lines of code)
    • 34 very small files (1,115 lines of code)
0% | 0% | 10% | 31% | 57%
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
yaml0% | 0% | 17% | 11% | 70%
yml0% | 0% | 0% | 83% | 16%
tpl0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
deployment/helm/charts/container-insights0% | 0% | 22% | 36% | 41%
deployment/sample_application0% | 0% | 0% | 100% | 0%
deployment/helm/charts/k8s-cloudwatch-adapter0% | 0% | 0% | 32% | 67%
deployment/helm/charts/cloudwatch-alarms-operator0% | 0% | 0% | 0% | 100%
cwoperator/helpers0% | 0% | 0% | 0% | 100%
deployment0% | 0% | 0% | 0% | 100%
deployment/eksctl0% | 0% | 0% | 0% | 100%
sample/producer0% | 0% | 0% | 0% | 100%
sample/consumer0% | 0% | 0% | 0% | 100%
cwoperator0% | 0% | 0% | 0% | 100%
deployment/helm0% | 0% | 0% | 0% | 100%
Longest Files (Top 39)
File# lines# units
fluent-bit-config-map.yaml
in deployment/helm/charts/container-insights/templates
204 -
metricsserver.yml
in deployment/helm/charts/container-insights/templates
192 -
deployment.yml
in deployment/sample_application
160 -
otlp-config-map.yaml
in deployment/helm/charts/container-insights/templates
141 -
tpl
_helpers.tpl
in deployment/helm/charts/k8s-cloudwatch-adapter/templates
111 -
fluent-bit-daemonset.yaml
in deployment/helm/charts/container-insights/templates
98 -
rbac.yaml
in deployment/helm/charts/k8s-cloudwatch-adapter/templates
95 -
container-insights-daemonset.yaml
in deployment/helm/charts/container-insights/templates
80 -
cloudwatch_alarm.yml
in deployment
70 -
deployment.yaml
in deployment/helm/charts/k8s-cloudwatch-adapter/templates
61 -
cluster.yaml
in deployment/eksctl
56 -
obj_parser.py
in cwoperator/helpers
52 3
producer.py
in sample/producer
48 1
otlp-daemonset.yaml
in deployment/helm/charts/container-insights/templates
47 -
rbac.yaml
in deployment/helm/charts/cloudwatch-alarms-operator/templates
44 -
consumer.py
in sample/consumer
43 -
crds.yaml
in deployment/helm/charts/cloudwatch-alarms-operator/templates
42 -
otlp-rbac.yaml
in deployment/helm/charts/container-insights/templates
41 -
container-insights-rbac.yaml
in deployment/helm/charts/container-insights/templates
38 -
deployment.yaml
in deployment/helm/charts/cloudwatch-alarms-operator/templates
35 -
cloudwatch.py
in cwoperator/helpers
34 4
operator_handler.py
in cwoperator
34 3
fluent-bit-rbac.yaml
in deployment/helm/charts/container-insights/templates
28 -
service.yaml
in deployment/helm/charts/k8s-cloudwatch-adapter/templates
23 -
container-insights-config-map.yaml
in deployment/helm/charts/container-insights/templates
21 -
otlp-service.yaml
in deployment/helm/charts/container-insights/templates
20 -
values.yaml
in deployment/helm/charts/k8s-cloudwatch-adapter
18 -
service.yaml
in deployment/helm/charts/cloudwatch-alarms-operator/templates
16 -
api_service.yaml
in deployment/helm/charts/k8s-cloudwatch-adapter/templates
16 -
crds.yaml
in deployment/helm/charts/k8s-cloudwatch-adapter/templates
16 -
Chart.yaml
in deployment/helm
9 -
values.yaml
in deployment/helm/charts/cloudwatch-alarms-operator
8 -
Chart.yaml
in deployment/helm/charts/cloudwatch-alarms-operator
6 -
Chart.yaml
in deployment/helm/charts/container-insights
6 -
Chart.yaml
in deployment/helm/charts/k8s-cloudwatch-adapter
6 -
__init__.py
in cwoperator
1 -
__init__.py
in cwoperator/helpers
1 -
values.yaml
in deployment/helm
1 -
values.yaml
in deployment/helm/charts/container-insights
1 -
Files With Most Units (Top 4)
File# lines# units
cloudwatch.py
in cwoperator/helpers
34 4
obj_parser.py
in cwoperator/helpers
52 3
operator_handler.py
in cwoperator
34 3
producer.py
in sample/producer
48 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 4 long lines.

File# lines# units# long lines
fluent-bit-config-map.yaml
in deployment/helm/charts/container-insights/templates
204 - 4