aws-samples / live-streaming-with-media-services-and-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 11 files with 1,493 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (617 lines of code)
    • 1 medium size files (264 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (424 lines of code)
    • 6 very small files (188 lines of code)
0% | 41% | 17% | 28% | 12%
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
ts0% | 100% | 0% | 0% | 0%
js0% | 0% | 31% | 51% | 17%
graphql0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk-media-services/lib0% | 100% | 0% | 0% | 0%
amplify-video-frontend/src0% | 0% | 94% | 0% | 5%
amplify-video-frontend/src/graphql0% | 0% | 0% | 75% | 24%
amplify-video-frontend/src/components0% | 0% | 0% | 78% | 21%
amplify-video-frontend/amplify/backend/api/amplifyvideofrontend0% | 0% | 0% | 0% | 100%
amplify-video-frontend/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 11)
File# lines# units
cdk-media-services-stack.ts
in cdk-media-services/lib
617 1
App.js
in amplify-video-frontend/src
264 5
mutations.js
in amplify-video-frontend/src/graphql
150 12
VideoChat.js
in amplify-video-frontend/src/components
147 4
queries.js
in amplify-video-frontend/src/graphql
127 9
subscriptions.js
in amplify-video-frontend/src/graphql
88 2
schema.graphql
in amplify-video-frontend/amplify/backend/api/amplifyvideofrontend
24 -
index.html
in amplify-video-frontend/public
21 -
DialogVideoChat.js
in amplify-video-frontend/src/components
20 -
VideoPlayer.js
in amplify-video-frontend/src/components
20 3
index.js
in amplify-video-frontend/src
15 -
Files With Most Units (Top 7)
File# lines# units
mutations.js
in amplify-video-frontend/src/graphql
150 12
queries.js
in amplify-video-frontend/src/graphql
127 9
App.js
in amplify-video-frontend/src
264 5
VideoChat.js
in amplify-video-frontend/src/components
147 4
VideoPlayer.js
in amplify-video-frontend/src/components
20 3
subscriptions.js
in amplify-video-frontend/src/graphql
88 2
cdk-media-services-stack.ts
in cdk-media-services/lib
617 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
cdk-media-services-stack.ts
in cdk-media-services/lib
617 1 5
VideoChat.js
in amplify-video-frontend/src/components
147 4 3
App.js
in amplify-video-frontend/src
264 5 2
VideoPlayer.js
in amplify-video-frontend/src/components
20 3 1