aws-samples / fresh-tracks
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 45 files with 2,539 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (524 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (811 lines of code)
    • 39 very small files (1,204 lines of code)
0% | 20% | 0% | 31% | 47%
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% | 100% | 0% | 0% | 0%
vue0% | 0% | 0% | 70% | 29%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
backend/FreshTracks0% | 100% | 0% | 0% | 0%
src/components0% | 0% | 0% | 78% | 21%
backend/FreshTracks/Lambda0% | 0% | 0% | 0% | 100%
src/auth0% | 0% | 0% | 0% | 100%
src0% | 0% | 0% | 0% | 100%
src/views0% | 0% | 0% | 0% | 100%
public0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/directives0% | 0% | 0% | 0% | 100%
src/assets/css0% | 0% | 0% | 0% | 100%
Longest Files (Top 45)
File# lines# units
template.yaml
in backend/FreshTracks
524 -
List.vue
in src/components
195 -
Map.vue
in src/components
183 -
NavBar.vue
in src/components
160 -
Upload.vue
in src/components
152 -
Dropzone.vue
in src/components
121 -
authWrapper.js
in src/auth
99 10
Iot.vue
in src/components
75 -
lib.js
in backend/FreshTracks/Lambda/jwt-Rsa-Custom-Authorizer
58 1
GetActivity.js
in backend/FreshTracks/Lambda
56 -
ses.js
in backend/FreshTracks/Lambda
56 -
index.html
in public
48 -
GetActivitiesForUser.js
in backend/FreshTracks/Lambda
47 -
saveAuth0EventToS3.js
in backend/FreshTracks/Lambda
45 -
signedS3Url.js
in backend/FreshTracks/Lambda
43 -
Activities.vue
in src/views
42 -
ParseGPXFile.js
in backend/FreshTracks/Lambda
42 -
HomeContent.vue
in src/components
40 -
WritetoS3.js
in backend/FreshTracks/Lambda
40 -
countUp.vue
in src/components
39 -
App.vue
in src
36 -
SkeletonTable.vue
in src/components
34 -
CreateZendeskArticle.js
in backend/FreshTracks/Lambda
33 -
auth0CustomMetrics.js
in backend/FreshTracks/Lambda
33 -
main.js
in src
32 -
router.js
in src
31 -
Home.vue
in src/views
27 -
SaveTrackToDatabase.js
in backend/FreshTracks/Lambda
26 -
highlight.js
in src/directives
25 2
Profile.vue
in src/views
22 -
publishToIoT.js
in backend/FreshTracks/Lambda
21 -
GetFullZendeskUser.js
in backend/FreshTracks/Lambda
21 -
GetFullZendeskTicket.js
in backend/FreshTracks/Lambda
21 -
authGuard.js
in src/auth
18 -
Error.vue
in src/components
18 -
vue.config.js
in root
16 -
Hero.vue
in src/components
14 -
jwtRsaCustomAuthorizer.js
in backend/FreshTracks/Lambda/jwt-Rsa-Custom-Authorizer
12 -
web-server.js
in root
10 -
testHarness.js
in backend/FreshTracks/Lambda
8 -
postcss.config.js
in root
5 -
style.css
in src/assets/css
4 -
babel.config.js
in root
3 -
exec.ps1
in root
2 -
index.js
in src/auth
2 -
Files With Most Units (Top 3)
File# lines# units
authWrapper.js
in src/auth
99 10
highlight.js
in src/directives
25 2
lib.js
in backend/FreshTracks/Lambda/jwt-Rsa-Custom-Authorizer
58 1
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 16 long lines.

File# lines# units# long lines
HomeContent.vue
in src/components
40 - 5
Map.vue
in src/components
183 - 2
List.vue
in src/components
195 - 2
CreateZendeskArticle.js
in backend/FreshTracks/Lambda
33 - 2
Hero.vue
in src/components
14 - 1
index.html
in public
48 - 1
GetFullZendeskUser.js
in backend/FreshTracks/Lambda
21 - 1
GetFullZendeskTicket.js
in backend/FreshTracks/Lambda
21 - 1
template.yaml
in backend/FreshTracks
524 - 1