awslabs / fhir-works-on-aws-deployment
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 35 files with 4,563 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,483 lines of code)
    • 3 medium size files (887 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,295 lines of code)
    • 21 very small files (898 lines of code)
0% | 32% | 19% | 28% | 19%
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
yaml0% | 60% | 12% | 18% | 8%
ps10% | 0% | 100% | 0% | 0%
py0% | 0% | 70% | 0% | 29%
ts0% | 0% | 0% | 58% | 41%
java0% | 0% | 0% | 78% | 21%
js0% | 0% | 0% | 51% | 48%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 98% | 0% | 0% | 1%
cloudformation0% | 44% | 22% | 22% | 9%
scripts0% | 0% | 45% | 28% | 26%
bulkExport/glueScripts0% | 0% | 100% | 0% | 0%
auditLogMover0% | 0% | 0% | 76% | 23%
javaHapiValidatorLambda/src0% | 0% | 0% | 78% | 21%
src/implementationGuides0% | 0% | 0% | 91% | 8%
src0% | 0% | 0% | 64% | 35%
bulkExport0% | 0% | 0% | 0% | 100%
updateSearchMappings0% | 0% | 0% | 0% | 100%
javaHapiValidatorLambda0% | 0% | 0% | 0% | 100%
ddbToEsLambda0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
serverless.yaml
in root
890 -
alarms.yaml
in cloudformation
593 -
win_install.ps1
in scripts
377 -
bulkExport.yaml
in cloudformation
302 -
export-script.py
in bulkExport/glueScripts
208 7
Validator.java
in javaHapiValidatorLambda/src/main/java/software/amazon/fwoa
192 11
elasticsearch.yaml
in cloudformation
173 -
IGCompiler.ts
in src/implementationGuides
162 10
serverless.yaml
in auditLogMover
162 -
elasticsearch-operations.js
in scripts
131 -
auditLogMoverHelper.ts
in auditLogMover
130 6
kms.yaml
in cloudformation
128 -
config.ts
in src
114 1
create-postman-collection.ts
in scripts
103 -
state-machine-definition.yaml
in bulkExport
90 -
handler.ts
in auditLogMover
88 -
sort-key-migration.js
in scripts
80 2
uploadGlueScriptsToS3.ts
in bulkExport
72 -
cognito.yaml
in cloudformation
69 -
provision-user.py
in scripts
69 -
backup.yaml
in cloudformation
59 -
index.ts
in updateSearchMappings
58 2
compile-igs.ts
in scripts
47 2
serverless.yml
in javaHapiValidatorLambda
45 -
extractPatientCompartmentSearchParams.js
in bulkExport
41 1
RBACRules.ts
in src
39 -
IgFile.java
in javaHapiValidatorLambda/src/main/java/software/amazon/fwoa/models
26 -
index.ts
in src
23 2
init-auth.py
in scripts
19 -
ValidatorResponse.java
in javaHapiValidatorLambda/src/main/java/software/amazon/fwoa
16 -
codecov.yml
in root
16 -
loadCompiledIGs.ts
in src/implementationGuides
15 -
IgIndex.java
in javaHapiValidatorLambda/src/main/java/software/amazon/fwoa/models
12 -
index.ts
in bulkExport
10 -
index.ts
in ddbToEsLambda
4 -
Files With Most Units (Top 10)
File# lines# units
Validator.java
in javaHapiValidatorLambda/src/main/java/software/amazon/fwoa
192 11
IGCompiler.ts
in src/implementationGuides
162 10
export-script.py
in bulkExport/glueScripts
208 7
auditLogMoverHelper.ts
in auditLogMover
130 6
index.ts
in updateSearchMappings
58 2
index.ts
in src
23 2
sort-key-migration.js
in scripts
80 2
compile-igs.ts
in scripts
47 2
config.ts
in src
114 1
extractPatientCompartmentSearchParams.js
in bulkExport
41 1
Files With Long Lines (Top 9)

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

File# lines# units# long lines
win_install.ps1
in scripts
377 - 19
export-script.py
in bulkExport/glueScripts
208 7 17
Validator.java
in javaHapiValidatorLambda/src/main/java/software/amazon/fwoa
192 11 7
elasticsearch.yaml
in cloudformation
173 - 4
alarms.yaml
in cloudformation
593 - 3
serverless.yaml
in root
890 - 2
IGCompiler.ts
in src/implementationGuides
162 10 1
bulkExport.yaml
in cloudformation
302 - 1
backup.yaml
in cloudformation
59 - 1