aws-samples / connected-vehicle-lab
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 15 files with 15,791 lines of code.
    • 1 very long files (13,205 lines of code)
    • 2 long files (1,758 lines of code)
    • 1 medium size files (207 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (270 lines of code)
    • 9 very small files (351 lines of code)
83% | 11% | 1% | 1% | 2%
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
js95% | 0% | 1% | <1% | 1%
css0% | 99% | 0% | 0% | <1%
scss0% | 100% | 0% | 0% | 0%
html0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
digital-shadow/demo-car/js/aws-iot100% | 0% | 0% | 0% | 0%
digital-shadow/demo-car/css0% | 99% | 0% | 0% | <1%
digital-shadow/demo-car/scss0% | 100% | 0% | 0% | 0%
vehicle-command/lambda/custom0% | 0% | 68% | 0% | 31%
digital-shadow/demo-car0% | 0% | 0% | 100% | 0%
digital-shadow/connected-vehicle-app-cdk/lib0% | 0% | 0% | 100% | 0%
digital-shadow/demo-car/js0% | 0% | 0% | 0% | 100%
digital-shadow/tcu0% | 0% | 0% | 0% | 100%
Longest Files (Top 15)
File# lines# units
aws-iot.js
in digital-shadow/demo-car/js/aws-iot
13205 843
style.css
in digital-shadow/demo-car/css
900 -
style.scss
in digital-shadow/demo-car/scss
858 -
index.js
in vehicle-command/lambda/custom
207 22
demo.html
in digital-shadow/demo-car
163 -
connected-vehicle-app-cdk-stack.js
in digital-shadow/connected-vehicle-app-cdk/lib
107 1
webSocketApp.js
in digital-shadow/demo-car/js
98 13
demo-car.js
in digital-shadow/demo-car/js
64 6
local-debugger.js
in vehicle-command/lambda/custom
61 4
tcuShadowRead.py
in digital-shadow/tcu
53 7
tcuShadowWrite.py
in digital-shadow/tcu
34 3
languageStrings.js
in vehicle-command/lambda/custom
20 -
util.js
in vehicle-command/lambda/custom
14 -
appVariables.js
in digital-shadow/demo-car/js
6 -
divstyle.css
in digital-shadow/demo-car/css
1 -
Files With Most Units (Top 8)
File# lines# units
aws-iot.js
in digital-shadow/demo-car/js/aws-iot
13205 843
index.js
in vehicle-command/lambda/custom
207 22
webSocketApp.js
in digital-shadow/demo-car/js
98 13
tcuShadowRead.py
in digital-shadow/tcu
53 7
demo-car.js
in digital-shadow/demo-car/js
64 6
local-debugger.js
in vehicle-command/lambda/custom
61 4
tcuShadowWrite.py
in digital-shadow/tcu
34 3
connected-vehicle-app-cdk-stack.js
in digital-shadow/connected-vehicle-app-cdk/lib
107 1
Files With Long Lines (Top 7)

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

File# lines# units# long lines
aws-iot.js
in digital-shadow/demo-car/js/aws-iot
13205 843 80
connected-vehicle-app-cdk-stack.js
in digital-shadow/connected-vehicle-app-cdk/lib
107 1 7
demo-car.js
in digital-shadow/demo-car/js
64 6 4
webSocketApp.js
in digital-shadow/demo-car/js
98 13 3
local-debugger.js
in vehicle-command/lambda/custom
61 4 2
demo.html
in digital-shadow/demo-car
163 - 1
languageStrings.js
in vehicle-command/lambda/custom
20 - 1