microsoft / vscode-arduino
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 72 files with 8,020 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (590 lines of code)
    • 9 medium size files (2,801 lines of codeclsfd_ftr_w_mp_ins)
    • 17 small files (2,664 lines of code)
    • 45 very small files (1,965 lines of code)
0% | 7% | 34% | 33% | 24%
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% | 9% | 39% | 25% | 24%
css0% | 0% | 95% | 0% | 4%
tsx0% | 0% | 0% | 73% | 26%
scss0% | 0% | 0% | 68% | 31%
yml0% | 0% | 0% | 100% | 0%
js0% | 0% | 0% | 93% | 6%
html0% | 0% | 0% | 0% | 100%
proj0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
ino0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/arduino0% | 23% | 36% | 28% | 11%
src/views0% | 0% | 28% | 35% | 35%
src0% | 0% | 64% | 19% | 16%
src/common0% | 0% | 53% | 0% | 46%
src/serialmonitor0% | 0% | 39% | 55% | 5%
src/debug0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 100% | 0%
src/logger0% | 0% | 0% | 0% | 100%
src/langService0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
snippets0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
arduino.ts
in src/arduino
590 26
boardManager.ts
in src/arduino
438 30
extension.ts
in src
369 2
util.ts
in src/common
359 24
react-select.css
in src/views/app/styles
359 -
index.ts
in src/views/app/actions
299 36
arduinoContentProvider.ts
in src/arduino
293 22
serialMonitor.ts
in src/serialmonitor
249 13
deviceContext.ts
in src
230 31
arduinoSettings.ts
in src/arduino
205 19
board.scss
in src/views/app/styles
198 -
deviceSettings.ts
in src
185 16
usbDetector.ts
in src/serialmonitor
184 10
configurationProvider.ts
in src/debug
174 8
serialportctrl.ts
in src/serialmonitor
168 13
intellisense.ts
in src/arduino
166 8
LibraryManager.tsx
in src/views/app/components
163 5
exampleManager.ts
in src/arduino
155 6
LibraryItemView.tsx
in src/views/app/components
155 11
libraryManager.ts
in src/arduino
154 8
azure-pipelines.yml
in root
153 -
BoardManager.tsx
in src/views/app/components
144 6
BoardItemView.tsx
in src/views/app/components
142 7
board.ts
in src/arduino
141 13
gulpfile.js
in root
140 4
debuggerManager.ts
in src/debug
134 5
vscodeSettings.ts
in src/arduino
108 20
completionProvider.ts
in src/langService
94 4
logger.ts
in src/logger
88 16
exampleProvider.ts
in src/arduino
84 10
boardManagerReducer.ts
in src/views/app/reducers
82 1
api.ts
in src/views/app/actions
81 16
libraryManagerReducer.ts
in src/views/app/reducers
78 1
nsat.ts
in src
76 4
telemetry-transport.ts
in src/logger
72 4
programmerManager.ts
in src/arduino
70 7
cycle.ts
in src/common
67 1
cycle.ts
in src/views/app/actions
67 1
package.ts
in src/arduino
61 -
example.scss
in src/views/app/styles
57 -
BoardSelector.tsx
in src/views/app/components
55 4
BoardConfig.tsx
in src/views/app/components
51 3
programmer.ts
in src/arduino
48 7
ExampleTreeView.tsx
in src/views/app/components
48 3
boardConfigReducer.ts
in src/views/app/reducers
47 1
index.html
in src/views/app
42 -
util.ts
in src/views/app/utils
41 2
constants.ts
in src/common
40 -
arduinoActivator.ts
in src
39 1
localWebServer.ts
in src/arduino
37 6
Files With Most Units (Top 20)
File# lines# units
index.ts
in src/views/app/actions
299 36
deviceContext.ts
in src
230 31
boardManager.ts
in src/arduino
438 30
arduino.ts
in src/arduino
590 26
util.ts
in src/common
359 24
arduinoContentProvider.ts
in src/arduino
293 22
vscodeSettings.ts
in src/arduino
108 20
arduinoSettings.ts
in src/arduino
205 19
deviceSettings.ts
in src
185 16
logger.ts
in src/logger
88 16
api.ts
in src/views/app/actions
81 16
board.ts
in src/arduino
141 13
serialMonitor.ts
in src/serialmonitor
249 13
serialportctrl.ts
in src/serialmonitor
168 13
LibraryItemView.tsx
in src/views/app/components
155 11
exampleProvider.ts
in src/arduino
84 10
usbDetector.ts
in src/serialmonitor
184 10
intellisense.ts
in src/arduino
166 8
libraryManager.ts
in src/arduino
154 8
outputChannel.ts
in src/common
28 8
Files With Long Lines (Top 20)

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

File# lines# units# long lines
arduinoContentProvider.ts
in src/arduino
293 22 24
extension.ts
in src
369 2 14
serialMonitor.ts
in src/serialmonitor
249 13 11
BoardItemView.tsx
in src/views/app/components
142 7 9
arduinoSettings.ts
in src/arduino
205 19 8
deviceContext.ts
in src
230 31 8
LibraryItemView.tsx
in src/views/app/components
155 11 8
arduino.ts
in src/arduino
590 26 7
boardManager.ts
in src/arduino
438 30 7
LibraryManager.tsx
in src/views/app/components
163 5 7
debuggerManager.ts
in src/debug
134 5 6
usbDetector.ts
in src/serialmonitor
184 10 6
configurationProvider.ts
in src/debug
174 8 4
example.scss
in src/views/app/styles
57 - 4
gulpfile.js
in root
140 4 3
libraryManager.ts
in src/arduino
154 8 3
util.ts
in src/common
359 24 3
BoardManager.tsx
in src/views/app/components
144 6 3
azure-pipelines.yml
in root
153 - 2
proj
SignFiles.proj
in build
24 - 2