aws-samples / cognito-at-edge-federated-ui-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 44 files with 1,298 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (402 lines of code)
    • 41 very small files (896 lines of code)
0% | 0% | 0% | 30% | 69%
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% | 0% | 0% | 41% | 58%
tsx0% | 0% | 0% | 30% | 69%
scss0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
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
infrastructure/lib/constructs0% | 0% | 0% | 68% | 31%
web/src/components0% | 0% | 0% | 20% | 79%
web/src0% | 0% | 0% | 0% | 100%
web/src/hooks0% | 0% | 0% | 0% | 100%
infrastructure/lib0% | 0% | 0% | 0% | 100%
infrastructure/lib/helpers0% | 0% | 0% | 0% | 100%
web/src/state0% | 0% | 0% | 0% | 100%
web/src/services0% | 0% | 0% | 0% | 100%
web/src/routes0% | 0% | 0% | 0% | 100%
web/testing/mocks0% | 0% | 0% | 0% | 100%
web/public0% | 0% | 0% | 0% | 100%
infrastructure0% | 0% | 0% | 0% | 100%
Longest Files (Top 44)
File# lines# units
app-cdn.ts
in infrastructure/lib/constructs
175 -
app-user-pool.ts
in infrastructure/lib/constructs
122 -
sample.tsx
in web/src/components/pages/sample
105 5
page-header.scss
in web/src/components/layout/page-header
77 -
authenticator.ts
in web/src/hooks
73 4
home.tsx
in web/src/components/pages/home
65 1
infrastructure-stack.ts
in infrastructure/lib
52 -
sample.scss
in web/src/components/pages/sample
50 -
home.scss
in web/src/components/pages/home
50 -
identity-pool.ts
in infrastructure/lib/constructs
44 1
page-header.tsx
in web/src/components/layout/page-header
38 -
notifications.logic.ts
in web/src/components/layout/notifications
38 3
user-pool-identity-provider-oidc.ts
in infrastructure/lib/constructs
36 1
async-handler.ts
in infrastructure/lib/helpers
35 1
app.css
in web/src
33 -
app-cdn.auth-handler.ts
in infrastructure/lib/constructs
30 -
user-selector.tsx
in web/src/components/layout/page-header
28 1
navigation.tsx
in web/src/components/layout/navigation
28 -
identity-pool-role.ts
in infrastructure/lib/constructs
28 -
app.tsx
in web/src
24 1
index.tsx
in web/src
21 -
logged-user.ts
in web/src/state
19 -
breadcrumb.tsx
in web/src/components/layout/breadcrumb
19 1
my-app-api.ts
in web/src/services/API
14 1
reportWebVitals.ts
in web/src
13 -
notifications.ts
in web/src/state
10 -
aws-amplify.js
in web/testing/mocks
10 -
index.html
in web/public
10 -
data-provider.ts
in web/src/services
8 -
router-auth.tsx
in web/src/routes
8 -
router-noauth.tsx
in web/src/routes
7 -
jest.config.js
in infrastructure
7 -
notifications.tsx
in web/src/components/layout/notifications
6 -
index.ts
in web/src/state
2 -
index.ts
in web/src/components/layout/notifications
2 -
index.ts
in web/src/components/pages
2 -
index.ts
in web/src/routes
2 -
setupTests.ts
in web/src
1 -
index.css
in web/src
1 -
navigation.scss
in web/src/components/layout/navigation
1 -
breadcrumb.scss
in web/src/components/layout/breadcrumb
1 -
index.ts
in web/src/services/API
1 -
index.ts
in web/src/services
1 -
index.ts
in web/src/hooks
1 -
Files With Most Units (Top 11)
File# lines# units
sample.tsx
in web/src/components/pages/sample
105 5
authenticator.ts
in web/src/hooks
73 4
notifications.logic.ts
in web/src/components/layout/notifications
38 3
app.tsx
in web/src
24 1
user-selector.tsx
in web/src/components/layout/page-header
28 1
breadcrumb.tsx
in web/src/components/layout/breadcrumb
19 1
home.tsx
in web/src/components/pages/home
65 1
my-app-api.ts
in web/src/services/API
14 1
async-handler.ts
in infrastructure/lib/helpers
35 1
identity-pool.ts
in infrastructure/lib/constructs
44 1
user-pool-identity-provider-oidc.ts
in infrastructure/lib/constructs
36 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines