memorio 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/{dist/index.js → index.js} +1 -1
  2. package/package.json +1 -1
  3. package/.editorconfig +0 -31
  4. package/.gitattributes +0 -1
  5. package/.github/CHANGELOG.md +0 -10
  6. package/.github/CITATION.cff +0 -24
  7. package/.github/CODEOWNERS +0 -1
  8. package/.github/CODE_OF_CONDUCT.md +0 -108
  9. package/.github/CONTRIBUTING.md +0 -108
  10. package/.github/COPYRIGHT.md +0 -9
  11. package/.github/FUNDING.yml +0 -16
  12. package/.github/HISTORY.md +0 -1
  13. package/.github/LICENSE.md +0 -21
  14. package/.github/SECURITY.md +0 -3
  15. package/.github/SUMMARY.md +0 -21
  16. package/.github/dependabot.yml +0 -11
  17. package/.github/documents/OBSERVER.md +0 -72
  18. package/.github/documents/STATE.md +0 -72
  19. package/.github/documents/STORE.md +0 -84
  20. package/.github/pull_request_template.md +0 -27
  21. package/.private/npm +0 -1
  22. package/.vscode/extension.json +0 -15
  23. package/.vscode/settings.json +0 -90
  24. package/config/dispatch.ts +0 -49
  25. package/config/global.ts +0 -36
  26. package/coverage/clover.xml +0 -260
  27. package/coverage/coverage-final.json +0 -10
  28. package/coverage/lcov-report/a51.memorio/config/dispatch.ts.html +0 -232
  29. package/coverage/lcov-report/a51.memorio/config/global.ts.html +0 -193
  30. package/coverage/lcov-report/a51.memorio/config/index.html +0 -131
  31. package/coverage/lcov-report/a51.memorio/dist/config/dispatch.js.html +0 -157
  32. package/coverage/lcov-report/a51.memorio/dist/config/global.js.html +0 -142
  33. package/coverage/lcov-report/a51.memorio/dist/config/index.html +0 -131
  34. package/coverage/lcov-report/a51.memorio/dist/functions/cache/index.html +0 -116
  35. package/coverage/lcov-report/a51.memorio/dist/functions/cache/index.js.html +0 -103
  36. package/coverage/lcov-report/a51.memorio/dist/functions/observer/index.html +0 -116
  37. package/coverage/lcov-report/a51.memorio/dist/functions/observer/index.js.html +0 -280
  38. package/coverage/lcov-report/a51.memorio/dist/functions/state/index.html +0 -116
  39. package/coverage/lcov-report/a51.memorio/dist/functions/state/index.js.html +0 -460
  40. package/coverage/lcov-report/a51.memorio/dist/functions/store/index.html +0 -116
  41. package/coverage/lcov-report/a51.memorio/dist/functions/store/index.js.html +0 -367
  42. package/coverage/lcov-report/a51.memorio/dist/index.html +0 -116
  43. package/coverage/lcov-report/a51.memorio/dist/init.js.html +0 -106
  44. package/coverage/lcov-report/a51.memorio/functions/cache/index.html +0 -116
  45. package/coverage/lcov-report/a51.memorio/functions/cache/index.ts.html +0 -142
  46. package/coverage/lcov-report/a51.memorio/functions/observer/index.html +0 -116
  47. package/coverage/lcov-report/a51.memorio/functions/observer/index.ts.html +0 -448
  48. package/coverage/lcov-report/a51.memorio/functions/session/index.html +0 -116
  49. package/coverage/lcov-report/a51.memorio/functions/session/index.ts.html +0 -409
  50. package/coverage/lcov-report/a51.memorio/functions/state/index.html +0 -116
  51. package/coverage/lcov-report/a51.memorio/functions/state/index.ts.html +0 -682
  52. package/coverage/lcov-report/a51.memorio/functions/store/index.html +0 -116
  53. package/coverage/lcov-report/a51.memorio/functions/store/index.ts.html +0 -409
  54. package/coverage/lcov-report/a51.memorio/index.html +0 -131
  55. package/coverage/lcov-report/a51.memorio/index.ts.html +0 -88
  56. package/coverage/lcov-report/a51.memorio/init.ts.html +0 -115
  57. package/coverage/lcov-report/base.css +0 -224
  58. package/coverage/lcov-report/block-navigation.js +0 -87
  59. package/coverage/lcov-report/favicon.png +0 -0
  60. package/coverage/lcov-report/index.html +0 -206
  61. package/coverage/lcov-report/prettify.css +0 -1
  62. package/coverage/lcov-report/prettify.js +0 -2
  63. package/coverage/lcov-report/session/index.html +0 -116
  64. package/coverage/lcov-report/session/index.ts.html +0 -571
  65. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  66. package/coverage/lcov-report/sorter.js +0 -210
  67. package/coverage/lcov-report/state/index.html +0 -116
  68. package/coverage/lcov-report/state/index.ts.html +0 -1090
  69. package/coverage/lcov-report/store/index.html +0 -116
  70. package/coverage/lcov-report/store/index.ts.html +0 -556
  71. package/coverage/lcov.info +0 -518
  72. package/dist/README.md +0 -319
  73. package/dist/index.d.ts +0 -7
  74. package/dist/package.json +0 -98
  75. package/dist/types/cache.d.ts +0 -27
  76. package/dist/types/memorio.d.ts +0 -18
  77. package/dist/types/observer.d.ts +0 -47
  78. package/dist/types/session.d.ts +0 -91
  79. package/dist/types/state.d.ts +0 -71
  80. package/dist/types/store.d.ts +0 -91
  81. package/esbuild.config.mjs +0 -54
  82. package/eslint.config.mjs +0 -174
  83. package/examples/bg.jpg +0 -0
  84. package/examples/bootstrap.less +0 -92
  85. package/examples/favicon.ico +0 -0
  86. package/examples/index.htm +0 -65
  87. package/examples/javascript.js +0 -2
  88. package/examples/responsive.less +0 -47
  89. package/examples/styles.less +0 -169
  90. package/functions/cache/index.ts +0 -19
  91. package/functions/observer/index.ts +0 -121
  92. package/functions/session/index.ts +0 -108
  93. package/functions/state/index.ts +0 -199
  94. package/functions/store/index.ts +0 -108
  95. package/index.ts +0 -1
  96. package/init.ts +0 -12
  97. package/jest.config.mjs +0 -33
  98. package/jest.setup.js +0 -2
  99. package/tests/basic.test.ts +0 -50
  100. package/tests/cache.test.ts +0 -52
  101. package/tests/observer.test.ts +0 -62
  102. package/tests/setup.ts +0 -48
  103. package/tests/state.test.ts +0 -45
  104. package/tests/store.test.ts +0 -62
  105. package/tsconfig.json +0 -67
  106. /package/{.github/README.md → README.md} +0 -0
