microsoft / donuts.node
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 46 files with 3,412 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 6 medium size files (1,521 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (457 lines of code)
    • 37 very small files (1,434 lines of code)
0% | 0% | 44% | 13% | 42%
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
js0% | 0% | 45% | 13% | 40%
cc0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
core0% | 0% | 81% | 0% | 18%
remote0% | 0% | 53% | 34% | 12%
modularity0% | 0% | 58% | 0% | 41%
core/logging0% | 0% | 0% | 60% | 39%
remote/proxy0% | 0% | 0% | 0% | 100%
weak0% | 0% | 0% | 0% | 100%
settings0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
remote/pattern0% | 0% | 0% | 0% | 100%
ipc0% | 0% | 0% | 0% | 100%
Longest Files (Top 46)
File# lines# units
utils.js
in core
379 14
fileSystem.js
in core
286 2
data-info-manager.js
in remote
227 12
module-manager.js
in modularity
216 13
object-remoting-proxy.js
in remote
207 16
shell.js
in core
206 5
communicator.js
in remote
180 8
log.js
in core/logging
173 19
communication-host.js
in remote
104 5
console.js
in core/logging/loggers
89 6
publish.js
in root
81 4
weak-reference.cc
in weak
78 1
socket-host-proxy.js
in remote/proxy
68 4
npm.build.js
in weak
66 3
object-remoting-host-router.js
in modularity
64 3
socket-proxy.js
in remote/proxy
64 4
di.js
in core
61 7
settings.js
in settings
59 3
di.ext.js
in core
56 -
index.js
in modularity
56 -
index.js
in remote
54 -
channel-host-proxy.js
in remote/proxy
53 6
process-proxy.js
in remote/proxy
52 4
npm.install.js
in weak
52 3
channel-proxy.js
in remote/proxy
46 7
npm.util.js
in weak
45 -
random.js
in core
43 -
file-settings.js
in settings
43 3
data-info.js
in remote
42 -
index.js
in settings
38 -
index.js
in ipc
35 3
regex.js
in remote/pattern
35 4
path.js
in core
29 -
index.js
in weak
26 3
index.js
in core/logging
24 -
object-remoting-router.js
in modularity
24 3
string.js
in remote/pattern
18 4
electron.js
in weak
11 -
fork.js
in modularity
6 -
index.js
in core
4 -
gulpfile.js
in core
2 -
gulpfile.js
in ipc
2 -
gulpfile.js
in modularity
2 -
gulpfile.js
in remote
2 -
gulpfile.js
in settings
2 -
gulpfile.js
in weak
2 -
Files With Most Units (Top 20)
File# lines# units
log.js
in core/logging
173 19
object-remoting-proxy.js
in remote
207 16
utils.js
in core
379 14
module-manager.js
in modularity
216 13
data-info-manager.js
in remote
227 12
communicator.js
in remote
180 8
di.js
in core
61 7
channel-proxy.js
in remote/proxy
46 7
console.js
in core/logging/loggers
89 6
channel-host-proxy.js
in remote/proxy
53 6
shell.js
in core
206 5
communication-host.js
in remote
104 5
publish.js
in root
81 4
regex.js
in remote/pattern
35 4
string.js
in remote/pattern
18 4
process-proxy.js
in remote/proxy
52 4
socket-host-proxy.js
in remote/proxy
68 4
socket-proxy.js
in remote/proxy
64 4
index.js
in ipc
35 3
object-remoting-host-router.js
in modularity
64 3
Files With Long Lines (Top 16)

There are 16 files with lines longer than 120 characters. In total, there are 39 long lines.

File# lines# units# long lines
utils.js
in core
379 14 11
communicator.js
in remote
180 8 6
log.js
in core/logging
173 19 3
module-manager.js
in modularity
216 13 3
shell.js
in core
206 5 2
index.js
in modularity
56 - 2
npm.install.js
in weak
52 3 2
weak-reference.cc
in weak
78 1 2
fileSystem.js
in core
286 2 1
index.js
in core/logging
24 - 1
path.js
in core
29 - 1
random.js
in core
43 - 1
publish.js
in root
81 4 1
index.js
in settings
38 - 1
settings.js
in settings
59 3 1
npm.build.js
in weak
66 3 1