microsoft / ObjectStoreProvider
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 18 files with 3,293 lines of code.
    • 1 very long files (1,125 lines of code)
    • 1 long files (789 lines of code)
    • 2 medium size files (591 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (535 lines of code)
    • 11 very small files (253 lines of code)
34% | 23% | 17% | 16% | 7%
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
ts34% | 24% | 18% | 16% | 5%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src36% | 25% | 19% | 17% | <1%
ROOT0% | 0% | 0% | 0% | 100%
src/ordered-map0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
IndexedDbProvider.ts
in src
1125 13
InMemoryProvider.ts
in src
789 14
ObjectStoreProvider.ts
in src
355 4
TransactionLockHelper.ts
in src
236 11
StoreHelpers.ts
in src
195 1
ObjectStoreProviderUtils.ts
in src
190 14
FullTextSearchHelpers.ts
in src
150 3
index.ts
in root
52 -
BTreeOrderedMap.ts
in src/ordered-map
42 7
RBTreeOrderedMap.ts
in src/ordered-map
42 8
karma.sharedworker.conf.js
in root
29 -
karma.webworker.conf.js
in root
29 -
karma.browser.conf.js
in root
15 -
Promise.ts
in src
15 2
index.ts
in src/ordered-map
14 -
IOrderedMap.ts
in src/ordered-map
10 -
IKeyValuePair.ts
in src/ordered-map
4 -
OrderedMapType.ts
in src/ordered-map
1 -
Files With Most Units (Top 10)
File# lines# units
InMemoryProvider.ts
in src
789 14
ObjectStoreProviderUtils.ts
in src
190 14
IndexedDbProvider.ts
in src
1125 13
TransactionLockHelper.ts
in src
236 11
RBTreeOrderedMap.ts
in src/ordered-map
42 8
BTreeOrderedMap.ts
in src/ordered-map
42 7
ObjectStoreProvider.ts
in src
355 4
FullTextSearchHelpers.ts
in src
150 3
Promise.ts
in src
15 2
StoreHelpers.ts
in src
195 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines