aws-samples / data-lake-as-code
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 14 files with 1,525 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (501 lines of code)
    • 1 medium size files (372 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (138 lines of code)
    • 11 very small files (514 lines of code)
0% | 32% | 24% | 9% | 33%
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% | 37% | 27% | 10% | 25%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/constructs0% | 47% | 35% | 0% | 17%
lib/stacks0% | 0% | 0% | 65% | 34%
scripts0% | 0% | 0% | 0% | 100%
lib0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
data-lake-enrollment.ts
in lib/constructs
501 10
data-set-enrollment.ts
in lib/constructs
372 5
datalake-stack.ts
in lib/stacks
138 2
s3-data-set-enrollment.ts
in lib/constructs
97 2
rds-data-set-enrollment.ts
in lib/constructs
90 7
dataset-stack.ts
in lib/stacks
74 7
ExamplePgRdsDataSet-stack.ts
in lib
42 1
ExampleS3DataSet-stack.ts
in lib
40 1
glue.s3import.fullcopy.s3.py
in scripts
40 -
glue.s3import.fullcopy.rds.py
in scripts
40 -
lambda.updateprimaryworkgroup.py
in scripts
37 1
lambda.activategluetigger.py
in scripts
23 1
local.datalake.RemoveIamAllowedPrincipals.py
in scripts
22 -
jest.config.js
in root
9 -
Files With Most Units (Top 10)
File# lines# units
data-lake-enrollment.ts
in lib/constructs
501 10
rds-data-set-enrollment.ts
in lib/constructs
90 7
dataset-stack.ts
in lib/stacks
74 7
data-set-enrollment.ts
in lib/constructs
372 5
s3-data-set-enrollment.ts
in lib/constructs
97 2
datalake-stack.ts
in lib/stacks
138 2
ExamplePgRdsDataSet-stack.ts
in lib
42 1
ExampleS3DataSet-stack.ts
in lib
40 1
lambda.updateprimaryworkgroup.py
in scripts
37 1
lambda.activategluetigger.py
in scripts
23 1
Files With Long Lines (Top 8)

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

File# lines# units# long lines
data-lake-enrollment.ts
in lib/constructs
501 10 22
data-set-enrollment.ts
in lib/constructs
372 5 10
s3-data-set-enrollment.ts
in lib/constructs
97 2 5
dataset-stack.ts
in lib/stacks
74 7 3
glue.s3import.fullcopy.s3.py
in scripts
40 - 2
glue.s3import.fullcopy.rds.py
in scripts
40 - 2
rds-data-set-enrollment.ts
in lib/constructs
90 7 1
datalake-stack.ts
in lib/stacks
138 2 1