awslabs / aws-mobile-appsync-sdk-js
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 17 files with 1,444 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (678 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (503 lines of code)
    • 13 very small files (263 lines of code)
0% | 46% | 0% | 34% | 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
ts0% | 48% | 0% | 35% | 16%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
aws-appsync-subscription-link/src0% | 69% | 0% | 19% | 10%
aws-appsync-auth-link/src0% | 0% | 0% | 95% | 4%
aws-appsync-auth-link/src/signer0% | 0% | 0% | 99% | <1%
aws-appsync-subscription-link/src/utils0% | 0% | 0% | 0% | 100%
aws-appsync-subscription-link/src/types0% | 0% | 0% | 0% | 100%
aws-appsync-subscription-link0% | 0% | 0% | 0% | 100%
aws-appsync-auth-link0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
realtime-subscription-handshake-link.ts
in packages/aws-appsync-subscription-link/src
678 22
subscription-handshake-link.ts
in packages/aws-appsync-subscription-link/src
190 6
auth-link.ts
in packages/aws-appsync-auth-link/src
167 4
signer.ts
in packages/aws-appsync-auth-link/src/signer
146 12
index.ts
in packages/aws-appsync-subscription-link/src
68 3
retry.ts
in packages/aws-appsync-subscription-link/src/utils
52 3
index.ts
in packages/aws-appsync-subscription-link/src/types
47 -
non-terminating-link.ts
in packages/aws-appsync-subscription-link/src
27 1
jest.config.js
in packages/aws-appsync-subscription-link
19 -
jest.config.js
in packages/aws-appsync-auth-link
19 -
logger.ts
in packages/aws-appsync-subscription-link/src/utils
13 1
non-terminating-http-link.ts
in packages/aws-appsync-subscription-link/src
8 1
index.ts
in packages/aws-appsync-auth-link/src
4 -
platform.native.ts
in packages/aws-appsync-auth-link/src
2 -
platform.ts
in packages/aws-appsync-auth-link/src
2 -
index.ts
in packages/aws-appsync-subscription-link/src/utils
1 -
index.ts
in packages/aws-appsync-auth-link/src/signer
1 -
Files With Most Units (Top 9)
File# lines# units
realtime-subscription-handshake-link.ts
in packages/aws-appsync-subscription-link/src
678 22
signer.ts
in packages/aws-appsync-auth-link/src/signer
146 12
subscription-handshake-link.ts
in packages/aws-appsync-subscription-link/src
190 6
auth-link.ts
in packages/aws-appsync-auth-link/src
167 4
index.ts
in packages/aws-appsync-subscription-link/src
68 3
retry.ts
in packages/aws-appsync-subscription-link/src/utils
52 3
non-terminating-link.ts
in packages/aws-appsync-subscription-link/src
27 1
non-terminating-http-link.ts
in packages/aws-appsync-subscription-link/src
8 1
logger.ts
in packages/aws-appsync-subscription-link/src/utils
13 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
subscription-handshake-link.ts
in packages/aws-appsync-subscription-link/src
190 6 7
auth-link.ts
in packages/aws-appsync-auth-link/src
167 4 3
index.ts
in packages/aws-appsync-auth-link/src
4 - 1