aws-samples / amazon-cloudwatch-container-insights
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 41 files with 7,563 lines of code.
    • 0 very long files (0 lines of code)
    • 5 long files (2,860 lines of code)
    • 9 medium size files (3,297 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (338 lines of code)
    • 24 very small files (1,068 lines of code)
0% | 37% | 43% | 4% | 14%
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% | 37% | 43% | 4% | 14%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring0% | 46% | 46% | 0% | 7%
k8s-deployment-manifest-templates/deployment-mode/daemonset/combination0% | 100% | 0% | 0% | 0%
k8s-yaml-templates/quickstart0% | 100% | 0% | 0% | 0%
k8s-deployment-manifest-templates/deployment-mode/daemonset/cwagent-fluentd-xray0% | 100% | 0% | 0% | 0%
k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus0% | 0% | 89% | 7% | 3%
ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus0% | 0% | 69% | 30% | 0%
k8s-yaml-templates/fluentd0% | 0% | 98% | 0% | 1%
k8s-yaml-templates/cwagent-kubernetes-monitoring0% | 0% | 0% | 0% | 100%
k8s-yaml-templates/cwagent-statsd0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/service/combination0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/sidecar/combination0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/service/cwagent-statsd0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/service/cwagent-sdkmetrics0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/daemonset/cwagent-statsd0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/daemonset/cwagent-sdkmetrics0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/sidecar/cwagent-sdkmetrics0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/sidecar/cwagent-statsd0% | 0% | 0% | 0% | 100%
k8s-deployment-manifest-templates/deployment-mode/sidecar/cwagent-emf0% | 0% | 0% | 0% | 100%
k8s-yaml-templates0% | 0% | 0% | 0% | 100%
Longest Files (Top 41)
File# lines# units
combination.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/combination
657 -
cwagent-fluentd-quickstart.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart
578 -
cwagent-fluentd-quickstart.yaml
in k8s-yaml-templates/quickstart
567 -
cwagent-fluentd-xray-quickstart.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/cwagent-fluentd-xray
545 -
cwagent-fluent-bit-quickstart.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart
513 -
prometheus-eks.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus
460 -
fluentd.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluentd
411 -
prometheus-k8s.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus
408 -
fluentd.yaml
in k8s-yaml-templates/fluentd
406 -
prometheus-eks-fargate.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus
404 -
fluent-bit-compatible.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit
350 -
fluent-bit.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit
342 -
cwagent-ecs-prometheus-metric-for-awsvpc.yaml
in ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart
264 -
cwagent-ecs-prometheus-metric-for-bridge-host.yaml
in ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart
252 -
redis-traffic-sample.yaml
in ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/sample_traffic/redis
119 -
memcached-traffic-sample.yaml
in ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/sample_traffic/memcached
111 -
nginx-traffic-sample.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/sample_traffic/nginx-traffic
108 -
cwagent-daemonset.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent
84 -
combination.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/combination
83 -
cwagent-daemonset.yaml
in k8s-yaml-templates/cwagent-kubernetes-monitoring
78 -
combination.yaml
in k8s-deployment-manifest-templates/deployment-mode/sidecar/combination
75 -
cwagent-statsd.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-statsd
74 -
cwagent-sdkmetrics.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-sdkmetrics
68 -
cwagent-statsd.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/cwagent-statsd
64 -
cwagent-sdkmetrics.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/cwagent-sdkmetrics
58 -
cwagent-sdkmetrics.yaml
in k8s-deployment-manifest-templates/deployment-mode/sidecar/cwagent-sdkmetrics
57 -
cwagent-statsd.yaml
in k8s-deployment-manifest-templates/deployment-mode/sidecar/cwagent-statsd
56 -
cwagent-emf.yaml
in k8s-deployment-manifest-templates/deployment-mode/sidecar/cwagent-emf
54 -
redis-traffic-sample.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/sample_traffic/redis
47 -
cwagent-statsd-deployment.yaml
in k8s-yaml-templates/cwagent-statsd
47 -
cwagent-serviceaccount.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent
43 -
cwagent-serviceaccount.yaml
in k8s-yaml-templates/cwagent-kubernetes-monitoring
43 -
cwagent-statsd-daemonset.yaml
in k8s-yaml-templates/cwagent-statsd
42 -
cwagent-statsd-configmap.yaml
in k8s-yaml-templates/cwagent-statsd
19 -
cwagent-configmap.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/cwagent
18 -
cwagent-configmap.yaml
in k8s-yaml-templates/cwagent-kubernetes-monitoring
18 -
fluent-bit-configmap.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit
12 -
fluentd-configmap.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluentd
8 -
fluentd-configmap.yaml
in k8s-yaml-templates/fluentd
8 -
cloudwatch-namespace.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring
6 -
cloudwatch-namespace.yaml
in k8s-yaml-templates
6 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 9)

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

File# lines# units# long lines
prometheus-eks.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus
460 - 7
prometheus-k8s.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus
408 - 7
prometheus-eks-fargate.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus
404 - 7
cwagent-ecs-prometheus-metric-for-bridge-host.yaml
in ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart
252 - 7
cwagent-ecs-prometheus-metric-for-awsvpc.yaml
in ecs-task-definition-templates/deployment-mode/replica-service/cwagent-prometheus/cloudformation-quickstart
264 - 7
cwagent-fluent-bit-quickstart.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart
513 - 4
fluent-bit.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit
342 - 4
fluent-bit-compatible.yaml
in k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/fluent-bit
350 - 3
nginx-traffic-sample.yaml
in k8s-deployment-manifest-templates/deployment-mode/service/cwagent-prometheus/sample_traffic/nginx-traffic
108 - 1