aws-solutions / real-time-live-sports-updates-using-aws-appsync
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 34 files with 50,318 lines of code.
    • 7 very long files (47,288 lines of code)
    • 1 long files (666 lines of code)
    • 2 medium size files (781 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (965 lines of code)
    • 18 very small files (618 lines of code)
93% | 1% | 1% | 1% | 1%
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
js95% | 0% | 1% | 1% | 1%
graphql0% | 100% | 0% | 0% | 0%
css0% | 0% | 0% | 0% | 100%
jsx0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
functions/gamesimulator-function99% | 0% | 0% | 0% | <1%
webapp/src90% | 0% | 0% | 5% | 3%
api0% | 100% | 0% | 0% | 0%
functions/preprocess-function0% | 0% | 100% | 0% | 0%
functions/gamesimulator-init-function0% | 0% | 54% | 0% | 45%
functions/gamesimulator-scheduler-function0% | 0% | 0% | 100% | 0%
functions/gameupdates-notifications-function0% | 0% | 0% | 99% | <1%
functions/scheduler-function0% | 0% | 0% | 100% | 0%
functions/ingestion-function0% | 0% | 0% | 0% | 100%
functions/gameupdates-pinpoint-cleansing-function0% | 0% | 0% | 0% | 100%
webapp/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 34)
File# lines# units
so0102sim:match:01.js
in source/functions/gamesimulator-function
33350 -
so0102sim:match:03.js
in source/functions/gamesimulator-function
3244 -
so0102sim:match:02.js
in source/functions/gamesimulator-function
2736 -
so0102sim:match:04.js
in source/functions/gamesimulator-function
2517 -
mutations.js
in source/webapp/src/graphql
2163 36
subscriptions.js
in source/webapp/src/graphql
2109 -
queries.js
in source/webapp/src/graphql
1169 24
schema.graphql
in source/api
666 -
index.js
in source/functions/preprocess-function
478 12
index.js
in source/functions/gamesimulator-init-function
303 16
index.js
in source/webapp/src/components/Game
196 5
index.js
in source/functions/gameupdates-notifications-function
183 6
index.js
in source/functions/scheduler-function
162 5
App.js
in source/webapp/src
156 4
index.js
in source/functions/gamesimulator-scheduler-function
143 6
games.js
in source/functions/gamesimulator-scheduler-function
125 -
serviceWorker.js
in source/webapp/src
98 4
gamesConfiguration.js
in source/functions/gamesimulator-init-function
96 -
footballConfiguration.js
in source/functions/gamesimulator-init-function
70 -
index.js
in source/functions/ingestion-function
62 -
soccerConfiguration.js
in source/functions/gamesimulator-init-function
58 -
index.js
in source/functions/gamesimulator-function
43 -
App.css
in source/webapp/src
40 -
index.jsx
in source/webapp/src/components/Router
28 -
index.js
in source/functions/gamesimulator-init-function/lib/cfn
28 -
index.js
in source/functions/gameupdates-pinpoint-cleansing-function
28 -
index.html
in source/webapp/public
20 -
index.css
in source/webapp/src
12 -
index.css
in source/webapp/src/components/Router
12 -
index.js
in source/webapp/src
10 -
aws-exports.js
in source/webapp/src
8 -
Game.css
in source/webapp/src/components/Game
3 -
setupTests.js
in source/webapp/src
1 -
config.js
in source/functions/gameupdates-notifications-function
1 -
Files With Most Units (Top 10)
File# lines# units
mutations.js
in source/webapp/src/graphql
2163 36
queries.js
in source/webapp/src/graphql
1169 24
index.js
in source/functions/gamesimulator-init-function
303 16
index.js
in source/functions/preprocess-function
478 12
index.js
in source/functions/gamesimulator-scheduler-function
143 6
index.js
in source/functions/gameupdates-notifications-function
183 6
index.js
in source/webapp/src/components/Game
196 5
index.js
in source/functions/scheduler-function
162 5
serviceWorker.js
in source/webapp/src
98 4
App.js
in source/webapp/src
156 4
Files With Long Lines (Top 12)

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

File# lines# units# long lines
so0102sim:match:01.js
in source/functions/gamesimulator-function
33350 - 117
so0102sim:match:02.js
in source/functions/gamesimulator-function
2736 - 16
index.js
in source/functions/gamesimulator-init-function
303 16 14
so0102sim:match:03.js
in source/functions/gamesimulator-function
3244 - 14
index.js
in source/webapp/src/components/Game
196 5 8
schema.graphql
in source/api
666 - 8
index.js
in source/functions/gameupdates-notifications-function
183 6 4
index.js
in source/functions/scheduler-function
162 5 3
App.js
in source/webapp/src
156 4 2
index.jsx
in source/webapp/src/components/Router
28 - 1
index.js
in source/functions/preprocess-function
478 12 1
config.js
in source/functions/gameupdates-notifications-function
1 - 1