aws-samples / aws-amplify-gatsby-auth
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 19 files with 1,580 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (624 lines of code)
    • 2 medium size files (505 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (122 lines of code)
    • 15 very small files (329 lines of code)
0% | 39% | 31% | 7% | 20%
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
css0% | 100% | 0% | 0% | 0%
yml0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 27% | 72%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/components0% | 65% | 0% | 12% | 22%
amplify/backend/auth/cognito704b3e590% | 0% | 100% | 0% | 0%
amplify/backend/awscloudformation0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 0% | 0% | 100%
src/pages0% | 0% | 0% | 0% | 100%
src/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
layout.css
in src/components
624 -
cognito704b3e59-cloudformation-template.yml
in amplify/backend/auth/cognito704b3e59
286 -
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
219 -
SignUp.js
in src/components
122 1
Login.js
in src/components
79 1
layout.js
in src/components
47 -
header.js
in src/components
39 -
gatsby-config.js
in root
31 -
auth.js
in src/utils
20 -
app.js
in src/pages
19 -
Details.js
in src/components
17 -
index.js
in src/pages
15 -
gatsby-browser.js
in root
15 -
Error.js
in src/components
13 -
PrivateRoute.js
in src/components
11 -
Home.js
in src/components
8 -
gatsby-node.js
in root
7 -
404.js
in src/pages
7 -
gatsby-ssr.js
in root
1 -
Files With Most Units (Top 2)
File# lines# units
Login.js
in src/components
79 1
SignUp.js
in src/components
122 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
cognito704b3e59-cloudformation-template.yml
in amplify/backend/auth/cognito704b3e59
286 - 5
nested-cloudformation-stack.yml
in amplify/backend/awscloudformation
219 - 2
Home.js
in src/components
8 - 1
Error.js
in src/components
13 - 1
index.js
in src/pages
15 - 1
gatsby-config.js
in root
31 - 1