aws-samples / amazon-chime-sdk-aws-appsync-sample
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 23 files with 1,116 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (204 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (107 lines of code)
    • 21 very small files (805 lines of code)
0% | 0% | 18% | 9% | 72%
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
tsx0% | 0% | 55% | 0% | 44%
ts0% | 0% | 0% | 17% | 82%
py0% | 0% | 0% | 0% | 100%
graphql0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Website/src/containers0% | 0% | 73% | 0% | 26%
Infra/lib/stack0% | 0% | 0% | 33% | 66%
Website/src0% | 0% | 0% | 0% | 100%
Website/src/api0% | 0% | 0% | 0% | 100%
Website/src/components0% | 0% | 0% | 0% | 100%
Infra/lib/constructs0% | 0% | 0% | 0% | 100%
Lambdas/ChimeCallService/src0% | 0% | 0% | 0% | 100%
Infra/lib/custom-resources0% | 0% | 0% | 0% | 100%
Infra/lib/graphql0% | 0% | 0% | 0% | 100%
Infra/lib0% | 0% | 0% | 0% | 100%
Website/public0% | 0% | 0% | 0% | 100%
Lambdas/Common/src0% | 0% | 0% | 0% | 100%
Website0% | 0% | 0% | 0% | 100%
Infra/lib/utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
HomeContainer.tsx
in Website/src/containers/Home
204 8
CognitoAuthStack.ts
in Infra/lib/stack
107 1
serviceWorker.ts
in Website/src
95 4
StaticWebsiteStack.ts
in Infra/lib/stack
89 1
AppSyncStack.ts
in Infra/lib/stack
79 1
index.tsx
in Website/src/containers/App
73 1
ModalChimeDialog.tsx
in Website/src/components/Controls
68 -
MeetingProvider.ts
in Infra/lib/constructs
64 1
api.ts
in Website/src/api
53 -
index.ts
in Lambdas/ChimeCallService/src
42 2
app.py
in Infra/lib/custom-resources/upload-website-config
36 2
schema.graphql
in Infra/lib/graphql
31 -
AppStacks.ts
in Infra/lib
30 1
ApiStack.ts
in Infra/lib/stack
25 1
index.tsx
in Website/src
23 -
index.html
in Website/public
21 -
index.css
in Website/src
18 -
ChimeCallServiceClient.ts
in Website/src/api
15 1
UserPoolStack.ts
in Infra/lib/stack
15 1
config-overrides.js
in Website
13 -
index.ts
in Lambdas/Common/src/api
12 -
index.ts
in Lambdas/Common/src
2 -
lambda.ts
in Infra/lib/utils
1 -
Files With Most Units (Top 13)
File# lines# units
HomeContainer.tsx
in Website/src/containers/Home
204 8
serviceWorker.ts
in Website/src
95 4
app.py
in Infra/lib/custom-resources/upload-website-config
36 2
index.ts
in Lambdas/ChimeCallService/src
42 2
ChimeCallServiceClient.ts
in Website/src/api
15 1
index.tsx
in Website/src/containers/App
73 1
AppStacks.ts
in Infra/lib
30 1
MeetingProvider.ts
in Infra/lib/constructs
64 1
UserPoolStack.ts
in Infra/lib/stack
15 1
AppSyncStack.ts
in Infra/lib/stack
79 1
CognitoAuthStack.ts
in Infra/lib/stack
107 1
ApiStack.ts
in Infra/lib/stack
25 1
StaticWebsiteStack.ts
in Infra/lib/stack
89 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
index.tsx
in Website/src/containers/App
73 1 1
ModalChimeDialog.tsx
in Website/src/components/Controls
68 - 1
AppSyncStack.ts
in Infra/lib/stack
79 1 1