secure-ls2 2.1.9 → 2.1.11
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.
- package/.eslintrc +186 -186
- package/.github/FUNDING.yml +6 -6
- package/.github/workflows/test.yml +65 -65
- package/.husky/commit-msg +1 -1
- package/.husky/pre-commit +1 -1
- package/.husky/pre-push +3 -3
- package/.prettierrc +8 -8
- package/LICENSE +21 -21
- package/ci-package.json +47 -47
- package/coverage/clover.xml +170 -163
- package/coverage/coverage-final.json +5 -5
- package/coverage/lcov-report/index.html +17 -17
- package/coverage/lcov.info +316 -300
- package/dist/secure-ls2.esm.js +58 -48
- package/dist/secure-ls2.esm.js.map +1 -1
- package/dist/secure-ls2.esm.min.js +2 -2
- package/dist/secure-ls2.esm.min.js.map +1 -1
- package/dist/secure-ls2.js +58 -48
- package/dist/secure-ls2.js.map +1 -1
- package/dist/secure-ls2.min.js +2 -2
- package/dist/secure-ls2.min.js.map +1 -1
- package/eslint.config.mjs +12 -12
- package/example/index.html +42 -42
- package/package.json +19 -16
- package/types/secure-ls.d.ts +58 -58
package/ci-package.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "secure-ls",
|
|
3
|
-
"description": "Secure localStorage/sessionStorage data with high level of encryption and data compression",
|
|
4
|
-
"main": "./dist/secure-ls.js",
|
|
5
|
-
"browser": "./dist/secure-ls.js",
|
|
6
|
-
"typings": "./types/secure-ls.d.ts",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "yarn build-dev && yarn build-prod",
|
|
9
|
-
"build-dev": "webpack --mode=development",
|
|
10
|
-
"build-prod": "webpack --mode=production",
|
|
11
|
-
"build:patch": "yarn build-dev --env type=patch npm version patch",
|
|
12
|
-
"build:minor": "yarn build-dev --env type=minor npm version minor",
|
|
13
|
-
"build:major": "yarn build-dev --env type=major npm version major",
|
|
14
|
-
"lint": "eslint src/*.js --fix",
|
|
15
|
-
"prettier": "prettier -w **/*.js *.md",
|
|
16
|
-
"test:dev": "jest --watch --runInBand --debug --colors --errorOnDeprecated",
|
|
17
|
-
"test:prod": "jest --runInBand --colors --errorOnDeprecated",
|
|
18
|
-
"test:coverage": "jest --coverage --coverageDirectory=coverage && cat ./coverage/lcov.info"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"crypto-js": "^4.2.0",
|
|
22
|
-
"lz-string": "^1.5.0"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@babel/core": "^7.24.5",
|
|
26
|
-
"@babel/preset-env": "^7.24.5",
|
|
27
|
-
"babel-jest": "^25.x.x",
|
|
28
|
-
"jest": "^25.x.x",
|
|
29
|
-
"jest-environment-jsdom": "^25.x.x",
|
|
30
|
-
"semver": "^7.6.2"
|
|
31
|
-
},
|
|
32
|
-
"repository": {
|
|
33
|
-
"type": "git",
|
|
34
|
-
"url": "https://github.com/softvar/secure-ls.git"
|
|
35
|
-
},
|
|
36
|
-
"keywords": ["secure-ls", "localStorage", "encryption", "compression", "webpack", "es6", "umd", "commonjs"],
|
|
37
|
-
"author": "Varun Malhotra",
|
|
38
|
-
"license": "MIT",
|
|
39
|
-
"bugs": {
|
|
40
|
-
"url": "https://github.com/softvar/secure-ls/issues"
|
|
41
|
-
},
|
|
42
|
-
"homepage": "https://github.com/softvar/secure-ls",
|
|
43
|
-
"engines": {
|
|
44
|
-
"node": ">=8.0"
|
|
45
|
-
},
|
|
46
|
-
"engineStrict": true
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "secure-ls",
|
|
3
|
+
"description": "Secure localStorage/sessionStorage data with high level of encryption and data compression",
|
|
4
|
+
"main": "./dist/secure-ls.js",
|
|
5
|
+
"browser": "./dist/secure-ls.js",
|
|
6
|
+
"typings": "./types/secure-ls.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "yarn build-dev && yarn build-prod",
|
|
9
|
+
"build-dev": "webpack --mode=development",
|
|
10
|
+
"build-prod": "webpack --mode=production",
|
|
11
|
+
"build:patch": "yarn build-dev --env type=patch npm version patch",
|
|
12
|
+
"build:minor": "yarn build-dev --env type=minor npm version minor",
|
|
13
|
+
"build:major": "yarn build-dev --env type=major npm version major",
|
|
14
|
+
"lint": "eslint src/*.js --fix",
|
|
15
|
+
"prettier": "prettier -w **/*.js *.md",
|
|
16
|
+
"test:dev": "jest --watch --runInBand --debug --colors --errorOnDeprecated",
|
|
17
|
+
"test:prod": "jest --runInBand --colors --errorOnDeprecated",
|
|
18
|
+
"test:coverage": "jest --coverage --coverageDirectory=coverage && cat ./coverage/lcov.info"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"crypto-js": "^4.2.0",
|
|
22
|
+
"lz-string": "^1.5.0"
|
|
23
|
+
},
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@babel/core": "^7.24.5",
|
|
26
|
+
"@babel/preset-env": "^7.24.5",
|
|
27
|
+
"babel-jest": "^25.x.x",
|
|
28
|
+
"jest": "^25.x.x",
|
|
29
|
+
"jest-environment-jsdom": "^25.x.x",
|
|
30
|
+
"semver": "^7.6.2"
|
|
31
|
+
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/softvar/secure-ls.git"
|
|
35
|
+
},
|
|
36
|
+
"keywords": ["secure-ls", "localStorage", "encryption", "compression", "webpack", "es6", "umd", "commonjs"],
|
|
37
|
+
"author": "Varun Malhotra",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/softvar/secure-ls/issues"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/softvar/secure-ls",
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=8.0"
|
|
45
|
+
},
|
|
46
|
+
"engineStrict": true
|
|
47
|
+
}
|
package/coverage/clover.xml
CHANGED
|
@@ -1,79 +1,85 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
4
|
-
<metrics statements="
|
|
2
|
+
<coverage generated="1780644684560" clover="3.2.0">
|
|
3
|
+
<project timestamp="1780644684560" name="All files">
|
|
4
|
+
<metrics statements="240" coveredstatements="196" conditionals="139" coveredconditionals="104" methods="49" coveredmethods="49" elements="428" coveredelements="349" complexity="0" loc="240" ncloc="240" packages="2" files="8" classes="8"/>
|
|
5
5
|
<package name="src">
|
|
6
|
-
<metrics statements="
|
|
6
|
+
<metrics statements="233" coveredstatements="189" conditionals="135" coveredconditionals="101" methods="45" coveredmethods="45"/>
|
|
7
7
|
<file name="Base64.js" path="C:\Users\mtcmi\Documents\secure-ls\src\Base64.js">
|
|
8
|
-
<metrics statements="
|
|
8
|
+
<metrics statements="71" coveredstatements="34" conditionals="29" coveredconditionals="9" methods="4" coveredmethods="4"/>
|
|
9
9
|
<line num="1" count="7" type="stmt"/>
|
|
10
|
-
<line num="
|
|
11
|
-
<line num="
|
|
10
|
+
<line num="2" count="7" type="stmt"/>
|
|
11
|
+
<line num="4" count="7" type="stmt"/>
|
|
12
|
+
<line num="7" count="67" type="stmt"/>
|
|
12
13
|
<line num="8" count="67" type="stmt"/>
|
|
13
|
-
<line num="
|
|
14
|
-
<line num="
|
|
15
|
-
<line num="
|
|
16
|
-
<line num="
|
|
17
|
-
<line num="
|
|
18
|
-
<line num="
|
|
19
|
-
<line num="
|
|
20
|
-
<line num="
|
|
21
|
-
<line num="
|
|
22
|
-
<line num="
|
|
23
|
-
<line num="
|
|
24
|
-
<line num="
|
|
25
|
-
<line num="
|
|
26
|
-
<line num="
|
|
27
|
-
<line num="
|
|
28
|
-
<line num="
|
|
29
|
-
<line num="
|
|
30
|
-
<line num="
|
|
31
|
-
<line num="34" count="
|
|
32
|
-
<line num="
|
|
33
|
-
<line num="
|
|
34
|
-
<line num="
|
|
35
|
-
<line num="
|
|
36
|
-
<line num="
|
|
37
|
-
<line num="
|
|
38
|
-
<line num="
|
|
39
|
-
<line num="
|
|
40
|
-
<line num="
|
|
41
|
-
<line num="
|
|
42
|
-
<line num="
|
|
43
|
-
<line num="
|
|
44
|
-
<line num="
|
|
45
|
-
<line num="
|
|
46
|
-
<line num="
|
|
47
|
-
<line num="
|
|
48
|
-
<line num="
|
|
49
|
-
<line num="
|
|
50
|
-
<line num="
|
|
51
|
-
<line num="
|
|
52
|
-
<line num="
|
|
53
|
-
<line num="
|
|
54
|
-
<line num="
|
|
55
|
-
<line num="
|
|
56
|
-
<line num="
|
|
57
|
-
<line num="
|
|
58
|
-
<line num="
|
|
59
|
-
<line num="
|
|
60
|
-
<line num="
|
|
61
|
-
<line num="
|
|
62
|
-
<line num="
|
|
63
|
-
<line num="
|
|
64
|
-
<line num="
|
|
65
|
-
<line num="
|
|
66
|
-
<line num="
|
|
67
|
-
<line num="
|
|
68
|
-
<line num="
|
|
69
|
-
<line num="
|
|
70
|
-
<line num="
|
|
71
|
-
<line num="
|
|
72
|
-
<line num="
|
|
73
|
-
<line num="
|
|
14
|
+
<line num="10" count="67" type="stmt"/>
|
|
15
|
+
<line num="11" count="67" type="stmt"/>
|
|
16
|
+
<line num="13" count="67" type="stmt"/>
|
|
17
|
+
<line num="15" count="67" type="cond" truecount="3" falsecount="1"/>
|
|
18
|
+
<line num="16" count="67" type="stmt"/>
|
|
19
|
+
<line num="19" count="0" type="stmt"/>
|
|
20
|
+
<line num="20" count="0" type="stmt"/>
|
|
21
|
+
<line num="21" count="0" type="stmt"/>
|
|
22
|
+
<line num="22" count="0" type="stmt"/>
|
|
23
|
+
<line num="23" count="0" type="stmt"/>
|
|
24
|
+
<line num="24" count="0" type="stmt"/>
|
|
25
|
+
<line num="25" count="0" type="stmt"/>
|
|
26
|
+
<line num="26" count="0" type="stmt"/>
|
|
27
|
+
<line num="27" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
28
|
+
<line num="28" count="0" type="stmt"/>
|
|
29
|
+
<line num="29" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
30
|
+
<line num="30" count="0" type="stmt"/>
|
|
31
|
+
<line num="32" count="0" type="stmt"/>
|
|
32
|
+
<line num="34" count="0" type="stmt"/>
|
|
33
|
+
<line num="37" count="42" type="stmt"/>
|
|
34
|
+
<line num="38" count="42" type="stmt"/>
|
|
35
|
+
<line num="41" count="42" type="stmt"/>
|
|
36
|
+
<line num="42" count="42" type="stmt"/>
|
|
37
|
+
<line num="44" count="42" type="stmt"/>
|
|
38
|
+
<line num="46" count="42" type="cond" truecount="4" falsecount="1"/>
|
|
39
|
+
<line num="47" count="42" type="stmt"/>
|
|
40
|
+
<line num="50" count="0" type="stmt"/>
|
|
41
|
+
<line num="51" count="0" type="stmt"/>
|
|
42
|
+
<line num="52" count="0" type="stmt"/>
|
|
43
|
+
<line num="53" count="0" type="stmt"/>
|
|
44
|
+
<line num="54" count="0" type="stmt"/>
|
|
45
|
+
<line num="55" count="0" type="stmt"/>
|
|
46
|
+
<line num="56" count="0" type="stmt"/>
|
|
47
|
+
<line num="57" count="0" type="stmt"/>
|
|
48
|
+
<line num="58" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
49
|
+
<line num="59" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
50
|
+
<line num="61" count="0" type="stmt"/>
|
|
51
|
+
<line num="64" count="0" type="stmt"/>
|
|
52
|
+
<line num="67" count="67" type="stmt"/>
|
|
53
|
+
<line num="68" count="67" type="stmt"/>
|
|
54
|
+
<line num="69" count="67" type="stmt"/>
|
|
55
|
+
<line num="71" count="67" type="stmt"/>
|
|
56
|
+
<line num="72" count="1765" type="stmt"/>
|
|
57
|
+
<line num="74" count="1765" type="cond" truecount="1" falsecount="1"/>
|
|
58
|
+
<line num="75" count="1765" type="stmt"/>
|
|
59
|
+
<line num="76" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
60
|
+
<line num="77" count="0" type="stmt"/>
|
|
61
|
+
<line num="79" count="0" type="stmt"/>
|
|
62
|
+
<line num="82" count="67" type="stmt"/>
|
|
63
|
+
<line num="85" count="42" type="stmt"/>
|
|
64
|
+
<line num="86" count="42" type="stmt"/>
|
|
65
|
+
<line num="88" count="42" type="stmt"/>
|
|
66
|
+
<line num="91" count="42" type="stmt"/>
|
|
67
|
+
<line num="92" count="1230" type="stmt"/>
|
|
68
|
+
<line num="93" count="1230" type="cond" truecount="1" falsecount="1"/>
|
|
69
|
+
<line num="94" count="1230" type="stmt"/>
|
|
70
|
+
<line num="95" count="1230" type="stmt"/>
|
|
71
|
+
<line num="96" count="0" type="cond" truecount="0" falsecount="4"/>
|
|
72
|
+
<line num="97" count="0" type="stmt"/>
|
|
73
|
+
<line num="98" count="0" type="stmt"/>
|
|
74
|
+
<line num="99" count="0" type="stmt"/>
|
|
75
|
+
<line num="101" count="0" type="stmt"/>
|
|
76
|
+
<line num="102" count="0" type="stmt"/>
|
|
77
|
+
<line num="103" count="0" type="stmt"/>
|
|
78
|
+
<line num="104" count="0" type="stmt"/>
|
|
79
|
+
<line num="107" count="42" type="stmt"/>
|
|
74
80
|
</file>
|
|
75
81
|
<file name="SecureLS.js" path="C:\Users\mtcmi\Documents\secure-ls\src\SecureLS.js">
|
|
76
|
-
<metrics statements="110" coveredstatements="
|
|
82
|
+
<metrics statements="110" coveredstatements="104" conditionals="88" coveredconditionals="79" methods="24" coveredmethods="24"/>
|
|
77
83
|
<line num="12" count="7" type="stmt"/>
|
|
78
84
|
<line num="29" count="103" type="stmt"/>
|
|
79
85
|
<line num="41" count="103" type="stmt"/>
|
|
@@ -95,95 +101,95 @@
|
|
|
95
101
|
<line num="87" count="106" type="cond" truecount="2" falsecount="0"/>
|
|
96
102
|
<line num="91" count="106" type="cond" truecount="2" falsecount="0"/>
|
|
97
103
|
<line num="95" count="114" type="stmt"/>
|
|
98
|
-
<line num="99" count="41" type="
|
|
99
|
-
<line num="
|
|
100
|
-
<line num="
|
|
101
|
-
<line num="
|
|
102
|
-
<line num="
|
|
103
|
-
<line num="
|
|
104
|
-
<line num="108" count="0" type="stmt"/>
|
|
105
|
-
<line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
104
|
+
<line num="99" count="41" type="cond" truecount="4" falsecount="0"/>
|
|
105
|
+
<line num="103" count="41" type="cond" truecount="2" falsecount="0"/>
|
|
106
|
+
<line num="104" count="23" type="stmt"/>
|
|
107
|
+
<line num="107" count="18" type="stmt"/>
|
|
108
|
+
<line num="108" count="18" type="stmt"/>
|
|
109
|
+
<line num="110" count="18" type="cond" truecount="1" falsecount="1"/>
|
|
106
110
|
<line num="111" count="0" type="stmt"/>
|
|
107
|
-
<line num="
|
|
108
|
-
<line num="
|
|
109
|
-
<line num="
|
|
110
|
-
<line num="
|
|
111
|
-
<line num="
|
|
112
|
-
<line num="
|
|
113
|
-
<line num="
|
|
114
|
-
<line num="
|
|
115
|
-
<line num="
|
|
116
|
-
<line num="
|
|
117
|
-
<line num="
|
|
118
|
-
<line num="
|
|
119
|
-
<line num="
|
|
120
|
-
<line num="
|
|
121
|
-
<line num="
|
|
122
|
-
<line num="
|
|
123
|
-
<line num="
|
|
124
|
-
<line num="
|
|
125
|
-
<line num="
|
|
126
|
-
<line num="
|
|
127
|
-
<line num="
|
|
128
|
-
<line num="
|
|
129
|
-
<line num="180" count="
|
|
130
|
-
<line num="
|
|
131
|
-
<line num="
|
|
132
|
-
<line num="
|
|
133
|
-
<line num="189" count="
|
|
134
|
-
<line num="
|
|
135
|
-
<line num="
|
|
136
|
-
<line num="
|
|
137
|
-
<line num="
|
|
138
|
-
<line num="
|
|
139
|
-
<line num="
|
|
140
|
-
<line num="208" count="
|
|
141
|
-
<line num="
|
|
142
|
-
<line num="
|
|
143
|
-
<line num="
|
|
144
|
-
<line num="
|
|
145
|
-
<line num="
|
|
146
|
-
<line num="
|
|
147
|
-
<line num="
|
|
148
|
-
<line num="
|
|
149
|
-
<line num="
|
|
150
|
-
<line num="
|
|
151
|
-
<line num="
|
|
152
|
-
<line num="
|
|
153
|
-
<line num="
|
|
154
|
-
<line num="
|
|
155
|
-
<line num="
|
|
156
|
-
<line num="
|
|
157
|
-
<line num="
|
|
158
|
-
<line num="
|
|
159
|
-
<line num="
|
|
160
|
-
<line num="
|
|
161
|
-
<line num="
|
|
162
|
-
<line num="254" count="
|
|
163
|
-
<line num="
|
|
164
|
-
<line num="
|
|
165
|
-
<line num="
|
|
166
|
-
<line num="262" count="38" type="
|
|
167
|
-
<line num="
|
|
168
|
-
<line num="
|
|
111
|
+
<line num="113" count="0" type="cond" truecount="0" falsecount="2"/>
|
|
112
|
+
<line num="114" count="0" type="stmt"/>
|
|
113
|
+
<line num="115" count="0" type="stmt"/>
|
|
114
|
+
<line num="118" count="18" type="cond" truecount="3" falsecount="0"/>
|
|
115
|
+
<line num="123" count="25" type="stmt"/>
|
|
116
|
+
<line num="124" count="25" type="cond" truecount="2" falsecount="0"/>
|
|
117
|
+
<line num="128" count="212" type="stmt"/>
|
|
118
|
+
<line num="132" count="83" type="stmt"/>
|
|
119
|
+
<line num="136" count="45" type="stmt"/>
|
|
120
|
+
<line num="144" count="45" type="stmt"/>
|
|
121
|
+
<line num="148" count="197" type="cond" truecount="2" falsecount="0"/>
|
|
122
|
+
<line num="152" count="242" type="cond" truecount="2" falsecount="0"/>
|
|
123
|
+
<line num="156" count="174" type="stmt"/>
|
|
124
|
+
<line num="157" count="174" type="stmt"/>
|
|
125
|
+
<line num="161" count="90" type="cond" truecount="5" falsecount="0"/>
|
|
126
|
+
<line num="162" count="6" type="stmt"/>
|
|
127
|
+
<line num="167" count="84" type="stmt"/>
|
|
128
|
+
<line num="168" count="84" type="stmt"/>
|
|
129
|
+
<line num="170" count="0" type="stmt"/>
|
|
130
|
+
<line num="175" count="84" type="stmt"/>
|
|
131
|
+
<line num="177" count="84" type="cond" truecount="4" falsecount="0"/>
|
|
132
|
+
<line num="178" count="62" type="stmt"/>
|
|
133
|
+
<line num="180" count="22" type="stmt"/>
|
|
134
|
+
<line num="181" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
135
|
+
<line num="182" count="21" type="stmt"/>
|
|
136
|
+
<line num="185" count="22" type="cond" truecount="2" falsecount="0"/>
|
|
137
|
+
<line num="189" count="84" type="stmt"/>
|
|
138
|
+
<line num="190" count="84" type="cond" truecount="4" falsecount="0"/>
|
|
139
|
+
<line num="191" count="74" type="stmt"/>
|
|
140
|
+
<line num="194" count="84" type="stmt"/>
|
|
141
|
+
<line num="199" count="75" type="stmt"/>
|
|
142
|
+
<line num="201" count="75" type="cond" truecount="1" falsecount="1"/>
|
|
143
|
+
<line num="206" count="213" type="stmt"/>
|
|
144
|
+
<line num="208" count="213" type="cond" truecount="2" falsecount="0"/>
|
|
145
|
+
<line num="209" count="1" type="stmt"/>
|
|
146
|
+
<line num="210" count="1" type="stmt"/>
|
|
147
|
+
<line num="213" count="212" type="stmt"/>
|
|
148
|
+
<line num="215" count="212" type="cond" truecount="2" falsecount="0"/>
|
|
149
|
+
<line num="216" count="167" type="stmt"/>
|
|
150
|
+
<line num="219" count="45" type="stmt"/>
|
|
151
|
+
<line num="220" count="45" type="cond" truecount="3" falsecount="1"/>
|
|
152
|
+
<line num="222" count="45" type="stmt"/>
|
|
153
|
+
<line num="225" count="45" type="stmt"/>
|
|
154
|
+
<line num="226" count="45" type="cond" truecount="4" falsecount="0"/>
|
|
155
|
+
<line num="228" count="42" type="stmt"/>
|
|
156
|
+
<line num="230" count="3" type="stmt"/>
|
|
157
|
+
<line num="231" count="3" type="stmt"/>
|
|
158
|
+
<line num="233" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
159
|
+
<line num="234" count="3" type="stmt"/>
|
|
160
|
+
<line num="236" count="3" type="cond" truecount="1" falsecount="1"/>
|
|
161
|
+
<line num="237" count="3" type="stmt"/>
|
|
162
|
+
<line num="242" count="44" type="stmt"/>
|
|
163
|
+
<line num="243" count="44" type="stmt"/>
|
|
164
|
+
<line num="245" count="0" type="stmt"/>
|
|
165
|
+
<line num="248" count="44" type="stmt"/>
|
|
166
|
+
<line num="254" count="39" type="cond" truecount="2" falsecount="0"/>
|
|
167
|
+
<line num="255" count="1" type="stmt"/>
|
|
168
|
+
<line num="256" count="1" type="stmt"/>
|
|
169
|
+
<line num="259" count="38" type="stmt"/>
|
|
170
|
+
<line num="262" count="38" type="cond" truecount="1" falsecount="1"/>
|
|
171
|
+
<line num="263" count="38" type="cond" truecount="1" falsecount="1"/>
|
|
172
|
+
<line num="264" count="38" type="stmt"/>
|
|
173
|
+
<line num="268" count="38" type="stmt"/>
|
|
169
174
|
<line num="272" count="38" type="stmt"/>
|
|
170
|
-
<line num="
|
|
171
|
-
<line num="
|
|
172
|
-
<line num="
|
|
173
|
-
<line num="
|
|
174
|
-
<line num="
|
|
175
|
-
<line num="
|
|
176
|
-
<line num="
|
|
177
|
-
<line num="
|
|
178
|
-
<line num="
|
|
179
|
-
<line num="290" count="
|
|
180
|
-
<line num="
|
|
175
|
+
<line num="274" count="38" type="stmt"/>
|
|
176
|
+
<line num="278" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
177
|
+
<line num="279" count="2" type="stmt"/>
|
|
178
|
+
<line num="280" count="2" type="stmt"/>
|
|
179
|
+
<line num="283" count="10" type="cond" truecount="4" falsecount="0"/>
|
|
180
|
+
<line num="284" count="1" type="stmt"/>
|
|
181
|
+
<line num="285" count="1" type="stmt"/>
|
|
182
|
+
<line num="288" count="9" type="cond" truecount="2" falsecount="0"/>
|
|
183
|
+
<line num="289" count="7" type="stmt"/>
|
|
184
|
+
<line num="290" count="7" type="stmt"/>
|
|
185
|
+
<line num="292" count="9" type="stmt"/>
|
|
181
186
|
<line num="296" count="69" type="stmt"/>
|
|
182
|
-
<line num="
|
|
183
|
-
<line num="
|
|
184
|
-
<line num="
|
|
185
|
-
<line num="
|
|
186
|
-
<line num="
|
|
187
|
+
<line num="298" count="69" type="stmt"/>
|
|
188
|
+
<line num="299" count="29" type="stmt"/>
|
|
189
|
+
<line num="302" count="69" type="stmt"/>
|
|
190
|
+
<line num="303" count="69" type="stmt"/>
|
|
191
|
+
<line num="307" count="1" type="stmt"/>
|
|
192
|
+
<line num="308" count="1" type="stmt"/>
|
|
187
193
|
</file>
|
|
188
194
|
<file name="WordArray.js" path="C:\Users\mtcmi\Documents\secure-ls\src\WordArray.js">
|
|
189
195
|
<metrics statements="21" coveredstatements="20" conditionals="8" coveredconditionals="6" methods="4" coveredmethods="4"/>
|
|
@@ -236,20 +242,21 @@
|
|
|
236
242
|
<metrics statements="0" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
237
243
|
</file>
|
|
238
244
|
<file name="utils.js" path="C:\Users\mtcmi\Documents\secure-ls\src\utils.js">
|
|
239
|
-
<metrics statements="
|
|
245
|
+
<metrics statements="14" coveredstatements="14" conditionals="10" coveredconditionals="7" methods="11" coveredmethods="11"/>
|
|
240
246
|
<line num="5" count="7" type="stmt"/>
|
|
241
|
-
<line num="6" count="
|
|
247
|
+
<line num="6" count="266" type="stmt"/>
|
|
242
248
|
<line num="9" count="8" type="stmt"/>
|
|
243
249
|
<line num="13" count="7" type="stmt"/>
|
|
244
250
|
<line num="14" count="7" type="stmt"/>
|
|
245
251
|
<line num="15" count="7" type="stmt"/>
|
|
246
|
-
<line num="19" count="
|
|
252
|
+
<line num="19" count="21" type="cond" truecount="2" falsecount="0"/>
|
|
247
253
|
<line num="23" count="76" type="stmt"/>
|
|
248
254
|
<line num="27" count="49" type="stmt"/>
|
|
249
|
-
<line num="
|
|
250
|
-
<line num="
|
|
251
|
-
<line num="
|
|
252
|
-
<line num="35" count="
|
|
255
|
+
<line num="29" count="49" type="stmt"/>
|
|
256
|
+
<line num="33" count="11" type="stmt"/>
|
|
257
|
+
<line num="34" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
258
|
+
<line num="35" count="9" type="stmt"/>
|
|
259
|
+
<line num="37" count="10" type="stmt"/>
|
|
253
260
|
</file>
|
|
254
261
|
</package>
|
|
255
262
|
<package name="test.mock">
|
|
@@ -260,7 +267,7 @@
|
|
|
260
267
|
<line num="4" count="25" type="stmt"/>
|
|
261
268
|
<line num="6" count="25" type="stmt"/>
|
|
262
269
|
<line num="9" count="54" type="cond" truecount="1" falsecount="1"/>
|
|
263
|
-
<line num="12" count="
|
|
270
|
+
<line num="12" count="48" type="cond" truecount="2" falsecount="0"/>
|
|
264
271
|
<line num="15" count="49" type="stmt"/>
|
|
265
272
|
<line num="21" count="3" type="stmt"/>
|
|
266
273
|
</file>
|