microsoft / node-pty
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 26 files with 2,427 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,524 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (268 lines of code)
    • 19 very small files (635 lines of code)
0% | 0% | 62% | 11% | 26%
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
cc0% | 0% | 88% | 0% | 11%
ts0% | 0% | 49% | 28% | 21%
js0% | 0% | 0% | 0% | 100%
gyp0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/win0% | 0% | 85% | 0% | 14%
src/unix0% | 0% | 88% | 0% | 11%
src0% | 0% | 50% | 29% | 19%
ROOT0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
src/worker0% | 0% | 0% | 0% | 100%
src/shared0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
pty.cc
in src/unix
487 1
conpty.cc
in src/win
350 10
windowsPtyAgent.ts
in src
248 13
winpty.cc
in src/win
225 7
unixTerminal.ts
in src
214 9
terminal.ts
in src
155 17
windowsTerminal.ts
in src
113 8
gyp
binding.gyp
in root
92 -
azure-pipelines.yml
in root
89 -
spawn-helper.cc
in src/unix
57 2
path_util.cc
in src/win
52 2
windowsConoutConnection.ts
in src
49 2
publish.js
in scripts
46 2
interfaces.ts
in src
45 -
eventEmitter2.ts
in src
39 2
post-install.js
in scripts
38 1
conpty_console_list.cc
in src/win
33 1
index.ts
in src
21 4
install.js
in scripts
15 -
conoutSocketWorker.ts
in src/worker
13 -
conpty_console_list_agent.ts
in src
10 -
path_util.h
in src/win
10 -
conout.ts
in src/shared
9 1
types.ts
in src
8 -
comms.h
in src/unix
5 -
utils.ts
in src
4 1
Files With Most Units (Top 17)
File# lines# units
terminal.ts
in src
155 17
windowsPtyAgent.ts
in src
248 13
conpty.cc
in src/win
350 10
unixTerminal.ts
in src
214 9
windowsTerminal.ts
in src
113 8
winpty.cc
in src/win
225 7
index.ts
in src
21 4
publish.js
in scripts
46 2
eventEmitter2.ts
in src
39 2
spawn-helper.cc
in src/unix
57 2
path_util.cc
in src/win
52 2
windowsConoutConnection.ts
in src
49 2
post-install.js
in scripts
38 1
conout.ts
in src/shared
9 1
pty.cc
in src/unix
487 1
utils.ts
in src
4 1
conpty_console_list.cc
in src/win
33 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
conpty.cc
in src/win
350 10 7
winpty.cc
in src/win
225 7 4
index.ts
in src
21 4 3
windowsPtyAgent.ts
in src
248 13 2
unixTerminal.ts
in src
214 9 1
windowsTerminal.ts
in src
113 8 1