@@ -1,84 +0,0 @@
1
- # memorio Store
2
-
3
- ## Overview
4
-
5
- This document provides a comprehensive list of all available store functions in the `memorio` library along with their descriptions and examples.
6
-
7
- ## Functions
8
-
9
- ### store.get([store.name])
10
-
11
- - **Description:** Retrieve an item from local storage.
12
- - **Parameters:**
13
- - `name` (string): The name of the item to retrieve.
14
-
15
- - **Example:**
16
-
17
- ```javascript
18
- const value = store.get('itemName');
19
- console.log(value);
20
- ```
21
-
22
- ### store.set([name, value])
23
-
24
- - **Description:** Set an item in local storage.
25
- - **Parameters:**
26
- - `name` (string): The name of the item to set.
27
- - `value` (any): The value of the item to set.
28
-
29
- - **Example:**
30
-
31
- ```javascript
32
- store.set('itemName', value);
33
- ```
34
-
35
- ### store.remove([store.name])
36
-
37
- - **Description:** Delete an item from local storage.
38
- - **Parameters:**
39
- - `name` (string): The name of the item to delete.
40
-
41
- - **Example:**
42
-
43
- ```javascript
44
- store.remove('itemName');
45
- ```
46
-
47
- ### store.removeAll()
48
-
49
- - **Description:** Remove all items from local storage.
50
- - **Parameters:** None
51
-
52
- - **Example:**
53
-
54
- ```javascript
55
- store.removeAll();
56
- ```
57
-
58
- ### store.quota()
59
-
60
- - **Description:** Estimate the storage quota and usage.
61
- - **Parameters:** None
62
-
63
- - **Example:**
64
-
65
- ```javascript
66
- const quota = store.quota();
67
- console.log(quota);
68
- ```
69
-
70
- ### store.size()
71
-
72
- - **Description:** Calculate the total size of all items in local storage.
73
- - **Parameters:** None
74
-
75
- - **Example:**
76
-
77
- ```javascript
78
- const totalSize = store.size();
79
- console.log(totalSize);
80
- ```
81
-
82
- ## License
83
-
84
- This project is licensed under the MIT License.
@@ -1,27 +0,0 @@
1
- ## Description
2
-
3
- 1. What is this PR about (link the issue and add a short description)
4
-
5
- ## Steps for reproduction
6
-
7
- 1. click button
8
- 2. expect xyz
9
-
10
- ## Code Review
11
-
12
- - [ ] hi, I need you to do
13
- - conceptual review (architecture, feature-correctness)
14
- - detailed review (read every line)
15
- - test it on preview
16
-
17
- ## Before requesting a review
18
-
19
- - [ ] made a self-review
20
- - [ ] added inline comments where things may be not obvious (the "why", not "what")
21
-
22
- ## Before merging
23
-
24
- - [ ] tested locally and on preview environment (preview dev login: 0000)
25
- - [ ] updated [test cases] document
26
- - [ ] added tests
27
- - [ ] if any new env variables are added, added them to `.env` file
package/.private/npm DELETED
@@ -1 +0,0 @@
1
- npm deprecate memorio@"< 0.2.0" "critical bug fixed and improvements"
@@ -1,15 +0,0 @@
1
- {
2
- "recommendations": [
3
- "alefragnani.project-manager",
4
- "donjayamanne.githistory",
5
- "mhutchie.git-graph",
6
- "mgmcdermott.vscode-language-babel",
7
- "eamodio.gitlens",
8
- "ms-vscode.vscode-typescript-next",
9
- "ms-vscode.js-debug-nightly",
10
- "pkief.material-icon-theme",
11
- "jock.svg",
12
- "simonsiefke.svg-preview",
13
- "dbaeumer.vscode-eslint"
14
- ]
15
- }
@@ -1,90 +0,0 @@
1
- {
2
- "npm.exclude": [
3
- "**/dist",
4
- "**/out"
5
- ],
6
- "editor.quickSuggestionsDelay": 2000,
7
- "editor.quickSuggestions": {
8
- "comments": "on",
9
- "strings": "on",
10
- "other": "on"
11
- },
12
- "editor.largeFileOptimizations": true,
13
- "editor.formatOnType": true,
14
- "editor.unicodeHighlight.invisibleCharacters": true,
15
- "editor.unicodeHighlight.ambiguousCharacters": true,
16
- "editor.unicodeHighlight.nonBasicASCII": true,
17
- "editor.hover.enabled": true,
18
- "editor.hover.delay": 2000,
19
- "editor.codeLens": false,
20
- "editor.tabCompletion": "off",
21
- "editor.renderWhitespace": "all",
22
- "editor.acceptSuggestionOnEnter": "on",
23
- "editor.formatOnSave": true,
24
- "editor.autoClosingBrackets": "always",
25
- "editor.autoClosingOvertype": "always",
26
- "editor.insertSpaces": true,
27
- "editor.detectIndentation": false,
28
- "editor.tabSize": 2,
29
- "editor.bracketPairColorization.enabled": true,
30
- "files.insertFinalNewline": true,
31
- "files.trimFinalNewlines": true,
32
- "files.trimTrailingWhitespace": true,
33
- "javascript.format.semicolons": "remove",
34
- "typescript.format.semicolons": "remove",
35
- "typescript.referencesCodeLens.enabled": true,
36
- "typescript.suggestionActions.enabled": false,
37
- "javascript.suggestionActions.enabled": false,
38
- "explorer.compactFolders": false,
39
- "workbench.editor.limit.excludeDirty": true,
40
- "workbench.editor.limit.enabled": true,
41
- "workbench.editor.limit.perEditorGroup": true,
42
- "workbench.editor.limit.value": 10,
43
- "workbench.colorCustomizations": {
44
- "editorBracketHighlight.foreground1": "#ffffff",
45
- "editorBracketHighlight.foreground2": "#d8d0a4",
46
- "editorBracketHighlight.foreground3": "#b46b6b",
47
- "editorUnicodeHighlight.border": "#00ff37",
48
- "editorUnicodeHighlight.background": "#f00",
49
- "minimap.unicodeHighlight": "#ff0000"
50
- },
51
- "emmet.includeLanguages": {
52
- "javascript": "html"
53
- },
54
- "terminal.integrated.defaultProfile.windows": "Git Bash",
55
- "[*]": {
56
- "editor.tabSize": 2,
57
- "editor.insertSpaces": true
58
- },
59
- "[html]": {
60
- "editor.defaultFormatter": "vscode.html-language-features",
61
- "editor.foldingStrategy": "indentation"
62
- },
63
- "search.exclude": {
64
- ".editorconfig": true,
65
- "**/.cache": true,
66
- "**/.DS_Store": true,
67
- "**/.git": true,
68
- "**/.svg": true,
69
- "**/.xml": true,
70
- "**/bower_components": true,
71
- "**/node_*": true,
72
- "**/tmp": true,
73
- "babel.config.js": true,
74
- "node_modules": true,
75
- "package-lock.json": true,
76
- "**/dist": true,
77
- "**/node_modules": true,
78
- },
79
- "files.exclude": {
80
- ".backup": true,
81
- ".archive": true,
82
- "@OLD": true,
83
- "#OLD": true,
84
- "coverage": true,
85
- "**/**/cmd.exe.lnk": true
86
- },
87
- "cSpell.words": [
88
- "memorio"
89
- ]
90
- }
@@ -1,49 +0,0 @@
1
- Object.defineProperty(
2
- memorio,
3
- 'dispatch',
4
- {
5
- writable: false,
6
- configurable: false,
7
- enumerable: false,
8
- value: {
9
-
10
- /**
11
- * Dispatches a custom event with the specified name and value.
12
- * @param name The name of the event.
13
- * @param value The value to pass with the event.
14
- */
15
- set: (name: string, value = {}) => {
16
- dispatchEvent(new CustomEvent(String(name), value))
17
- },
18
-
19
- /////////////////////////////////////////////////////
20
-
21
- /**
22
- * Listens for the specified event names and executes the callback when the event is triggered.
23
- * @param name The name of the event to listen for.
24
- * @param cb The callback function to execute when the event is triggered.
25
- * @param flag A flag to indicate whether to remove existing listeners (default is false).
26
- */
27
- listen: (name: string, cb: (e: Event) => void = null, flag = false) => {
28
- if (observer.list?.[name]?.length > 0) observer.remove(name)
29
- const exec = (e: Event) => cb
30
- ? setTimeout(() => cb(e), 1)
31
- : null
32
- globalThis.addEventListener(name, exec)
33
- globalThis.events[name] = exec
34
- },
35
-
36
- /////////////////////////////////////////////////////
37
-
38
- /**
39
- * Removes the event listener for the specified event names.
40
- * @param name The name of the event to remove the listener for.
41
- */
42
- remove: (name: string) => {
43
- globalThis.removeEventListener(name, globalThis.events[name])
44
- delete globalThis.events[name]
45
- }
46
-
47
- }
48
- }
49
- )
package/config/global.ts DELETED
@@ -1,36 +0,0 @@
1
- import p from '../package.json' with { type: "json" }
2
-
3
- /////////////////////////////////////
4
-
5
- Object.defineProperty(
6
- globalThis,
7
- 'memorio',
8
- {
9
- value: {},
10
- writable: false,
11
- configurable: false,
12
- enumerable: false
13
- }
14
- )
15
-
16
- Object.defineProperty(
17
- globalThis,
18
- 'events',
19
- {
20
- value: {},
21
- writable: true,
22
- configurable: false,
23
- enumerable: false
24
- }
25
- )
26
-
27
- Object.defineProperty(
28
- memorio,
29
- 'version',
30
- {
31
- writable: false,
32
- configurable: false,
33
- enumerable: false,
34
- value: p.version
35
- }
36
- )
@@ -1,260 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1756013710192" clover="3.2.0">
3
- <project timestamp="1756013710192" name="All files">
4
- <metrics statements="206" coveredstatements="103" conditionals="145" coveredconditionals="66" methods="43" coveredmethods="21" elements="394" coveredelements="190" complexity="0" loc="206" ncloc="206" packages="7" files="9" classes="9"/>
5
- <package name="a51.memorio">
6
- <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
- <file name="index.ts" path="A:\RnD\a51.memorio\index.ts">
8
- <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9
- </file>
10
- <file name="init.ts" path="A:\RnD\a51.memorio\init.ts">
11
- <metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
12
- </file>
13
- </package>
14
- <package name="a51.memorio.config">
15
- <metrics statements="13" coveredstatements="11" conditionals="7" coveredconditionals="3" methods="5" coveredmethods="4"/>
16
- <file name="dispatch.ts" path="A:\RnD\a51.memorio\config\dispatch.ts">
17
- <metrics statements="10" coveredstatements="8" conditionals="7" coveredconditionals="3" methods="5" coveredmethods="4"/>
18
- <line num="1" count="5" type="stmt"/>
19
- <line num="12" count="23" type="stmt"/>
20
- <line num="22" count="4" type="cond" truecount="2" falsecount="0"/>
21
- <line num="23" count="2" type="stmt"/>
22
- <line num="24" count="5" type="cond" truecount="1" falsecount="1"/>
23
- <line num="25" count="5" type="stmt"/>
24
- <line num="27" count="4" type="stmt"/>
25
- <line num="28" count="4" type="stmt"/>
26
- <line num="36" count="0" type="stmt"/>
27
- <line num="37" count="0" type="stmt"/>
28
- </file>
29
- <file name="global.ts" path="A:\RnD\a51.memorio\config\global.ts">
30
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
31
- <line num="3" count="5" type="stmt"/>
32
- <line num="9" count="5" type="stmt"/>
33
- <line num="15" count="5" type="stmt"/>
34
- </file>
35
- </package>
36
- <package name="a51.memorio.functions.cache">
37
- <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
38
- <file name="index.ts" path="A:\RnD\a51.memorio\functions\cache\index.ts">
39
- <metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
40
- <line num="1" count="5" type="stmt"/>
41
- </file>
42
- </package>
43
- <package name="a51.memorio.functions.observer">
44
- <metrics statements="38" coveredstatements="21" conditionals="30" coveredconditionals="18" methods="6" coveredmethods="4"/>
45
- <file name="index.ts" path="A:\RnD\a51.memorio\functions\observer\index.ts">
46
- <metrics statements="38" coveredstatements="21" conditionals="30" coveredconditionals="18" methods="6" coveredmethods="4"/>
47
- <line num="1" count="5" type="cond" truecount="1" falsecount="1"/>
48
- <line num="2" count="0" type="stmt"/>
49
- <line num="3" count="5" type="stmt"/>
50
- <line num="8" count="5" type="cond" truecount="1" falsecount="1"/>
51
- <line num="10" count="4" type="stmt"/>
52
- <line num="11" count="4" type="stmt"/>
53
- <line num="12" count="4" type="cond" truecount="1" falsecount="1"/>
54
- <line num="13" count="0" type="stmt"/>
55
- <line num="14" count="0" type="stmt"/>
56
- <line num="16" count="4" type="stmt"/>
57
- <line num="18" count="4" type="cond" truecount="1" falsecount="1"/>
58
- <line num="19" count="0" type="stmt"/>
59
- <line num="22" count="4" type="cond" truecount="2" falsecount="2"/>
60
- <line num="23" count="0" type="stmt"/>
61
- <line num="24" count="0" type="stmt"/>
62
- <line num="28" count="4" type="cond" truecount="2" falsecount="2"/>
63
- <line num="29" count="0" type="stmt"/>
64
- <line num="30" count="0" type="stmt"/>
65
- <line num="34" count="4" type="cond" truecount="3" falsecount="1"/>
66
- <line num="35" count="0" type="stmt"/>
67
- <line num="40" count="0" type="stmt"/>
68
- <line num="41" count="0" type="stmt"/>
69
- <line num="45" count="4" type="cond" truecount="3" falsecount="1"/>
70
- <line num="46" count="4" type="cond" truecount="3" falsecount="1"/>
71
- <line num="47" count="0" type="stmt"/>
72
- <line num="48" count="0" type="stmt"/>
73
- <line num="50" count="4" type="stmt"/>
74
- <line num="51" count="4" type="stmt"/>
75
- <line num="55" count="5" type="stmt"/>
76
- <line num="61" count="4" type="stmt"/>
77
- <line num="70" count="2" type="cond" truecount="1" falsecount="1"/>
78
- <line num="71" count="0" type="stmt"/>
79
- <line num="72" count="2" type="stmt"/>
80
- <line num="73" count="2" type="stmt"/>
81
- <line num="83" count="0" type="stmt"/>
82
- <line num="84" count="0" type="stmt"/>
83
- <line num="86" count="0" type="stmt"/>
84
- <line num="90" count="5" type="stmt"/>
85
- </file>
86
- </package>
87
- <package name="a51.memorio.functions.session">
88
- <metrics statements="43" coveredstatements="0" conditionals="34" coveredconditionals="0" methods="10" coveredmethods="0"/>
89
- <file name="index.ts" path="A:\RnD\a51.memorio\functions\session\index.ts">
90
- <metrics statements="43" coveredstatements="0" conditionals="34" coveredconditionals="0" methods="10" coveredmethods="0"/>
91
- <line num="1" count="0" type="stmt"/>
92
- <line num="6" count="0" type="stmt"/>
93
- <line num="9" count="0" type="cond" truecount="0" falsecount="2"/>
94
- <line num="10" count="0" type="stmt"/>
95
- <line num="11" count="0" type="stmt"/>
96
- <line num="12" count="0" type="stmt"/>
97
- <line num="13" count="0" type="cond" truecount="0" falsecount="2"/>
98
- <line num="14" count="0" type="stmt"/>
99
- <line num="15" count="0" type="stmt"/>
100
- <line num="18" count="0" type="stmt"/>
101
- <line num="24" count="0" type="cond" truecount="0" falsecount="2"/>
102
- <line num="25" count="0" type="stmt"/>
103
- <line num="26" count="0" type="stmt"/>
104
- <line num="27" count="0" type="cond" truecount="0" falsecount="4"/>
105
- <line num="28" count="0" type="stmt"/>
106
- <line num="29" count="0" type="cond" truecount="0" falsecount="6"/>
107
- <line num="30" count="0" type="stmt"/>
108
- <line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
109
- <line num="32" count="0" type="stmt"/>
110
- <line num="35" count="0" type="stmt"/>
111
- <line num="41" count="0" type="cond" truecount="0" falsecount="2"/>
112
- <line num="42" count="0" type="stmt"/>
113
- <line num="43" count="0" type="cond" truecount="0" falsecount="2"/>
114
- <line num="44" count="0" type="stmt"/>
115
- <line num="45" count="0" type="stmt"/>
116
- <line num="51" count="0" type="stmt"/>
117
- <line num="56" count="0" type="stmt"/>
118
- <line num="57" count="0" type="stmt"/>
119
- <line num="62" count="0" type="stmt"/>
120
- <line num="63" count="0" type="stmt"/>
121
- <line num="68" count="0" type="cond" truecount="0" falsecount="4"/>
122
- <line num="69" count="0" type="stmt"/>
123
- <line num="71" count="0" type="cond" truecount="0" falsecount="4"/>
124
- <line num="72" count="0" type="stmt"/>
125
- <line num="74" count="0" type="stmt"/>
126
- <line num="80" count="0" type="stmt"/>
127
- <line num="81" count="0" type="stmt"/>
128
- <line num="82" count="0" type="cond" truecount="0" falsecount="2"/>
129
- <line num="83" count="0" type="stmt"/>
130
- <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
131
- <line num="85" count="0" type="stmt"/>
132
- <line num="89" count="0" type="stmt"/>
133
- <line num="93" count="0" type="stmt"/>
134
- </file>
135
- </package>
136
- <package name="a51.memorio.functions.state">
137
- <metrics statements="68" coveredstatements="50" conditionals="40" coveredconditionals="31" methods="12" coveredmethods="9"/>
138
- <file name="index.ts" path="A:\RnD\a51.memorio\functions\state\index.ts">
139
- <metrics statements="68" coveredstatements="50" conditionals="40" coveredconditionals="31" methods="12" coveredmethods="9"/>
140
- <line num="1" count="5" type="stmt"/>
141
- <line num="6" count="11" type="stmt"/>
142
- <line num="10" count="5" type="cond" truecount="1" falsecount="0"/>
143
- <line num="12" count="10" type="stmt"/>
144
- <line num="13" count="11" type="stmt"/>
145
- <line num="14" count="11" type="stmt"/>
146
- <line num="15" count="23" type="stmt"/>
147
- <line num="16" count="23" type="stmt"/>
148
- <line num="21" count="10" type="stmt"/>
149
- <line num="24" count="10" type="cond" truecount="2" falsecount="0"/>
150
- <line num="25" count="2" type="stmt"/>
151
- <line num="26" count="2" type="stmt"/>
152
- <line num="27" count="2" type="cond" truecount="3" falsecount="1"/>
153
- <line num="28" count="2" type="stmt"/>
154
- <line num="31" count="2" type="stmt"/>
155
- <line num="33" count="8" type="cond" truecount="2" falsecount="0"/>
156
- <line num="34" count="1" type="stmt"/>
157
- <line num="35" count="1" type="cond" truecount="3" falsecount="1"/>
158
- <line num="36" count="1" type="stmt"/>
159
- <line num="37" count="1" type="stmt"/>
160
- <line num="39" count="0" type="stmt"/>
161
- <line num="42" count="7" type="cond" truecount="2" falsecount="0"/>
162
- <line num="43" count="1" type="stmt"/>
163
- <line num="44" count="1" type="stmt"/>
164
- <line num="45" count="2" type="cond" truecount="3" falsecount="1"/>
165
- <line num="46" count="2" type="stmt"/>
166
- <line num="49" count="1" type="stmt"/>
167
- <line num="52" count="6" type="cond" truecount="2" falsecount="0"/>
168
- <line num="53" count="3" type="stmt"/>
169
- <line num="54" count="3" type="stmt"/>
170
- <line num="55" count="3" type="stmt"/>
171
- <line num="56" count="3" type="cond" truecount="5" falsecount="0"/>
172
- <line num="57" count="2" type="stmt"/>
173
- <line num="59" count="1" type="stmt"/>
174
- <line num="62" count="0" type="stmt"/>
175
- <line num="63" count="0" type="stmt"/>
176
- <line num="67" count="11" type="cond" truecount="2" falsecount="3"/>
177
- <line num="68" count="0" type="stmt"/>
178
- <line num="69" count="0" type="stmt"/>
179
- <line num="71" count="11" type="stmt"/>
180
- <line num="72" count="11" type="stmt"/>
181
- <line num="73" count="11" type="stmt"/>
182
- <line num="80" count="11" type="stmt"/>
183
- <line num="81" count="11" type="stmt"/>
184
- <line num="83" count="11" type="cond" truecount="4" falsecount="0"/>
185
- <line num="84" count="2" type="stmt"/>
186
- <line num="86" count="1" type="stmt"/>
187
- <line num="91" count="1" type="stmt"/>
188
- <line num="95" count="11" type="stmt"/>
189
- <line num="98" count="0" type="stmt"/>
190
- <line num="99" count="0" type="stmt"/>
191
- <line num="103" count="0" type="stmt"/>
192
- <line num="104" count="0" type="stmt"/>
193
- <line num="105" count="0" type="stmt"/>
194
- <line num="106" count="0" type="stmt"/>
195
- <line num="109" count="0" type="stmt"/>
196
- <line num="110" count="0" type="stmt"/>
197
- <line num="116" count="5" type="stmt"/>
198
- <line num="118" count="5" type="cond" truecount="1" falsecount="1"/>
199
- <line num="123" count="5" type="stmt"/>
200
- <line num="124" count="5" type="stmt"/>
201
- <line num="125" count="5" type="stmt"/>
202
- <line num="126" count="0" type="cond" truecount="0" falsecount="2"/>
203
- <line num="127" count="0" type="stmt"/>
204
- <line num="128" count="0" type="stmt"/>
205
- <line num="129" count="0" type="stmt"/>
206
- <line num="130" count="0" type="stmt"/>
207
- <line num="135" count="5" type="stmt"/>
208
- </file>
209
- </package>
210
- <package name="a51.memorio.functions.store">
211
- <metrics statements="43" coveredstatements="20" conditionals="34" coveredconditionals="14" methods="10" coveredmethods="4"/>
212
- <file name="index.ts" path="A:\RnD\a51.memorio\functions\store\index.ts">
213
- <metrics statements="43" coveredstatements="20" conditionals="34" coveredconditionals="14" methods="10" coveredmethods="4"/>
214
- <line num="1" count="5" type="stmt"/>
215
- <line num="6" count="5" type="stmt"/>
216
- <line num="9" count="5" type="cond" truecount="1" falsecount="1"/>
217
- <line num="10" count="0" type="stmt"/>
218
- <line num="11" count="5" type="stmt"/>
219
- <line num="12" count="5" type="stmt"/>
220
- <line num="13" count="5" type="cond" truecount="2" falsecount="0"/>
221
- <line num="14" count="2" type="stmt"/>
222
- <line num="15" count="3" type="stmt"/>
223
- <line num="18" count="0" type="stmt"/>
224
- <line num="24" count="7" type="cond" truecount="1" falsecount="1"/>
225
- <line num="25" count="0" type="stmt"/>
226
- <line num="26" count="7" type="stmt"/>
227
- <line num="27" count="7" type="cond" truecount="3" falsecount="1"/>
228
- <line num="28" count="0" type="stmt"/>
229
- <line num="29" count="7" type="cond" truecount="5" falsecount="1"/>
230
- <line num="30" count="7" type="stmt"/>
231
- <line num="31" count="0" type="cond" truecount="0" falsecount="2"/>
232
- <line num="32" count="0" type="stmt"/>
233
- <line num="35" count="0" type="stmt"/>
234
- <line num="41" count="1" type="cond" truecount="1" falsecount="1"/>
235
- <line num="42" count="0" type="stmt"/>
236
- <line num="43" count="1" type="cond" truecount="1" falsecount="1"/>
237
- <line num="44" count="1" type="stmt"/>
238
- <line num="45" count="1" type="stmt"/>
239
- <line num="51" count="0" type="stmt"/>
240
- <line num="56" count="2" type="stmt"/>
241
- <line num="57" count="2" type="stmt"/>
242
- <line num="62" count="0" type="stmt"/>
243
- <line num="63" count="0" type="stmt"/>
244
- <line num="68" count="0" type="cond" truecount="0" falsecount="4"/>
245
- <line num="69" count="0" type="stmt"/>
246
- <line num="71" count="0" type="cond" truecount="0" falsecount="4"/>
247
- <line num="72" count="0" type="stmt"/>
248
- <line num="74" count="0" type="stmt"/>
249
- <line num="80" count="0" type="stmt"/>
250
- <line num="81" count="0" type="stmt"/>
251
- <line num="82" count="0" type="cond" truecount="0" falsecount="2"/>
252
- <line num="83" count="0" type="stmt"/>
253
- <line num="84" count="0" type="cond" truecount="0" falsecount="2"/>
254
- <line num="85" count="0" type="stmt"/>
255
- <line num="89" count="0" type="stmt"/>
256
- <line num="93" count="5" type="stmt"/>
257
- </file>
258
- </package>
259
- </project>
260
- </coverage>