aws-samples / aws-dog-no-dog
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 725 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (261 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (130 lines of code)
    • 17 very small files (334 lines of code)
0% | 0% | 36% | 17% | 46%
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
vue0% | 0% | 87% | 0% | 12%
yml0% | 0% | 0% | 63% | 36%
py0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/components0% | 0% | 98% | 0% | 1%
backend_complete0% | 0% | 0% | 100% | 0%
backend_complete/src0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/backend0% | 0% | 0% | 0% | 100%
backend0% | 0% | 0% | 0% | 100%
backend/src0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
cypress/plugins0% | 0% | 0% | 0% | 100%
cypress/support0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
Photo.vue
in src/components
261 -
template.yml
in backend_complete
130 -
main.py
in backend_complete/src
69 4
api.js
in src/backend
42 4
template.yml
in backend
40 -
amplify.yml
in root
35 -
helpers.py
in backend_complete/src
32 2
helpers.py
in backend/src
32 2
App.vue
in src
31 -
index.html
in public
17 -
store.js
in src
8 -
main.js
in src
8 -
Header.vue
in src/components
5 -
postcss.config.js
in root
5 -
babel.config.js
in root
3 -
main.py
in backend/src
3 1
index.js
in cypress/plugins
2 -
index.js
in cypress/support
1 -
commands.js
in cypress/support
1 -
Files With Most Units (Top 5)
File# lines# units
api.js
in src/backend
42 4
main.py
in backend_complete/src
69 4
helpers.py
in backend_complete/src
32 2
helpers.py
in backend/src
32 2
main.py
in backend/src
3 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
index.html
in public
17 - 2
amplify.yml
in root
35 - 1