aws-samples / lambda-refarch-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 17 files with 1,140 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (355 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (156 lines of code)
    • 15 very small files (629 lines of code)
0% | 0% | 31% | 13% | 55%
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% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 21% | 78%
css0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 100% | 0% | 0%
www/src0% | 0% | 0% | 42% | 57%
todo-src/updateTodo0% | 0% | 0% | 0% | 100%
todo-src/addTodo0% | 0% | 0% | 0% | 100%
todo-src/completeTodo0% | 0% | 0% | 0% | 100%
todo-src/deleteTodo0% | 0% | 0% | 0% | 100%
todo-src/getTodo0% | 0% | 0% | 0% | 100%
todo-src/getAllTodo0% | 0% | 0% | 0% | 100%
www/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
template.yaml
in root
355 -
App.js
in www/src
156 3
serviceWorker.js
in www/src
92 4
app.js
in todo-src/updateTodo
80 3
app.js
in todo-src/addTodo
70 4
app.js
in todo-src/completeTodo
66 3
app.js
in todo-src/deleteTodo
66 3
app.js
in todo-src/getTodo
63 3
app.js
in todo-src/getAllTodo
55 2
ToDo.js
in www/src
50 1
index.html
in www/public
19 -
App.css
in www/src
15 -
ToDo.css
in www/src
14 -
index.css
in www/src
14 -
index.js
in www/src
11 -
config.js
in www/src
7 -
config.default.js
in www/src
7 -
Files With Most Units (Top 9)
File# lines# units
app.js
in todo-src/addTodo
70 4
serviceWorker.js
in www/src
92 4
app.js
in todo-src/completeTodo
66 3
app.js
in todo-src/getTodo
63 3
app.js
in todo-src/updateTodo
80 3
app.js
in todo-src/deleteTodo
66 3
App.js
in www/src
156 3
app.js
in todo-src/getAllTodo
55 2
ToDo.js
in www/src
50 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
ToDo.js
in www/src
50 1 6
template.yaml
in root
355 - 3
App.js
in www/src
156 3 3