aws-samples / amazon-ivs-clip-web-demo
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 10 files with 1,014 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (331 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (427 lines of code)
    • 6 very small files (256 lines of code)
0% | 0% | 32% | 42% | 25%
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
css0% | 0% | 100% | 0% | 0%
go0% | 0% | 0% | 83% | 16%
js0% | 0% | 0% | 92% | 7%
ts0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
web-ui0% | 0% | 54% | 31% | 13%
clips/hls0% | 0% | 0% | 100% | 0%
clips0% | 0% | 0% | 100% | 0%
cdk/lib0% | 0% | 0% | 0% | 100%
clips/remux0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
style.css
in web-ui
331 -
clip.js
in web-ui
192 19
hls.go
in clips/hls
125 6
clips.go
in clips
110 3
index.html
in web-ui
85 -
backend-stack.ts
in cdk/lib
84 1
remux.go
in clips/remux
45 1
ui-stack.ts
in cdk/lib
27 1
repack.js
in cdk
8 -
jest.config.js
in cdk
7 -
Files With Most Units (Top 6)
File# lines# units
clip.js
in web-ui
192 19
hls.go
in clips/hls
125 6
clips.go
in clips
110 3
ui-stack.ts
in cdk/lib
27 1
backend-stack.ts
in cdk/lib
84 1
remux.go
in clips/remux
45 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
index.html
in web-ui
85 - 9
style.css
in web-ui
331 - 1
clips.go
in clips
110 3 1