microsoft / satcheljs
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 44 files with 934 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (163 lines of code)
    • 43 very small files (771 lines of code)
0% | 0% | 0% | 17% | 82%
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% | 0% | 17% | 82%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src/legacy0% | 0% | 0% | 42% | 57%
src0% | 0% | 0% | 0% | 100%
src/legacy/react0% | 0% | 0% | 0% | 100%
src/legacy/promise0% | 0% | 0% | 0% | 100%
src/legacy/stitch0% | 0% | 0% | 0% | 100%
src/interfaces0% | 0% | 0% | 0% | 100%
src/legacy/trace0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 44)
File# lines# units
createUndo.ts
in src/legacy
163 5
reactive.ts
in src/legacy/react
94 7
action.ts
in src/legacy
57 4
globalContext.ts
in src
56 3
actionCreator.ts
in src
50 4
select.ts
in src/legacy
43 3
stitch.ts
in src/legacy/stitch
42 4
dispatcher.ts
in src
38 3
legacyApplyMiddleware.ts
in src/legacy
37 4
promiseMiddleware.ts
in src/legacy/promise
32 2
actionWrappers.ts
in src/legacy/promise
31 3
mutator.ts
in src
27 1
trace.ts
in src/legacy/trace
23 2
simpleSubscribers.ts
in src
20 2
index.ts
in src
19 -
dispatch.ts
in src/legacy
18 1
functionInternals.ts
in src/legacy
16 4
orchestrator.ts
in src
16 1
createStore.ts
in src
15 1
applyMiddleware.ts
in src
14 2
LegacyMiddleware.ts
in src/legacy
13 -
LegacyDispatchFunction.ts
in src/legacy
11 -
install.ts
in src/legacy/promise
11 1
index.ts
in src/legacy
10 -
jest.config.js
in root
8 -
Subscriber.ts
in src/interfaces
7 -
testMode.ts
in src/legacy
7 2
getRootStore.ts
in src
5 1
ActionMessage.ts
in src/interfaces
5 -
MutatorFunction.ts
in src/interfaces
5 -
createActionId.ts
in src
4 1
Middleware.ts
in src/interfaces
4 -
SimpleAction.ts
in src/interfaces
4 -
ActionContext.ts
in src/legacy
4 -
ActionFunction.ts
in src/legacy
4 -
RawAction.ts
in src/legacy
4 -
useStrict.ts
in src
4 1
ActionCreator.ts
in src/interfaces
3 -
DispatchFunction.ts
in src/interfaces
3 -
OrchestratorFunction.ts
in src/interfaces
3 -
index.ts
in src/legacy/promise
1 -
index.ts
in src/legacy/react
1 -
index.ts
in src/legacy/stitch
1 -
index.ts
in src/legacy/trace
1 -
Files With Most Units (Top 20)
File# lines# units
reactive.ts
in src/legacy/react
94 7
createUndo.ts
in src/legacy
163 5
actionCreator.ts
in src
50 4
action.ts
in src/legacy
57 4
functionInternals.ts
in src/legacy
16 4
legacyApplyMiddleware.ts
in src/legacy
37 4
stitch.ts
in src/legacy/stitch
42 4
dispatcher.ts
in src
38 3
globalContext.ts
in src
56 3
actionWrappers.ts
in src/legacy/promise
31 3
select.ts
in src/legacy
43 3
applyMiddleware.ts
in src
14 2
promiseMiddleware.ts
in src/legacy/promise
32 2
testMode.ts
in src/legacy
7 2
trace.ts
in src/legacy/trace
23 2
simpleSubscribers.ts
in src
20 2
createActionId.ts
in src
4 1
createStore.ts
in src
15 1
getRootStore.ts
in src
5 1
dispatch.ts
in src/legacy
18 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
createUndo.ts
in src/legacy
163 5 1