microsoft / gather
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 39 files with 3,225 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 5 medium size files (1,517 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (955 lines of code)
    • 27 very small files (753 lines of code)
0% | 0% | 47% | 29% | 23%
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% | 0% | 41% | 32% | 25%
css0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/overlay0% | 0% | 78% | 0% | 21%
style0% | 0% | 100% | 0% | 0%
src/model0% | 0% | 44% | 42% | 13%
src/main0% | 0% | 60% | 35% | 3%
src/widgets/history0% | 0% | 0% | 51% | 48%
src/widgets/revision0% | 0% | 0% | 71% | 28%
src/widgets/slicedcell0% | 0% | 0% | 71% | 28%
src/persistence0% | 0% | 0% | 71% | 28%
src/util0% | 0% | 0% | 0% | 100%
src/widgets/codeversion0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
src/widgets/notification0% | 0% | 0% | 0% | 100%
Longest Files (Top 39)
File# lines# units
gather-markers.ts
in src/overlay
460 23
index.css
in style
307 -
model.ts
in src/model
280 40
main.ts
in src/main
245 7
toolbar.ts
in src/overlay
225 16
diff.ts
in src/widgets/history
160 2
cell.ts
in src/model
149 18
widget.ts
in src/widgets/revision
149 2
gather-actions.ts
in src/main
146 9
widget.ts
in src/widgets/slicedcell
123 6
controller.ts
in src/model
122 -
load.ts
in src/persistence
106 8
compute.ts
in src/widgets/history
80 1
cell-listener.ts
in src/overlay
59 5
revision-browser.ts
in src/overlay
59 3
model.ts
in src/widgets/revision
57 6
widget.ts
in src/widgets/history
52 3
element-finder.ts
in src/overlay
48 1
log.ts
in src/util
46 3
model.ts
in src/widgets/slicedcell
46 5
gather-registry.ts
in src/model
44 1
store.ts
in src/persistence
42 1
selections.ts
in src/model
38 1
widget.ts
in src/widgets/codeversion
26 1
model.ts
in src/widgets/codeversion
25 3
date.ts
in src/util
22 2
notification.ts
in src/overlay
21 1
model.ts
in src/widgets/history
18 2
widget.ts
in src/widgets/notification
16 2
execution-logger.ts
in src/main
15 2
jest.config.js
in root
9 -
babel.config.js
in root
8 -
characterrange.ts
in src/widgets/codeversion
8 1
index.ts
in src/model
3 -
index.ts
in src/widgets/codeversion
3 -
index.ts
in src/widgets/history
3 -
index.ts
in src/widgets/revision
2 -
index.ts
in src/widgets/slicedcell
2 -
index.ts
in src/widgets/notification
1 -
Files With Most Units (Top 20)
File# lines# units
model.ts
in src/model
280 40
gather-markers.ts
in src/overlay
460 23
cell.ts
in src/model
149 18
toolbar.ts
in src/overlay
225 16
gather-actions.ts
in src/main
146 9
load.ts
in src/persistence
106 8
main.ts
in src/main
245 7
model.ts
in src/widgets/revision
57 6
widget.ts
in src/widgets/slicedcell
123 6
cell-listener.ts
in src/overlay
59 5
model.ts
in src/widgets/slicedcell
46 5
revision-browser.ts
in src/overlay
59 3
log.ts
in src/util
46 3
model.ts
in src/widgets/codeversion
25 3
widget.ts
in src/widgets/history
52 3
execution-logger.ts
in src/main
15 2
date.ts
in src/util
22 2
diff.ts
in src/widgets/history
160 2
model.ts
in src/widgets/history
18 2
widget.ts
in src/widgets/notification
16 2
Files With Long Lines (Top 2)

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

File# lines# units# long lines
toolbar.ts
in src/overlay
225 16 2
gather-markers.ts
in src/overlay
460 23 1