aws-samples / aws-elasticbeanstalk-fullstack-webapp
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 24 files with 540 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (127 lines of code)
    • 23 very small files (413 lines of code)
0% | 0% | 0% | 23% | 76%
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
js0% | 0% | 0% | 32% | 67%
css0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
jade0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
userreg-react-beanstalk/src/sign-up0% | 0% | 0% | 100% | 0%
userreg-react-beanstalk/src0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-db/routes0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/cdk/lib0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-db0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-sns0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-sns/routes0% | 0% | 0% | 0% | 100%
userreg-react-beanstalk/public0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-db/views0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-sns/views0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-db/public0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/cdk0% | 0% | 0% | 0% | 100%
userreg-api-node-beanstalk/api-sns/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 24)
File# lines# units
page.js
in userreg-react-beanstalk/src/sign-up
127 5
serviceWorker.js
in userreg-react-beanstalk/src
98 4
cdk-stack.ts
in userreg-api-node-beanstalk/cdk/lib
39 1
App.css
in userreg-react-beanstalk/src
33 -
app.js
in userreg-api-node-beanstalk/api-db
32 -
app.js
in userreg-api-node-beanstalk/api-sns
32 -
signup.js
in userreg-api-node-beanstalk/api-db/routes
31 -
sns-subscribe.js
in userreg-api-node-beanstalk/api-sns/routes
21 -
index.html
in userreg-react-beanstalk/public
20 -
index.css
in userreg-react-beanstalk/src
15 -
index.js
in userreg-react-beanstalk/src
13 -
App.js
in userreg-react-beanstalk/src
10 -
index.js
in userreg-api-node-beanstalk/api-db/routes
8 -
jade
layout.jade
in userreg-api-node-beanstalk/api-db/views
7 -
style.css
in userreg-api-node-beanstalk/api-db/public/stylesheets
7 -
jest.config.js
in userreg-api-node-beanstalk/cdk
7 -
jade
layout.jade
in userreg-api-node-beanstalk/api-sns/views
7 -
style.css
in userreg-api-node-beanstalk/api-sns/public/stylesheets
7 -
index.js
in userreg-api-node-beanstalk/api-sns/routes
7 -
jade
error.jade
in userreg-api-node-beanstalk/api-db/views
5 -
jade
error.jade
in userreg-api-node-beanstalk/api-sns/views
5 -
jade
index.jade
in userreg-api-node-beanstalk/api-db/views
4 -
jade
index.jade
in userreg-api-node-beanstalk/api-sns/views
4 -
setupTests.js
in userreg-react-beanstalk/src
1 -
Files With Most Units (Top 3)
File# lines# units
page.js
in userreg-react-beanstalk/src/sign-up
127 5
serviceWorker.js
in userreg-react-beanstalk/src
98 4
cdk-stack.ts
in userreg-api-node-beanstalk/cdk/lib
39 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 5 long lines.

File# lines# units# long lines
cdk-stack.ts
in userreg-api-node-beanstalk/cdk/lib
39 1 4
page.js
in userreg-react-beanstalk/src/sign-up
127 5 1