aws-solutions / liveness-detection-framework
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 40 files with 3,217 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,111 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,083 lines of code)
    • 28 very small files (1,023 lines of code)
0% | 0% | 34% | 33% | 31%
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% | 0% | 72% | 12% | 14%
py0% | 0% | 43% | 48% | 8%
ts0% | 0% | 25% | 18% | 56%
tsx0% | 0% | 0% | 82% | 17%
css0% | 0% | 0% | 0% | 100%
scss0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/backend0% | 0% | 82% | 0% | 17%
source/backend/chalicelib0% | 0% | 44% | 49% | 5%
source/client0% | 0% | 69% | 30% | 0%
source/client/src/liveness/nose0% | 0% | 34% | 42% | 23%
source/client/src/liveness/pose0% | 0% | 0% | 58% | 41%
source/client/src/liveness/components0% | 0% | 0% | 40% | 59%
source/client/src/liveness0% | 0% | 0% | 60% | 39%
source/client/src/liveness/utils0% | 0% | 0% | 0% | 100%
deployment0% | 0% | 0% | 0% | 100%
source/client/src0% | 0% | 0% | 0% | 100%
source/client/public0% | 0% | 0% | 0% | 100%
Longest Files (Top 40)
File# lines# units
resources.yaml
in source/backend
374 -
framework.py
in source/backend/chalicelib
267 13
template-one-click.yaml
in source/client
251 -
States.ts
in source/client/src/liveness/nose
219 3
nose.py
in source/backend/chalicelib
190 8
PoseChallenge.tsx
in source/client/src/liveness/pose
170 6
NoseChallengeProcessor.ts
in source/client/src/liveness/nose
165 6
Welcome.tsx
in source/client/src/liveness/components
117 3
template.yaml
in source/client
112 -
LivenessDetection.tsx
in source/client/src/liveness
112 1
pose.py
in source/backend/chalicelib
109 8
NoseChallenge.tsx
in source/client/src/liveness/nose
108 5
APIUtils.ts
in source/client/src/liveness/utils
91 4
FacePose.ts
in source/client/src/liveness/pose
84 5
CanvasUtils.ts
in source/client/src/liveness/utils
79 9
liveness-detection-framework.yaml
in deployment
66 -
StateManager.ts
in source/client/src/liveness/nose
63 2
cognito.yaml
in source/backend
59 -
MediaUtils.ts
in source/client/src/liveness/utils
52 4
ConfigUtils.ts
in source/client/src/liveness/utils
46 3
ResultMessage.tsx
in source/client/src/liveness/components
45 1
OverlayCanvasDrawer.ts
in source/client/src/liveness/nose
42 3
app.scss
in source/client/src/liveness
38 -
Welcome.css
in source/client/src/liveness/components
38 -
LivenessDetection.css
in source/client/src/liveness
36 -
PoseChallenge.css
in source/client/src/liveness/pose
36 -
ErrorMessage.tsx
in source/client/src/liveness/components
32 -
NoseChallenge.css
in source/client/src/liveness/nose
31 -
LogUtils.ts
in source/client/src/liveness/utils
21 4
SpinnerMessage.tsx
in source/client/src/liveness/components
21 1
SpinnerMessage.css
in source/client/src/liveness/components
21 -
index.html
in source/client/public
19 -
app.py
in source/backend
19 1
custom.py
in source/backend/chalicelib
18 4
ResultMessage.css
in source/client/src/liveness/components
17 -
jwt_manager.py
in source/backend/chalicelib
14 3
index.css
in source/client/src
12 -
NoseChallengeParams.ts
in source/client/src/liveness/nose
12 -
index.tsx
in source/client/src
10 -
__init__.py
in source/backend/chalicelib
1 -
Files With Most Units (Top 20)
File# lines# units
framework.py
in source/backend/chalicelib
267 13
CanvasUtils.ts
in source/client/src/liveness/utils
79 9
nose.py
in source/backend/chalicelib
190 8
pose.py
in source/backend/chalicelib
109 8
PoseChallenge.tsx
in source/client/src/liveness/pose
170 6
NoseChallengeProcessor.ts
in source/client/src/liveness/nose
165 6
FacePose.ts
in source/client/src/liveness/pose
84 5
NoseChallenge.tsx
in source/client/src/liveness/nose
108 5
LogUtils.ts
in source/client/src/liveness/utils
21 4
MediaUtils.ts
in source/client/src/liveness/utils
52 4
APIUtils.ts
in source/client/src/liveness/utils
91 4
custom.py
in source/backend/chalicelib
18 4
ConfigUtils.ts
in source/client/src/liveness/utils
46 3
OverlayCanvasDrawer.ts
in source/client/src/liveness/nose
42 3
States.ts
in source/client/src/liveness/nose
219 3
Welcome.tsx
in source/client/src/liveness/components
117 3
jwt_manager.py
in source/backend/chalicelib
14 3
StateManager.ts
in source/client/src/liveness/nose
63 2
SpinnerMessage.tsx
in source/client/src/liveness/components
21 1
ResultMessage.tsx
in source/client/src/liveness/components
45 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
PoseChallenge.tsx
in source/client/src/liveness/pose
170 6 2
ErrorMessage.tsx
in source/client/src/liveness/components
32 - 2
ResultMessage.tsx
in source/client/src/liveness/components
45 1 1
resources.yaml
in source/backend
374 - 1