aws-samples / amazon-emr-with-juicefs
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 8 files with 941 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (547 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (180 lines of code)
    • 5 very small files (214 lines of code)
0% | 0% | 58% | 19% | 22%
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
ts0% | 0% | 81% | 0% | 18%
py0% | 0% | 72% | 0% | 27%
java0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/lib0% | 0% | 81% | 0% | 18%
source/benchmark-sample0% | 0% | 72% | 0% | 27%
source/benchmark-sample/tpcds-gen/src/main/java/org/notmysock/tpcds0% | 0% | 0% | 100% | 0%
deployment/cdk-solution-helper0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
source0% | 0% | 0% | 0% | 100%
Longest Files (Top 8)
File# lines# units
cdk-solution-stack.ts
in source/lib
336 6
emr-benchmark.py
in source/benchmark-sample
211 12
GenTable.java
in source/benchmark-sample/tpcds-gen/src/main/java/org/notmysock/tpcds
180 8
run-query.py
in source/benchmark-sample
79 8
utils.ts
in source/lib
76 -
index.js
in deployment/cdk-solution-helper
34 -
buildspec.yml
in root
16 -
jest.config.js
in source
9 -
Files With Most Units (Top 4)
File# lines# units
emr-benchmark.py
in source/benchmark-sample
211 12
GenTable.java
in source/benchmark-sample/tpcds-gen/src/main/java/org/notmysock/tpcds
180 8
run-query.py
in source/benchmark-sample
79 8
cdk-solution-stack.ts
in source/lib
336 6
Files With Long Lines (Top 3)

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

File# lines# units# long lines
cdk-solution-stack.ts
in source/lib
336 6 5
GenTable.java
in source/benchmark-sample/tpcds-gen/src/main/java/org/notmysock/tpcds
180 8 2
run-query.py
in source/benchmark-sample
79 8 1