awslabs / aws-dataset-ingestion-metrics-collection-framework
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 32 files with 2,620 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (983 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (872 lines of code)
    • 23 very small files (765 lines of code)
0% | 0% | 37% | 33% | 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% | 37% | 33% | 29%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk_constructs0% | 0% | 51% | 25% | 23%
stacks0% | 0% | 66% | 33% | <1%
dataquality0% | 0% | 0% | 54% | 45%
lambda0% | 0% | 0% | 37% | 62%
definitions0% | 0% | 0% | 99% | <1%
glue0% | 0% | 0% | 0% | 100%
definitions/account_1234123412340% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
accounts0% | 0% | 0% | 0% | 100%
Longest Files (Top 32)
File# lines# units
glue_catalog_construct.py
in cdk_constructs
397 1
metrics_streamer.py
in stacks
343 8
glue_job_construct.py
in cdk_constructs
243 2
lambda_construct.py
in cdk_constructs
175 3
centralized_resources.py
in stacks
173 2
kinesis_construct.py
in cdk_constructs
140 1
metric.py
in dataquality
135 12
metric_stream_producer.py
in lambda
128 5
definition.py
in definitions
121 5
sla_stream_producer.py
in lambda
78 4
sla_parse.py
in lambda
72 2
metric_streamer_construct.py
in cdk_constructs
69 1
sla_streamer_construct.py
in cdk_constructs
68 1
sla_parse_construct.py
in cdk_constructs
61 1
add_partition.py
in lambda
60 1
cw_alarm.py
in cdk_constructs
54 1
business_metrics.py
in glue
47 -
cw_metric.py
in cdk_constructs
43 1
set1.py
in definitions/account_123412341234
36 -
app.py
in root
36 -
set.py
in dataquality
35 4
stream.py
in dataquality
29 2
sla.py
in dataquality
29 1
accounts.py
in accounts
23 3
dataset.py
in dataquality
13 1
__init__.py
in dataquality
6 -
__init__.py
in definitions
1 -
__init__.py
in definitions/account_123412341234
1 -
__init__.py
in accounts
1 -
__init__.py
in cdk_constructs
1 -
__init__.py
in lambda
1 -
__init__.py
in stacks
1 -
Files With Most Units (Top 20)
File# lines# units
metric.py
in dataquality
135 12
metrics_streamer.py
in stacks
343 8
definition.py
in definitions
121 5
metric_stream_producer.py
in lambda
128 5
set.py
in dataquality
35 4
sla_stream_producer.py
in lambda
78 4
accounts.py
in accounts
23 3
lambda_construct.py
in cdk_constructs
175 3
stream.py
in dataquality
29 2
glue_job_construct.py
in cdk_constructs
243 2
sla_parse.py
in lambda
72 2
centralized_resources.py
in stacks
173 2
sla.py
in dataquality
29 1
dataset.py
in dataquality
13 1
cw_alarm.py
in cdk_constructs
54 1
glue_catalog_construct.py
in cdk_constructs
397 1
cw_metric.py
in cdk_constructs
43 1
sla_streamer_construct.py
in cdk_constructs
68 1
kinesis_construct.py
in cdk_constructs
140 1
metric_streamer_construct.py
in cdk_constructs
69 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 19 long lines.

File# lines# units# long lines
metrics_streamer.py
in stacks
343 8 6
sla_parse.py
in lambda
72 2 3
glue_catalog_construct.py
in cdk_constructs
397 1 2
lambda_construct.py
in cdk_constructs
175 3 2
sla_streamer_construct.py
in cdk_constructs
68 1 1
glue_job_construct.py
in cdk_constructs
243 2 1
kinesis_construct.py
in cdk_constructs
140 1 1
metric_streamer_construct.py
in cdk_constructs
69 1 1
sla_parse_construct.py
in cdk_constructs
61 1 1
metric_stream_producer.py
in lambda
128 5 1