awslabs / fhir-works-on-aws-interface
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 27 files with 2,562 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,552 lines of code)
    • 1 medium size files (245 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (138 lines of code)
    • 23 very small files (627 lines of code)
0% | 60% | 9% | 5% | 24%
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% | 100% | 0% | 0% | 0%
ts0% | 37% | 15% | 8% | 38%
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%
src0% | 39% | 16% | 9% | 34%
src/errors0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
openapi.yaml
in root
963 -
constants.ts
in src
589 -
stubs.ts
in src
245 28
utilities.ts
in src
138 6
fhirConfig.ts
in src
100 -
authorization.ts
in src
80 -
search.ts
in src
55 -
persistence.ts
in src
54 -
bundle.ts
in src
47 -
loggerBuilder.ts
in src
38 2
bulkDataAccess.ts
in src
35 -
history.ts
in src
30 -
index.ts
in src
23 -
resourceMeta.ts
in src
22 -
ResourceVersionNotFoundError.ts
in src/errors
19 2
ResourceNotFoundError.ts
in src/errors
17 2
ResourceConflictError.ts
in src/errors
17 2
codecov.yml
in root
16 -
TooManyConcurrentExportRequestsError.ts
in src/errors
15 2
InvalidSearchParameterError.ts
in src/errors
12 2
UnauthorizedError.ts
in src/errors
12 2
InvalidResourceError.ts
in src/errors
12 2
capabilities.ts
in src
10 -
genericResponse.ts
in src
4 -
smartAuthorization.ts
in src
3 -
validator.ts
in src
3 -
implementationGuides.ts
in src
3 -
Files With Most Units (Top 10)
File# lines# units
stubs.ts
in src
245 28
utilities.ts
in src
138 6
ResourceVersionNotFoundError.ts
in src/errors
19 2
ResourceNotFoundError.ts
in src/errors
17 2
InvalidSearchParameterError.ts
in src/errors
12 2
UnauthorizedError.ts
in src/errors
12 2
TooManyConcurrentExportRequestsError.ts
in src/errors
15 2
InvalidResourceError.ts
in src/errors
12 2
ResourceConflictError.ts
in src/errors
17 2
loggerBuilder.ts
in src
38 2
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
openapi.yaml
in root
963 - 1