@grnsft/if 0.1.6 → 0.1.8
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/CONTRIBUTING.md +1 -1
- package/README.md +1 -34
- package/build/index.js +2 -2
- package/coverage/clover.xml +379 -0
- package/coverage/coverage-final.json +14 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/config/config.ts.html +250 -0
- package/coverage/lcov-report/config/index.html +146 -0
- package/coverage/lcov-report/config/index.ts.html +91 -0
- package/coverage/lcov-report/config/strings.ts.html +208 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +161 -0
- package/coverage/lcov-report/lib/index.html +161 -0
- package/coverage/lcov-report/lib/models-universe.ts.html +517 -0
- package/coverage/lcov-report/lib/observatory.ts.html +187 -0
- package/coverage/lcov-report/lib/planet-aggregator.ts.html +274 -0
- package/coverage/lcov-report/lib/supercomputer.ts.html +472 -0
- package/coverage/lcov-report/models/index.html +131 -0
- package/coverage/lcov-report/models/index.ts.html +88 -0
- package/coverage/lcov-report/models/planet-aggregator.ts.html +271 -0
- package/coverage/lcov-report/models/time-sync.ts.html +1165 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/util/args.ts.html +289 -0
- package/coverage/lcov-report/util/errors.ts.html +166 -0
- package/coverage/lcov-report/util/index.html +161 -0
- package/coverage/lcov-report/util/units-dealer.ts.html +199 -0
- package/coverage/lcov-report/util/yaml.ts.html +193 -0
- package/coverage/lcov.info +637 -0
- package/examples/impls/test/aggregation-test.yml +2 -2
- package/examples/impls/test/e-net.yml +21 -0
- package/examples/impls/test/nesting.yml +93 -42
- package/examples/impls/test/sci.yml +3 -3
- package/examples/impls/test/shell.yml +5 -5
- package/examples/ompls/nesting.yml +91 -85
- package/examples/ompls/sci.yml +4 -3
- package/examples/ompls/shell.yml +7 -7
- package/grafana/IF_GRAFANA_SETUP.md +71 -0
- package/grafana/if_grafana_config.json +370 -0
- package/jest.config.js +1 -1
- package/package.json +2 -3
- package/src/config/units.yaml +1 -1
- package/examples/ompls/test/time-sync.yml +0 -255
package/CONTRIBUTING.md
CHANGED
|
@@ -60,7 +60,7 @@ Add and commit:
|
|
|
60
60
|
|
|
61
61
|
Commit your changes in logical chunks. Please do not push all changes in one commit.
|
|
62
62
|
|
|
63
|
-
> Run `
|
|
63
|
+
> Run `npm run fix` before commiting for not having conflict with CI linter.
|
|
64
64
|
|
|
65
65
|
Please adhere to these [Commit message guidelines](#commit-message-guidelines)
|
|
66
66
|
or your code is unlikely be merged into the main project.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**Welcome to [CarbonHack 24](https://grnsft.org/hack/github) from the Green Software Foundation.**
|
|
8
8
|
|
|
9
|
-
> From Monday,
|
|
9
|
+
> From Monday, 18th March - Monday, 8th April 2024, participants will compete to showcase their best application of IF in measuring the environmental impacts of software.
|
|
10
10
|
>
|
|
11
11
|
> Carbon Hack is a dynamic competition that combines healthy rivalry with collaborative innovation. Hackers will push the limits of the framework, uncover potential weaknesses, and create innovations to enhance the tool.
|
|
12
12
|
>
|
|
@@ -72,39 +72,6 @@ impact-engine --impl <path-to-your-impl-file> --ompl <your-savepath>
|
|
|
72
72
|
|
|
73
73
|
The `impact-engine` CLI tool will configure and run the models defined in your input `yaml` (`impl`) and return the results as an output `yaml` (`ompl`).
|
|
74
74
|
|
|
75
|
-
### Alternate version
|
|
76
|
-
|
|
77
|
-
Start by cloning repository locally:
|
|
78
|
-
|
|
79
|
-
```sh
|
|
80
|
-
git clone https://github.com/Green-Software-Foundation/if
|
|
81
|
-
|
|
82
|
-
cd if
|
|
83
|
-
|
|
84
|
-
yarn install
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Then installing some models:
|
|
88
|
-
|
|
89
|
-
```sh
|
|
90
|
-
yarn add "@grnsft/if-models"
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
Then create an `impl` file that describes your application (see our docs for a detailed explanation).
|
|
94
|
-
|
|
95
|
-
Then, run `impact-engine` using the following command:
|
|
96
|
-
|
|
97
|
-
```sh
|
|
98
|
-
yarn impact-engine -- --impl <path-to-your-impl-file>
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
You can also add an optional savepath for your output yaml (if you do not provide one, the output will be printed to the console):
|
|
102
|
-
|
|
103
|
-
```sh
|
|
104
|
-
yarn impact-engine -- --impl <path-to-your-impl-file> --ompl <your-savepath>
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
The `impact-engine` CLI tool will configure and run the models defined in your input `yaml` (`impl`) and return the results as an output `yaml` (`ompl`).
|
|
108
75
|
|
|
109
76
|
## Documentation
|
|
110
77
|
|
package/build/index.js
CHANGED
|
@@ -18,7 +18,7 @@ const { DISCLAIMER_MESSAGE, SOMETHING_WRONG } = config_1.STRINGS;
|
|
|
18
18
|
* 4. Initializes requested models.
|
|
19
19
|
* 5. Initializes graph, does computing.
|
|
20
20
|
* 6. Saves processed object as a yaml file.
|
|
21
|
-
* @example run `
|
|
21
|
+
* @example run `npm run impact-engine -- --impl ./test.yml --ompl ./result.yml`
|
|
22
22
|
*/
|
|
23
23
|
const impactEngine = async () => {
|
|
24
24
|
console.log(DISCLAIMER_MESSAGE);
|
|
@@ -50,4 +50,4 @@ const impactEngine = async () => {
|
|
|
50
50
|
return Promise.reject(new CliInputError(SOMETHING_WRONG));
|
|
51
51
|
};
|
|
52
52
|
impactEngine().catch(helpers_1.andHandle);
|
|
53
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9z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IH1cblxuICByZXR1cm4gUHJvbWlzZS5yZWplY3QobmV3IENsaUlucHV0RXJyb3IoU09NRVRISU5HX1dST05HKSk7XG59O1xuXG5pbXBhY3RFbmdpbmUoKS5jYXRjaChhbmRIYW5kbGUpO1xuIl19
|
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<coverage generated="1705324063786" clover="3.2.0">
|
|
3
|
+
<project timestamp="1705324063786" name="All files">
|
|
4
|
+
<metrics statements="322" coveredstatements="319" conditionals="68" coveredconditionals="66" methods="65" coveredmethods="65" elements="455" coveredelements="450" complexity="0" loc="322" ncloc="322" packages="4" files="13" classes="13"/>
|
|
5
|
+
<package name="config">
|
|
6
|
+
<metrics statements="10" coveredstatements="10" conditionals="0" coveredconditionals="0" methods="8" coveredmethods="8"/>
|
|
7
|
+
<file name="config.ts" path="/Users/admin/Projects/uk/ief/src/config/config.ts">
|
|
8
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
9
|
+
<line num="5" count="6" type="stmt"/>
|
|
10
|
+
</file>
|
|
11
|
+
<file name="index.ts" path="/Users/admin/Projects/uk/ief/src/config/index.ts">
|
|
12
|
+
<metrics statements="2" coveredstatements="2" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
13
|
+
<line num="1" count="9" type="stmt"/>
|
|
14
|
+
<line num="2" count="20" type="stmt"/>
|
|
15
|
+
</file>
|
|
16
|
+
<file name="strings.ts" path="/Users/admin/Projects/uk/ief/src/config/strings.ts">
|
|
17
|
+
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="6" coveredmethods="6"/>
|
|
18
|
+
<line num="3" count="7" type="stmt"/>
|
|
19
|
+
<line num="11" count="3" type="stmt"/>
|
|
20
|
+
<line num="13" count="3" type="stmt"/>
|
|
21
|
+
<line num="31" count="3" type="stmt"/>
|
|
22
|
+
<line num="33" count="3" type="stmt"/>
|
|
23
|
+
<line num="38" count="3" type="stmt"/>
|
|
24
|
+
<line num="40" count="3" type="stmt"/>
|
|
25
|
+
</file>
|
|
26
|
+
</package>
|
|
27
|
+
<package name="lib">
|
|
28
|
+
<metrics statements="118" coveredstatements="118" conditionals="29" coveredconditionals="28" methods="23" coveredmethods="23"/>
|
|
29
|
+
<file name="models-universe.ts" path="/Users/admin/Projects/uk/ief/src/lib/models-universe.ts">
|
|
30
|
+
<metrics statements="45" coveredstatements="45" conditionals="10" coveredconditionals="10" methods="9" coveredmethods="9"/>
|
|
31
|
+
<line num="1" count="1" type="stmt"/>
|
|
32
|
+
<line num="3" count="1" type="stmt"/>
|
|
33
|
+
<line num="5" count="1" type="stmt"/>
|
|
34
|
+
<line num="14" count="1" type="stmt"/>
|
|
35
|
+
<line num="16" count="1" type="stmt"/>
|
|
36
|
+
<line num="25" count="1" type="stmt"/>
|
|
37
|
+
<line num="30" count="1" type="stmt"/>
|
|
38
|
+
<line num="34" count="10" type="stmt"/>
|
|
39
|
+
<line num="40" count="5" type="stmt"/>
|
|
40
|
+
<line num="41" count="5" type="stmt"/>
|
|
41
|
+
<line num="42" count="4" type="cond" truecount="2" falsecount="0"/>
|
|
42
|
+
<line num="44" count="4" type="stmt"/>
|
|
43
|
+
<line num="46" count="1" type="stmt"/>
|
|
44
|
+
<line num="54" count="6" type="stmt"/>
|
|
45
|
+
<line num="55" count="6" type="stmt"/>
|
|
46
|
+
<line num="57" count="5" type="stmt"/>
|
|
47
|
+
<line num="59" count="1" type="stmt"/>
|
|
48
|
+
<line num="60" count="1" type="stmt"/>
|
|
49
|
+
<line num="68" count="6" type="stmt"/>
|
|
50
|
+
<line num="70" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
51
|
+
<line num="71" count="1" type="stmt"/>
|
|
52
|
+
<line num="74" count="3" type="stmt"/>
|
|
53
|
+
<line num="83" count="6" type="cond" truecount="2" falsecount="0"/>
|
|
54
|
+
<line num="84" count="1" type="stmt"/>
|
|
55
|
+
<line num="86" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
56
|
+
<line num="87" count="4" type="stmt"/>
|
|
57
|
+
<line num="88" count="4" type="stmt"/>
|
|
58
|
+
<line num="91" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
59
|
+
<line num="92" count="5" type="stmt"/>
|
|
60
|
+
<line num="96" count="6" type="stmt"/>
|
|
61
|
+
<line num="103" count="8" type="stmt"/>
|
|
62
|
+
<line num="105" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
63
|
+
<line num="106" count="1" type="stmt"/>
|
|
64
|
+
<line num="109" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
65
|
+
<line num="110" count="1" type="stmt"/>
|
|
66
|
+
<line num="113" count="6" type="stmt"/>
|
|
67
|
+
<line num="115" count="3" type="stmt"/>
|
|
68
|
+
<line num="116" count="3" type="stmt"/>
|
|
69
|
+
<line num="121" count="3" type="stmt"/>
|
|
70
|
+
<line num="123" count="3" type="stmt"/>
|
|
71
|
+
<line num="126" count="3" type="stmt"/>
|
|
72
|
+
<line num="131" count="3" type="stmt"/>
|
|
73
|
+
<line num="138" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
74
|
+
<line num="139" count="2" type="stmt"/>
|
|
75
|
+
<line num="142" count="1" type="stmt"/>
|
|
76
|
+
</file>
|
|
77
|
+
<file name="observatory.ts" path="/Users/admin/Projects/uk/ief/src/lib/observatory.ts">
|
|
78
|
+
<metrics statements="7" coveredstatements="7" conditionals="2" coveredconditionals="1" methods="3" coveredmethods="3"/>
|
|
79
|
+
<line num="6" count="2" type="stmt"/>
|
|
80
|
+
<line num="8" count="11" type="stmt"/>
|
|
81
|
+
<line num="14" count="11" type="stmt"/>
|
|
82
|
+
<line num="21" count="9" type="cond" truecount="1" falsecount="1"/>
|
|
83
|
+
<line num="23" count="9" type="stmt"/>
|
|
84
|
+
<line num="25" count="9" type="stmt"/>
|
|
85
|
+
<line num="32" count="9" type="stmt"/>
|
|
86
|
+
</file>
|
|
87
|
+
<file name="planet-aggregator.ts" path="/Users/admin/Projects/uk/ief/src/lib/planet-aggregator.ts">
|
|
88
|
+
<metrics statements="24" coveredstatements="24" conditionals="6" coveredconditionals="6" methods="4" coveredmethods="4"/>
|
|
89
|
+
<line num="1" count="2" type="stmt"/>
|
|
90
|
+
<line num="2" count="2" type="stmt"/>
|
|
91
|
+
<line num="4" count="2" type="stmt"/>
|
|
92
|
+
<line num="11" count="2" type="stmt"/>
|
|
93
|
+
<line num="12" count="2" type="stmt"/>
|
|
94
|
+
<line num="18" count="2" type="stmt"/>
|
|
95
|
+
<line num="22" count="6" type="stmt"/>
|
|
96
|
+
<line num="23" count="6" type="stmt"/>
|
|
97
|
+
<line num="25" count="6" type="cond" truecount="1" falsecount="0"/>
|
|
98
|
+
<line num="26" count="1" type="stmt"/>
|
|
99
|
+
<line num="35" count="2" type="stmt"/>
|
|
100
|
+
<line num="39" count="6" type="stmt"/>
|
|
101
|
+
<line num="41" count="6" type="stmt"/>
|
|
102
|
+
<line num="43" count="5" type="stmt"/>
|
|
103
|
+
<line num="44" count="9" type="stmt"/>
|
|
104
|
+
<line num="45" count="9" type="cond" truecount="1" falsecount="0"/>
|
|
105
|
+
<line num="46" count="1" type="stmt"/>
|
|
106
|
+
<line num="49" count="8" type="stmt"/>
|
|
107
|
+
<line num="50" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
108
|
+
<line num="51" count="8" type="stmt"/>
|
|
109
|
+
<line num="54" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
110
|
+
<line num="55" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
111
|
+
<line num="56" count="1" type="stmt"/>
|
|
112
|
+
<line num="61" count="8" type="stmt"/>
|
|
113
|
+
</file>
|
|
114
|
+
<file name="supercomputer.ts" path="/Users/admin/Projects/uk/ief/src/lib/supercomputer.ts">
|
|
115
|
+
<metrics statements="42" coveredstatements="42" conditionals="11" coveredconditionals="11" methods="7" coveredmethods="7"/>
|
|
116
|
+
<line num="2" count="1" type="stmt"/>
|
|
117
|
+
<line num="3" count="1" type="stmt"/>
|
|
118
|
+
<line num="5" count="1" type="stmt"/>
|
|
119
|
+
<line num="7" count="1" type="stmt"/>
|
|
120
|
+
<line num="12" count="1" type="stmt"/>
|
|
121
|
+
<line num="14" count="1" type="stmt"/>
|
|
122
|
+
<line num="19" count="1" type="stmt"/>
|
|
123
|
+
<line num="23" count="7" type="stmt"/>
|
|
124
|
+
<line num="26" count="7" type="stmt"/>
|
|
125
|
+
<line num="27" count="7" type="stmt"/>
|
|
126
|
+
<line num="34" count="7" type="stmt"/>
|
|
127
|
+
<line num="36" count="7" type="stmt"/>
|
|
128
|
+
<line num="43" count="7" type="stmt"/>
|
|
129
|
+
<line num="45" count="14" type="stmt"/>
|
|
130
|
+
<line num="61" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
131
|
+
<line num="62" count="6" type="stmt"/>
|
|
132
|
+
<line num="65" count="8" type="stmt"/>
|
|
133
|
+
<line num="67" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
134
|
+
<line num="68" count="2" type="stmt"/>
|
|
135
|
+
<line num="71" count="8" type="cond" truecount="1" falsecount="0"/>
|
|
136
|
+
<line num="72" count="1" type="stmt"/>
|
|
137
|
+
<line num="75" count="7" type="stmt"/>
|
|
138
|
+
<line num="76" count="7" type="stmt"/>
|
|
139
|
+
<line num="78" count="7" type="stmt"/>
|
|
140
|
+
<line num="79" count="7" type="stmt"/>
|
|
141
|
+
<line num="83" count="7" type="stmt"/>
|
|
142
|
+
<line num="85" count="7" type="stmt"/>
|
|
143
|
+
<line num="86" count="7" type="cond" truecount="2" falsecount="0"/>
|
|
144
|
+
<line num="87" count="7" type="stmt"/>
|
|
145
|
+
<line num="92" count="7" type="stmt"/>
|
|
146
|
+
<line num="95" count="7" type="stmt"/>
|
|
147
|
+
<line num="96" count="7" type="stmt"/>
|
|
148
|
+
<line num="99" count="7" type="cond" truecount="1" falsecount="0"/>
|
|
149
|
+
<line num="100" count="2" type="cond" truecount="1" falsecount="0"/>
|
|
150
|
+
<line num="104" count="2" type="stmt"/>
|
|
151
|
+
<line num="109" count="2" type="stmt"/>
|
|
152
|
+
<line num="113" count="7" type="stmt"/>
|
|
153
|
+
<line num="120" count="8" type="cond" truecount="2" falsecount="0"/>
|
|
154
|
+
<line num="121" count="8" type="stmt"/>
|
|
155
|
+
<line num="123" count="8" type="stmt"/>
|
|
156
|
+
<line num="124" count="8" type="stmt"/>
|
|
157
|
+
<line num="127" count="7" type="stmt"/>
|
|
158
|
+
</file>
|
|
159
|
+
</package>
|
|
160
|
+
<package name="models">
|
|
161
|
+
<metrics statements="130" coveredstatements="130" conditionals="32" coveredconditionals="32" methods="22" coveredmethods="22"/>
|
|
162
|
+
<file name="index.ts" path="/Users/admin/Projects/uk/ief/src/models/index.ts">
|
|
163
|
+
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="1"/>
|
|
164
|
+
<line num="1" count="21" type="stmt"/>
|
|
165
|
+
</file>
|
|
166
|
+
<file name="time-sync.ts" path="/Users/admin/Projects/uk/ief/src/models/time-sync.ts">
|
|
167
|
+
<metrics statements="129" coveredstatements="129" conditionals="32" coveredconditionals="32" methods="21" coveredmethods="21"/>
|
|
168
|
+
<line num="1" count="2" type="stmt"/>
|
|
169
|
+
<line num="2" count="2" type="stmt"/>
|
|
170
|
+
<line num="4" count="2" type="stmt"/>
|
|
171
|
+
<line num="6" count="2" type="stmt"/>
|
|
172
|
+
<line num="7" count="2" type="stmt"/>
|
|
173
|
+
<line num="14" count="2" type="stmt"/>
|
|
174
|
+
<line num="16" count="2" type="stmt"/>
|
|
175
|
+
<line num="22" count="2" type="stmt"/>
|
|
176
|
+
<line num="24" count="2" type="stmt"/>
|
|
177
|
+
<line num="28" count="18" type="stmt"/>
|
|
178
|
+
<line num="34" count="16" type="stmt"/>
|
|
179
|
+
<line num="35" count="16" type="stmt"/>
|
|
180
|
+
<line num="36" count="16" type="stmt"/>
|
|
181
|
+
<line num="37" count="16" type="stmt"/>
|
|
182
|
+
<line num="39" count="16" type="stmt"/>
|
|
183
|
+
<line num="46" count="14" type="cond" truecount="3" falsecount="0"/>
|
|
184
|
+
<line num="47" count="2" type="stmt"/>
|
|
185
|
+
<line num="50" count="12" type="cond" truecount="1" falsecount="0"/>
|
|
186
|
+
<line num="51" count="1" type="stmt"/>
|
|
187
|
+
<line num="54" count="11" type="cond" truecount="1" falsecount="0"/>
|
|
188
|
+
<line num="55" count="1" type="stmt"/>
|
|
189
|
+
<line num="62" count="18" type="stmt"/>
|
|
190
|
+
<line num="63" count="74" type="stmt"/>
|
|
191
|
+
<line num="68" count="18" type="stmt"/>
|
|
192
|
+
<line num="69" count="126" type="stmt"/>
|
|
193
|
+
<line num="71" count="126" type="stmt"/>
|
|
194
|
+
<line num="78" count="126" type="stmt"/>
|
|
195
|
+
<line num="80" count="126" type="stmt"/>
|
|
196
|
+
<line num="81" count="528" type="stmt"/>
|
|
197
|
+
<line num="83" count="528" type="cond" truecount="1" falsecount="0"/>
|
|
198
|
+
<line num="84" count="126" type="stmt"/>
|
|
199
|
+
<line num="85" count="126" type="stmt"/>
|
|
200
|
+
<line num="87" count="126" type="stmt"/>
|
|
201
|
+
<line num="91" count="402" type="cond" truecount="1" falsecount="0"/>
|
|
202
|
+
<line num="92" count="126" type="stmt"/>
|
|
203
|
+
<line num="94" count="126" type="stmt"/>
|
|
204
|
+
<line num="97" count="276" type="stmt"/>
|
|
205
|
+
<line num="102" count="276" type="stmt"/>
|
|
206
|
+
<line num="110" count="64" type="stmt"/>
|
|
207
|
+
<line num="112" count="64" type="stmt"/>
|
|
208
|
+
<line num="113" count="245" type="cond" truecount="1" falsecount="0"/>
|
|
209
|
+
<line num="114" count="64" type="stmt"/>
|
|
210
|
+
<line num="116" count="64" type="stmt"/>
|
|
211
|
+
<line num="120" count="181" type="cond" truecount="1" falsecount="0"/>
|
|
212
|
+
<line num="121" count="64" type="stmt"/>
|
|
213
|
+
<line num="123" count="64" type="stmt"/>
|
|
214
|
+
<line num="126" count="117" type="cond" truecount="1" falsecount="0"/>
|
|
215
|
+
<line num="127" count="25" type="stmt"/>
|
|
216
|
+
<line num="129" count="25" type="stmt"/>
|
|
217
|
+
<line num="132" count="92" type="stmt"/>
|
|
218
|
+
<line num="134" count="92" type="cond" truecount="3" falsecount="0"/>
|
|
219
|
+
<line num="135" count="85" type="stmt"/>
|
|
220
|
+
<line num="137" count="85" type="stmt"/>
|
|
221
|
+
<line num="140" count="7" type="stmt"/>
|
|
222
|
+
<line num="142" count="7" type="stmt"/>
|
|
223
|
+
<line num="151" count="10" type="stmt"/>
|
|
224
|
+
<line num="153" count="10" type="stmt"/>
|
|
225
|
+
<line num="156" count="10" type="stmt"/>
|
|
226
|
+
<line num="160" count="10" type="stmt"/>
|
|
227
|
+
<line num="170" count="18" type="stmt"/>
|
|
228
|
+
<line num="171" count="99" type="stmt"/>
|
|
229
|
+
<line num="172" count="99" type="stmt"/>
|
|
230
|
+
<line num="174" count="99" type="stmt"/>
|
|
231
|
+
<line num="175" count="432" type="stmt"/>
|
|
232
|
+
<line num="176" count="432" type="cond" truecount="2" falsecount="0"/>
|
|
233
|
+
<line num="178" count="432" type="cond" truecount="1" falsecount="0"/>
|
|
234
|
+
<line num="179" count="99" type="stmt"/>
|
|
235
|
+
<line num="181" count="99" type="stmt"/>
|
|
236
|
+
<line num="184" count="333" type="cond" truecount="1" falsecount="0"/>
|
|
237
|
+
<line num="185" count="168" type="stmt"/>
|
|
238
|
+
<line num="187" count="168" type="stmt"/>
|
|
239
|
+
<line num="190" count="165" type="cond" truecount="1" falsecount="0"/>
|
|
240
|
+
<line num="191" count="27" type="stmt"/>
|
|
241
|
+
<line num="193" count="27" type="stmt"/>
|
|
242
|
+
<line num="200" count="138" type="cond" truecount="1" falsecount="0"/>
|
|
243
|
+
<line num="204" count="10" type="stmt"/>
|
|
244
|
+
<line num="206" count="10" type="stmt"/>
|
|
245
|
+
<line num="209" count="128" type="stmt"/>
|
|
246
|
+
<line num="212" count="99" type="stmt"/>
|
|
247
|
+
<line num="220" count="8" type="stmt"/>
|
|
248
|
+
<line num="221" count="99" type="stmt"/>
|
|
249
|
+
<line num="222" count="99" type="stmt"/>
|
|
250
|
+
<line num="223" count="99" type="stmt"/>
|
|
251
|
+
<line num="225" count="99" type="stmt"/>
|
|
252
|
+
<line num="228" count="99" type="cond" truecount="1" falsecount="0"/>
|
|
253
|
+
<line num="229" count="67" type="stmt"/>
|
|
254
|
+
<line num="232" count="99" type="stmt"/>
|
|
255
|
+
<line num="240" count="10" type="stmt"/>
|
|
256
|
+
<line num="241" count="10" type="stmt"/>
|
|
257
|
+
<line num="243" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
258
|
+
<line num="244" count="3" type="stmt"/>
|
|
259
|
+
<line num="250" count="3" type="stmt"/>
|
|
260
|
+
<line num="251" count="20" type="stmt"/>
|
|
261
|
+
<line num="257" count="10" type="stmt"/>
|
|
262
|
+
<line num="259" count="10" type="cond" truecount="1" falsecount="0"/>
|
|
263
|
+
<line num="260" count="5" type="stmt"/>
|
|
264
|
+
<line num="261" count="5" type="stmt"/>
|
|
265
|
+
<line num="266" count="5" type="stmt"/>
|
|
266
|
+
<line num="267" count="37" type="stmt"/>
|
|
267
|
+
<line num="273" count="10" type="stmt"/>
|
|
268
|
+
<line num="280" count="58" type="stmt"/>
|
|
269
|
+
<line num="281" count="510" type="stmt"/>
|
|
270
|
+
<line num="283" count="510" type="cond" truecount="1" falsecount="0"/>
|
|
271
|
+
<line num="287" count="502" type="stmt"/>
|
|
272
|
+
<line num="290" count="510" type="stmt"/>
|
|
273
|
+
<line num="298" count="14" type="stmt"/>
|
|
274
|
+
<line num="300" count="10" type="stmt"/>
|
|
275
|
+
<line num="301" count="10" type="stmt"/>
|
|
276
|
+
<line num="303" count="10" type="stmt"/>
|
|
277
|
+
<line num="304" count="60" type="stmt"/>
|
|
278
|
+
<line num="307" count="60" type="cond" truecount="1" falsecount="0"/>
|
|
279
|
+
<line num="308" count="50" type="stmt"/>
|
|
280
|
+
<line num="309" count="50" type="stmt"/>
|
|
281
|
+
<line num="312" count="50" type="cond" truecount="1" falsecount="0"/>
|
|
282
|
+
<line num="317" count="2" type="stmt"/>
|
|
283
|
+
<line num="320" count="48" type="stmt"/>
|
|
284
|
+
<line num="325" count="48" type="stmt"/>
|
|
285
|
+
<line num="328" count="48" type="cond" truecount="1" falsecount="0"/>
|
|
286
|
+
<line num="329" count="3" type="stmt"/>
|
|
287
|
+
<line num="330" count="3" type="stmt"/>
|
|
288
|
+
<line num="334" count="7" type="stmt"/>
|
|
289
|
+
<line num="339" count="7" type="stmt"/>
|
|
290
|
+
<line num="345" count="58" type="stmt"/>
|
|
291
|
+
<line num="346" count="126" type="stmt"/>
|
|
292
|
+
<line num="348" count="126" type="stmt"/>
|
|
293
|
+
<line num="351" count="58" type="stmt"/>
|
|
294
|
+
<line num="354" count="8" type="stmt"/>
|
|
295
|
+
<line num="355" count="91" type="stmt"/>
|
|
296
|
+
<line num="358" count="8" type="stmt"/>
|
|
297
|
+
</file>
|
|
298
|
+
</package>
|
|
299
|
+
<package name="util">
|
|
300
|
+
<metrics statements="64" coveredstatements="61" conditionals="7" coveredconditionals="6" methods="12" coveredmethods="12"/>
|
|
301
|
+
<file name="args.ts" path="/Users/admin/Projects/uk/ief/src/util/args.ts">
|
|
302
|
+
<metrics statements="28" coveredstatements="25" conditionals="6" coveredconditionals="5" methods="3" coveredmethods="3"/>
|
|
303
|
+
<line num="1" count="1" type="stmt"/>
|
|
304
|
+
<line num="2" count="1" type="stmt"/>
|
|
305
|
+
<line num="4" count="1" type="stmt"/>
|
|
306
|
+
<line num="5" count="1" type="stmt"/>
|
|
307
|
+
<line num="7" count="1" type="stmt"/>
|
|
308
|
+
<line num="11" count="1" type="stmt"/>
|
|
309
|
+
<line num="13" count="1" type="stmt"/>
|
|
310
|
+
<line num="14" count="1" type="stmt"/>
|
|
311
|
+
<line num="16" count="1" type="stmt"/>
|
|
312
|
+
<line num="22" count="1" type="stmt"/>
|
|
313
|
+
<line num="23" count="5" type="stmt"/>
|
|
314
|
+
<line num="24" count="5" type="stmt"/>
|
|
315
|
+
<line num="26" count="0" type="cond" truecount="0" falsecount="1"/>
|
|
316
|
+
<line num="27" count="0" type="stmt"/>
|
|
317
|
+
<line num="30" count="0" type="stmt"/>
|
|
318
|
+
<line num="38" count="1" type="stmt"/>
|
|
319
|
+
<line num="39" count="3" type="stmt"/>
|
|
320
|
+
<line num="41" count="3" type="stmt"/>
|
|
321
|
+
<line num="48" count="1" type="stmt"/>
|
|
322
|
+
<line num="49" count="5" type="stmt"/>
|
|
323
|
+
<line num="51" count="5" type="cond" truecount="1" falsecount="0"/>
|
|
324
|
+
<line num="52" count="1" type="stmt"/>
|
|
325
|
+
<line num="53" count="1" type="stmt"/>
|
|
326
|
+
<line num="56" count="4" type="cond" truecount="1" falsecount="0"/>
|
|
327
|
+
<line num="57" count="3" type="cond" truecount="1" falsecount="0"/>
|
|
328
|
+
<line num="58" count="2" type="stmt"/>
|
|
329
|
+
<line num="64" count="1" type="stmt"/>
|
|
330
|
+
<line num="67" count="1" type="stmt"/>
|
|
331
|
+
</file>
|
|
332
|
+
<file name="errors.ts" path="/Users/admin/Projects/uk/ief/src/util/errors.ts">
|
|
333
|
+
<metrics statements="6" coveredstatements="6" conditionals="0" coveredconditionals="0" methods="2" coveredmethods="2"/>
|
|
334
|
+
<line num="1" count="7" type="stmt"/>
|
|
335
|
+
<line num="15" count="7" type="stmt"/>
|
|
336
|
+
<line num="16" count="49" type="stmt"/>
|
|
337
|
+
<line num="20" count="28" type="stmt"/>
|
|
338
|
+
<line num="21" count="28" type="stmt"/>
|
|
339
|
+
<line num="26" count="49" type="stmt"/>
|
|
340
|
+
</file>
|
|
341
|
+
<file name="units-dealer.ts" path="/Users/admin/Projects/uk/ief/src/util/units-dealer.ts">
|
|
342
|
+
<metrics statements="13" coveredstatements="13" conditionals="1" coveredconditionals="1" methods="4" coveredmethods="4"/>
|
|
343
|
+
<line num="1" count="5" type="stmt"/>
|
|
344
|
+
<line num="3" count="5" type="stmt"/>
|
|
345
|
+
<line num="4" count="5" type="stmt"/>
|
|
346
|
+
<line num="8" count="5" type="stmt"/>
|
|
347
|
+
<line num="13" count="5" type="stmt"/>
|
|
348
|
+
<line num="14" count="26" type="stmt"/>
|
|
349
|
+
<line num="17" count="1" type="stmt"/>
|
|
350
|
+
<line num="23" count="5" type="stmt"/>
|
|
351
|
+
<line num="24" count="26" type="stmt"/>
|
|
352
|
+
<line num="26" count="25" type="stmt"/>
|
|
353
|
+
<line num="31" count="1064" type="cond" truecount="1" falsecount="0"/>
|
|
354
|
+
<line num="32" count="1063" type="stmt"/>
|
|
355
|
+
<line num="35" count="1" type="stmt"/>
|
|
356
|
+
</file>
|
|
357
|
+
<file name="yaml.ts" path="/Users/admin/Projects/uk/ief/src/util/yaml.ts">
|
|
358
|
+
<metrics statements="17" coveredstatements="17" conditionals="0" coveredconditionals="0" methods="3" coveredmethods="3"/>
|
|
359
|
+
<line num="1" count="6" type="stmt"/>
|
|
360
|
+
<line num="2" count="6" type="stmt"/>
|
|
361
|
+
<line num="4" count="6" type="stmt"/>
|
|
362
|
+
<line num="9" count="6" type="stmt"/>
|
|
363
|
+
<line num="10" count="23" type="stmt"/>
|
|
364
|
+
<line num="12" count="23" type="stmt"/>
|
|
365
|
+
<line num="18" count="6" type="stmt"/>
|
|
366
|
+
<line num="19" count="2" type="stmt"/>
|
|
367
|
+
<line num="20" count="2" type="stmt"/>
|
|
368
|
+
<line num="21" count="2" type="stmt"/>
|
|
369
|
+
<line num="23" count="2" type="stmt"/>
|
|
370
|
+
<line num="29" count="6" type="stmt"/>
|
|
371
|
+
<line num="30" count="6" type="stmt"/>
|
|
372
|
+
<line num="31" count="6" type="stmt"/>
|
|
373
|
+
<line num="32" count="6" type="stmt"/>
|
|
374
|
+
<line num="33" count="6" type="stmt"/>
|
|
375
|
+
<line num="35" count="6" type="stmt"/>
|
|
376
|
+
</file>
|
|
377
|
+
</package>
|
|
378
|
+
</project>
|
|
379
|
+
</coverage>
|