aws-samples / amazon-rekognition-video-analyzer
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 14 files with 11,384 lines of code.
    • 2 very long files (10,034 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (749 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (259 lines of code)
    • 8 very small files (342 lines of code)
88% | 0% | 6% | 2% | 3%
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
js99% | 0% | 0% | 0% | <1%
yaml0% | 0% | 100% | 0% | 0%
py0% | 0% | 48% | 18% | 32%
css0% | 0% | 0% | 100% | 0%
html0% | 0% | 0% | 0% | 100%
TXT0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
web-ui/src/js100% | 0% | 0% | 0% | 0%
aws-infra0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 97% | 0% | 2%
web-ui/src0% | 0% | 0% | 76% | 23%
lambda/imageprocessor0% | 0% | 0% | 98% | 1%
client0% | 0% | 0% | 0% | 100%
lambda/framefetcher0% | 0% | 0% | 0% | 100%
web-ui0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
vue.js
in web-ui/src/js
7547 481
axios.js
in web-ui/src/js
2487 133
aws-infra-cfn.yaml
in aws-infra
417 -
build.py
in root
332 16
app.css
in web-ui/src
132 -
imageprocessor.py
in lambda/imageprocessor
127 4
video_cap_ipcam.py
in client
85 2
video_cap.py
in client
71 2
framefetcher.py
in lambda/framefetcher
66 5
index.html
in web-ui
65 -
app.js
in web-ui/src
41 3
TXT
LICENSE.TXT
in root
10 -
cfg
setup.cfg
in lambda/imageprocessor
2 -
cfg
setup.cfg
in lambda/framefetcher
2 -
Files With Most Units (Top 8)
File# lines# units
vue.js
in web-ui/src/js
7547 481
axios.js
in web-ui/src/js
2487 133
build.py
in root
332 16
framefetcher.py
in lambda/framefetcher
66 5
imageprocessor.py
in lambda/imageprocessor
127 4
app.js
in web-ui/src
41 3
video_cap.py
in client
71 2
video_cap_ipcam.py
in client
85 2
Files With Long Lines (Top 6)

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

File# lines# units# long lines
vue.js
in web-ui/src/js
7547 481 10
aws-infra-cfn.yaml
in aws-infra
417 - 7
axios.js
in web-ui/src/js
2487 133 5
build.py
in root
332 16 2
TXT
LICENSE.TXT
in root
10 - 1
index.html
in web-ui
65 - 1