aws-observability / aws-otel-community
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 26 files with 1,487 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (553 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (358 lines of code)
    • 22 very small files (576 lines of code)
0% | 0% | 37% | 24% | 38%
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% | 36% | 20% | 43%
go0% | 0% | 54% | 43% | 2%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
charts/adot-eks-on-ec2-to-cw0% | 0% | 95% | 0% | 4%
sample-apps/prometheus-sample-app/metrics0% | 0% | 55% | 44% | 0%
charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit0% | 0% | 0% | 55% | 44%
charts/adot-eks-on-ec2-to-cw/templates/adot-collector0% | 0% | 0% | 0% | 100%
sample-apps/prometheus-sample-app0% | 0% | 0% | 0% | 100%
charts/adot-eks-on-ec2-to-cw/templates/aws-fargate-logging0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
values.yaml
in charts/adot-eks-on-ec2-to-cw
349 -
metrics_cli.go
in sample-apps/prometheus-sample-app/metrics
204 9
configmap.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
195 -
metrics_collector.go
in sample-apps/prometheus-sample-app/metrics
163 13
tpl
_helpers.tpl
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
82 -
tpl
_helpers.tpl
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
69 -
otel-collector-k8s-deployment.yaml
in sample-apps/prometheus-sample-app
68 -
configmap.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
46 -
daemonset.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
43 -
daemonset.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
31 -
sidecar.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
31 -
configmap.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-fargate-logging
31 -
prometheus-sample-app-k8s-deployment.yaml
in sample-apps/prometheus-sample-app
26 -
clusterrole.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
26 -
clusterrole.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
17 -
Chart.yaml
in charts/adot-eks-on-ec2-to-cw
16 -
clusterrolebinding.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
14 -
clusterrolebinding.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
14 -
config.yaml
in sample-apps/prometheus-sample-app
8 -
main.go
in sample-apps/prometheus-sample-app
8 1
sidecarnamespace.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
8 -
namespace.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
8 -
namespace.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-fargate-logging
8 -
namespace.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
8 -
serviceaccount.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
7 -
serviceaccount.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
7 -
Files With Most Units (Top 3)
File# lines# units
metrics_collector.go
in sample-apps/prometheus-sample-app/metrics
163 13
metrics_cli.go
in sample-apps/prometheus-sample-app/metrics
204 9
main.go
in sample-apps/prometheus-sample-app
8 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
configmap.yaml
in charts/adot-eks-on-ec2-to-cw/templates/aws-for-fluent-bit
195 - 3
values.yaml
in charts/adot-eks-on-ec2-to-cw
349 - 2
metrics_cli.go
in sample-apps/prometheus-sample-app/metrics
204 9 1
configmap.yaml
in charts/adot-eks-on-ec2-to-cw/templates/adot-collector
46 - 1