aws-samples / ask-around-me
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 46 files with 2,406 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (315 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (727 lines of code)
    • 40 very small files (1,364 lines of code)
0% | 0% | 13% | 30% | 56%
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% | 63% | 23% | 12%
vue0% | 0% | 0% | 76% | 23%
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
backend0% | 0% | 72% | 27% | 0%
frontend/src/views0% | 0% | 0% | 77% | 22%
frontend/src/components0% | 0% | 0% | 89% | 10%
backend/streams/processAnswers0% | 0% | 0% | 0% | 100%
backend/answers0% | 0% | 0% | 0% | 100%
frontend/src0% | 0% | 0% | 0% | 100%
frontend/src/auth0% | 0% | 0% | 0% | 100%
frontend/src/store0% | 0% | 0% | 0% | 100%
backend/questions/get0% | 0% | 0% | 0% | 100%
backend/streams/processQuestions0% | 0% | 0% | 0% | 100%
backend/loadTesting/4-sqs-test0% | 0% | 0% | 0% | 100%
backend/questions/processQuestion0% | 0% | 0% | 0% | 100%
backend/answers/processAnswerGeo0% | 0% | 0% | 0% | 100%
backend/answers/processAnswerStar0% | 0% | 0% | 0% | 100%
backend/questions/getGeoSummary0% | 0% | 0% | 0% | 100%
backend/questions/post0% | 0% | 0% | 0% | 100%
frontend/src/router0% | 0% | 0% | 0% | 100%
backend/loadTesting/2-answers0% | 0% | 0% | 0% | 100%
frontend/src/helpers0% | 0% | 0% | 0% | 100%
frontend/public0% | 0% | 0% | 0% | 100%
backend/loadTesting/1-questions0% | 0% | 0% | 0% | 100%
backend/loadTesting0% | 0% | 0% | 0% | 100%
backend/setup0% | 0% | 0% | 0% | 100%
backend/loadTesting/3-geo-test0% | 0% | 0% | 0% | 100%
frontend0% | 0% | 0% | 0% | 100%
frontend/src/plugins0% | 0% | 0% | 0% | 100%
Longest Files (Top 46)
File# lines# units
template.yaml
in backend
315 -
Question.vue
in frontend/src/components
179 -
HomeView.vue
in frontend/src/views
168 -
Answers.vue
in frontend/src/views
153 -
realtime.yaml
in backend
118 -
IoT.vue
in frontend/src/components
109 -
index.js
in frontend/src/auth
100 10
AskView.vue
in frontend/src/views
93 -
geoEvents.js
in backend/streams/processAnswers
90 -
starEvents.js
in backend/streams/processAnswers
80 2
index.js
in frontend/src/store
77 7
App.vue
in frontend/src
63 -
addToQueue.js
in backend/loadTesting/4-sqs-test
63 -
app.js
in backend/questions/get
53 -
app.js
in backend/streams/processQuestions
53 1
app.js
in backend/questions/processQuestion
47 3
main.js
in frontend/src
46 -
app.js
in backend/answers/processAnswerGeo
41 1
post.js
in backend/answers
39 -
app.js
in backend/answers/processAnswerStar
39 1
app.js
in backend/questions/post
38 -
delete.js
in backend/answers
34 -
app.js
in backend/questions/getGeoSummary
33 -
app.js
in backend/streams/processAnswers
32 -
index.js
in frontend/src/router
30 -
get.js
in backend/answers
26 -
2-test.yaml
in backend/loadTesting/2-answers
23 -
geoHash.js
in frontend/src/helpers
22 -
index.html
in frontend/public
21 -
1-test.yaml
in backend/loadTesting/1-questions
21 -
loadTestFunction.js
in backend/loadTesting
21 -
setup.js
in backend/setup
20 -
Ask.vue
in frontend/src/components
18 -
3-test.yaml
in backend/loadTesting/3-geo-test
18 -
Main.vue
in frontend/src/components
17 -
localTest.js
in backend/answers
13 -
localTest.js
in backend/questions/getGeoSummary
11 -
localTest.js
in backend/questions/get
11 -
localTest.js
in backend/questions/processQuestion
11 -
localTest.js
in backend/answers/processAnswerGeo
11 -
localTest.js
in backend/answers/processAnswerStar
11 -
localTest.js
in backend/streams/processAnswers
11 -
localTest.js
in backend/streams/processQuestions
11 -
vuetify.js
in frontend/src/plugins
6 -
babel.config.js
in frontend
5 -
vue.config.js
in frontend
5 -
Files With Most Units (Top 7)
File# lines# units
index.js
in frontend/src/auth
100 10
index.js
in frontend/src/store
77 7
app.js
in backend/questions/processQuestion
47 3
starEvents.js
in backend/streams/processAnswers
80 2
app.js
in backend/answers/processAnswerGeo
41 1
app.js
in backend/answers/processAnswerStar
39 1
app.js
in backend/streams/processQuestions
53 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
realtime.yaml
in backend
118 - 4
Question.vue
in frontend/src/components
179 - 3
Answers.vue
in frontend/src/views
153 - 2
HomeView.vue
in frontend/src/views
168 - 1
index.html
in frontend/public
21 - 1