aws-samples / aws-cdk-managed-elkk
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 19 files with 1,618 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (236 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (901 lines of code)
    • 12 very small files (481 lines of code)
0% | 0% | 14% | 55% | 29%
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% | 14% | 57% | 27%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
logstash0% | 0% | 99% | 0% | <1%
kibana0% | 0% | 0% | 100% | 0%
helpers0% | 0% | 0% | 49% | 50%
filebeat0% | 0% | 0% | 53% | 46%
kafka0% | 0% | 0% | 100% | 0%
elastic0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
athena0% | 0% | 0% | 0% | 100%
vpc0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
logstash_stack.py
in logstash
236 1
kibana_stack.py
in kibana
177 1
lambda_function.py
in kibana
168 11
functions.py
in helpers
144 11
log_generator.py
in filebeat
143 2
kafka_stack.py
in kafka
138 2
elastic_stack.py
in elastic
131 1
app.py
in root
87 -
filebeat_stack.py
in filebeat
85 1
lambda_env_update.py
in helpers
74 1
athena_stack.py
in athena
51 2
setup.py
in root
44 -
filebeat.yml
in filebeat
38 -
custom_resource.py
in helpers
34 1
vpc_stack.py
in vpc
25 4
s3_bucket_empty.py
in helpers
22 1
constants.py
in helpers
18 -
logstash.yml
in logstash
2 -
__init__.py
in helpers
1 -
Files With Most Units (Top 13)
File# lines# units
lambda_function.py
in kibana
168 11
functions.py
in helpers
144 11
vpc_stack.py
in vpc
25 4
log_generator.py
in filebeat
143 2
athena_stack.py
in athena
51 2
kafka_stack.py
in kafka
138 2
kibana_stack.py
in kibana
177 1
s3_bucket_empty.py
in helpers
22 1
lambda_env_update.py
in helpers
74 1
custom_resource.py
in helpers
34 1
filebeat_stack.py
in filebeat
85 1
logstash_stack.py
in logstash
236 1
elastic_stack.py
in elastic
131 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 14 long lines.

File# lines# units# long lines
kafka_stack.py
in kafka
138 2 8
logstash_stack.py
in logstash
236 1 4
filebeat_stack.py
in filebeat
85 1 2