aws-samples / streaming-analytics-workshop
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 24 files with 1,976 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (905 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (707 lines of code)
    • 16 very small files (364 lines of code)
0% | 0% | 45% | 35% | 18%
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% | 74% | 0% | 25%
yaml0% | 0% | 100% | 0% | 0%
ts0% | 0% | 24% | 66% | 9%
toml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
resources/flink-on-kda0% | 0% | 100% | 0% | 0%
resources/flink-on-kda/cdk/lib0% | 0% | 48% | 46% | 5%
resources/beam-on-kda/cdk/lib0% | 0% | 0% | 86% | 13%
resources/beam-on-kda/cdk/lambda0% | 0% | 0% | 0% | 100%
workshop0% | 0% | 0% | 0% | 100%
resources/flink-on-kda/cdk/lambda0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
resources/beam-on-kda/cdk0% | 0% | 0% | 0% | 100%
resources/flink-on-kda/cdk0% | 0% | 0% | 0% | 100%
workshop/layouts/partials0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
index.py
in resources/flink-on-kda
348 13
step-scaling.yaml
in resources/flink-on-kda
299 -
workshop-infrastructure.ts
in resources/flink-on-kda/cdk/lib
258 1
windows-dev-environment.ts
in resources/beam-on-kda/cdk/lib
177 1
workshop-infrastructure.ts
in resources/beam-on-kda/cdk/lib
152 -
github-build-pipeline.ts
in resources/beam-on-kda/cdk/lib
131 1
github-build-pipeline.ts
in resources/flink-on-kda/cdk/lib
131 1
build-workshop-resources.ts
in resources/flink-on-kda/cdk/lib
116 3
config.toml
in workshop
56 -
cloud9-dev-environment.ts
in resources/beam-on-kda/cdk/lib
42 1
build-pipeline-helper.py
in resources/beam-on-kda/cdk/lambda
33 2
build-pipeline-helper.py
in resources/flink-on-kda/cdk/lambda
33 2
empty-bucket.ts
in resources/beam-on-kda/cdk/lib
31 1
empty-bucket.ts
in resources/flink-on-kda/cdk/lib
31 1
buildspec.yml
in workshop
28 -
add-approximate-arrival-time.js
in resources/beam-on-kda/cdk/lambda
17 1
empty-bucket.py
in resources/beam-on-kda/cdk/lambda
16 1
empty-bucket.py
in resources/flink-on-kda/cdk/lambda
16 1
metadata.yml
in root
16 -
get-emr-master-id.py
in resources/beam-on-kda/cdk/lambda
12 1
jest.config.js
in resources/beam-on-kda/cdk
9 -
jest.config.js
in resources/flink-on-kda/cdk
9 -
custom-footer.html
in workshop/layouts/partials
8 -
stop-kda-app.py
in resources/beam-on-kda/cdk/lambda
7 1
Files With Most Units (Top 16)
File# lines# units
index.py
in resources/flink-on-kda
348 13
build-workshop-resources.ts
in resources/flink-on-kda/cdk/lib
116 3
build-pipeline-helper.py
in resources/beam-on-kda/cdk/lambda
33 2
build-pipeline-helper.py
in resources/flink-on-kda/cdk/lambda
33 2
cloud9-dev-environment.ts
in resources/beam-on-kda/cdk/lib
42 1
github-build-pipeline.ts
in resources/beam-on-kda/cdk/lib
131 1
empty-bucket.ts
in resources/beam-on-kda/cdk/lib
31 1
windows-dev-environment.ts
in resources/beam-on-kda/cdk/lib
177 1
add-approximate-arrival-time.js
in resources/beam-on-kda/cdk/lambda
17 1
stop-kda-app.py
in resources/beam-on-kda/cdk/lambda
7 1
get-emr-master-id.py
in resources/beam-on-kda/cdk/lambda
12 1
empty-bucket.py
in resources/beam-on-kda/cdk/lambda
16 1
github-build-pipeline.ts
in resources/flink-on-kda/cdk/lib
131 1
empty-bucket.ts
in resources/flink-on-kda/cdk/lib
31 1
workshop-infrastructure.ts
in resources/flink-on-kda/cdk/lib
258 1
empty-bucket.py
in resources/flink-on-kda/cdk/lambda
16 1
Files With Long Lines (Top 9)

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

File# lines# units# long lines
step-scaling.yaml
in resources/flink-on-kda
299 - 6
workshop-infrastructure.ts
in resources/flink-on-kda/cdk/lib
258 1 6
windows-dev-environment.ts
in resources/beam-on-kda/cdk/lib
177 1 4
workshop-infrastructure.ts
in resources/beam-on-kda/cdk/lib
152 - 3
cloud9-dev-environment.ts
in resources/beam-on-kda/cdk/lib
42 1 1
build-pipeline-helper.py
in resources/beam-on-kda/cdk/lambda
33 2 1
build-pipeline-helper.py
in resources/flink-on-kda/cdk/lambda
33 2 1
index.py
in resources/flink-on-kda
348 13 1
metadata.yml
in root
16 - 1