@mark1russell7/rigor-mutation 0.2.3 → 0.2.4
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/README.md +32 -2
- package/build/cli.js +1 -1
- package/build/index.d.ts +99 -6
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -2
- package/build/{run-DcH6lUvo.js → run-B6T7az_y.js} +414 -32
- package/build/run-B6T7az_y.js.map +1 -0
- package/package.json +1 -1
- package/build/run-DcH6lUvo.js.map +0 -1
package/README.md
CHANGED
|
@@ -49,8 +49,10 @@ The lane file `mutation.json` is at the root of the repository:
|
|
|
49
49
|
- `targetMinutes` (at the root of the lane) is the target of the estimate of each selection, in minutes. The default is 100.
|
|
50
50
|
- `stopMinutes` (at the root of the lane) is the stop of the estimate of each selection, in minutes. The default is 140. It is not less than `targetMinutes`.
|
|
51
51
|
- `planPerClock` (at the root of the lane) is the planned net time of one minute of the clock. The default is 9.8, from a nightly run of Vex.
|
|
52
|
+
- `cuts` gives groups of files that the cost maps cut into numbered parts. A group has its globs in `files` and its count of parts in `count`. The globs have no line range.
|
|
53
|
+
- `costs` (at the root of the lane) names the file of the cost maps, from the folder of the lane file.
|
|
52
54
|
|
|
53
|
-
A selection is one Stryker run: a package (`collections`) or a part (`collections.
|
|
55
|
+
A selection is one Stryker run: a package (`collections`), a part (`collections.impl`) or a numbered part of a group (`collections.base.2`). `rigor-mutation list --runs` gives the selections of a full run: the parts of each package with parts, else the package.
|
|
54
56
|
|
|
55
57
|
A full run mutates only the files of the parts. Thus a file in no part has no score, and a file in two parts has two scores. `list --runs`, and `config` and `scores` of a part, examine the source files of the package. They fail and name each file that is in no part, in two parts, or in a part but not in `mutate`. For a file in line ranges, they name each gap and each overlap of the ranges, and the lines after the last range. In the example, a file `src/util.ts` is in no part, so the lane fails.
|
|
56
58
|
|
|
@@ -122,6 +124,34 @@ plan-check: each plan of 1 selections is in its limits
|
|
|
122
124
|
|
|
123
125
|
`--report <file>` reads the plan of one selection from a file. `--reports <dir>` reads `<dir>/mutation-<selection>/plan.json`. The workflow `stryker-stop.yml` checks the plan in a real run.
|
|
124
126
|
|
|
127
|
+
### The cut by cost
|
|
128
|
+
|
|
129
|
+
A group of `cuts` gives the numbered parts `<group>.1` to `<group>.<count>`. A full run reads these parts. The selection `<group>` mutates the full group. A group with the count 1 is one part. For the cover of the files, a group is a part.
|
|
130
|
+
|
|
131
|
+
```json
|
|
132
|
+
{
|
|
133
|
+
"packages": { "vex": { "dir": "packages/core", "mutate": ["src/**/*.ts", "!src/**/*.test.ts"], "cuts": { "base": { "files": ["src/**/*.ts"], "count": 4 } } } },
|
|
134
|
+
"costs": "mutation-costs.json"
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
The cut follows the cost maps of the lane:
|
|
139
|
+
|
|
140
|
+
- The files of a group follow one another in the order of their paths.
|
|
141
|
+
- A segment of a file ends on a closing line: a `}` with an indent of 0 to 2 spaces. Its key is the name of its first declaration.
|
|
142
|
+
- A cost map gives the planned net time of each segment of a file. A segment spreads its cost over its lines.
|
|
143
|
+
- A new segment has the mean cost of a line of its file. A file with no map has the mean cost of a line of its group. With no map, each line has the weight 1.
|
|
144
|
+
- A part ends on a closing line or at the end of a file. Thus a mutant of the body of a method stays in one part.
|
|
145
|
+
- Of all cuts, the cut has the smallest largest part. Of these cuts, it has the smallest sum of squares.
|
|
146
|
+
|
|
147
|
+
The cut reads only the files on the disk and the cost maps. Thus each job of a run gets the same parts.
|
|
148
|
+
|
|
149
|
+
`rigor-mutation costs <run> --reports <dir>` writes the cost maps from the plans of the run `<run>`. It reads `<dir>/mutation-<selection>/plan.json` of each selection. It adds the plan lines of a file over the parts, and a file with no plan line gets a map of 0. The maps of the other files stay. Write the maps again after a large change of a file or of its tests, and commit them.
|
|
150
|
+
|
|
151
|
+
`rigor-mutation cost-check [<selection>...]` gives the estimate of the clock of each numbered part under the committed maps. A part over `targetMinutes` fails, and so does a group with no map. The check reads no plan, so each commit gives one result. Thus a check of the pull request can hold each part under its target.
|
|
152
|
+
|
|
153
|
+
`rigor-mutation minutes` gives `target=<minutes>` and `stop=<minutes>` for `GITHUB_OUTPUT`. Thus a workflow can stop Stryker at `stopMinutes` of the lane, and the lane is the one source of the stop.
|
|
154
|
+
|
|
125
155
|
## The score
|
|
126
156
|
|
|
127
157
|
The score counts the detected mutants, out of the mutants that a test covers or that survive. Compile errors, runtime errors and ignored mutants do not count.
|
|
@@ -225,4 +255,4 @@ const score = scoreReport(parseReport(JSON.parse(reportText)), selection);
|
|
|
225
255
|
console.log(formatScore(score)); // collections.impl: 91.20 % (456 of 500, 44 survived), gate 80 %: pass
|
|
226
256
|
```
|
|
227
257
|
|
|
228
|
-
The package also exports `selectionNames`, `runSelections`, `summaryMarkdown`, `findDisables`, `compareDisables`, `leavingPaths`, `relatedTestFiles`, `isConfigFile`, `testCount`, `testFall`, `unreadTestFiles`, `failScore` and `runCli`.
|
|
258
|
+
The package also exports `selectionNames`, `runSelections`, `packageRuns`, `summaryMarkdown`, `findDisables`, `compareDisables`, `leavingPaths`, `relatedTestFiles`, `isConfigFile`, `testCount`, `testFall`, `unreadTestFiles`, `failScore` and `runCli`. The cut by cost has the exports `cutByCost`, `costMapOf`, `segmentsOf`, `lineWeights`, `weightedFiles`, `plannedMs` and `parseCostMaps`.
|
package/build/cli.js
CHANGED
package/build/index.d.ts
CHANGED
|
@@ -54,6 +54,16 @@ interface PackageLane {
|
|
|
54
54
|
* file. A static run starts each test. `plan-check` fails a file over its limit.
|
|
55
55
|
*/
|
|
56
56
|
readonly staticLimits?: Readonly<Record<string, number>>;
|
|
57
|
+
/**
|
|
58
|
+
* Each group of this field has its globs and a count of parts. The cost maps of the lane cut the files of the group
|
|
59
|
+
* into the parts `<group>.1` to `<group>.<count>`. A group is a part for `partErrors`. Its globs have no line range.
|
|
60
|
+
*/
|
|
61
|
+
readonly cuts?: Readonly<Record<string, CutGroup>>;
|
|
62
|
+
}
|
|
63
|
+
/** A group of files that the cost maps cut into `count` parts of near the same planned net time. */
|
|
64
|
+
interface CutGroup {
|
|
65
|
+
readonly files: readonly string[];
|
|
66
|
+
readonly count: number;
|
|
57
67
|
}
|
|
58
68
|
/** The keys of the Stryker config that the lane owns. The field `stryker` of a package cannot have them. */
|
|
59
69
|
export declare const STRYKER_OWNED: readonly string[];
|
|
@@ -75,6 +85,8 @@ interface Lane {
|
|
|
75
85
|
readonly targetMinutes?: number;
|
|
76
86
|
/** This field gives the stop of the estimate of a selection, in minutes. `plan-check` fails a selection over it. The default is 140. */
|
|
77
87
|
readonly stopMinutes?: number;
|
|
88
|
+
/** This field gives the file of the cost maps, from the folder of the lane file. Without it, each line of a group has the weight 1. */
|
|
89
|
+
readonly costs?: string;
|
|
78
90
|
}
|
|
79
91
|
/** A selection is one Stryker run: a package (`collections`) or a part of a package (`collections.impl`). */
|
|
80
92
|
interface Selection {
|
|
@@ -87,23 +99,45 @@ interface Selection {
|
|
|
87
99
|
readonly timeoutMS: number | undefined;
|
|
88
100
|
readonly dryRunTimeoutMinutes: number | undefined;
|
|
89
101
|
readonly stryker: Readonly<Record<string, unknown>> | undefined;
|
|
102
|
+
/** A numbered part of a group of `cuts` has its group, the count of parts and its index from 0. */
|
|
103
|
+
readonly cut?: CutPart;
|
|
104
|
+
}
|
|
105
|
+
/** The place of a numbered part in its group of `cuts`. */
|
|
106
|
+
interface CutPart {
|
|
107
|
+
readonly group: string;
|
|
108
|
+
readonly count: number;
|
|
109
|
+
readonly index: number;
|
|
90
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* This function gives the entries of `mutate` of a numbered part of a group, from the cut of the group by cost. The
|
|
113
|
+
* CLI reads the files and the cost maps. The globs are the globs of the group, with the `!` globs of the package.
|
|
114
|
+
*/
|
|
115
|
+
type CutOf = (pkg: string, cut: CutPart, globs: readonly string[]) => readonly string[];
|
|
91
116
|
/**
|
|
92
117
|
* This function examines the JSON of a lane file and gives the lane.
|
|
93
118
|
*
|
|
94
119
|
* @throws Error with each problem of the file
|
|
95
120
|
*/
|
|
96
121
|
export declare function parseLane(json: unknown): Lane;
|
|
97
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* This function gives the names of all the selections of a lane. These are each package, each part of the package,
|
|
124
|
+
* and each group of `cuts` of the package with its numbered parts.
|
|
125
|
+
*/
|
|
98
126
|
export declare function selectionNames(lane: Lane): string[];
|
|
99
|
-
/**
|
|
127
|
+
/**
|
|
128
|
+
* This function gives the selections of a full run. These are the parts and the numbered parts of each package with
|
|
129
|
+
* parts or groups, else the package. Each file is in one run.
|
|
130
|
+
*/
|
|
100
131
|
export declare function runSelections(lane: Lane): string[];
|
|
132
|
+
/** This function gives the selections of a full run of one package: its parts and numbered parts, else the package. */
|
|
133
|
+
export declare function packageRuns(lane: Lane, pkg: string): string[];
|
|
101
134
|
/**
|
|
102
|
-
* This function gives the selection of a name
|
|
135
|
+
* This function gives the selection of a name. The name is a package, a part, a group of `cuts` or a numbered part of a
|
|
136
|
+
* group. A numbered part mutates the entries that `cutOf` gives. Without `cutOf`, it mutates its full group.
|
|
103
137
|
*
|
|
104
|
-
* @throws Error when the lane has no
|
|
138
|
+
* @throws Error when the lane has no selection of that name
|
|
105
139
|
*/
|
|
106
|
-
export declare function select(lane: Lane, name: string): Selection;
|
|
140
|
+
export declare function select(lane: Lane, name: string, cutOf?: CutOf): Selection;
|
|
107
141
|
/**
|
|
108
142
|
* This function gives the changed files of a selection, from the folder of its package. The globs of the selection
|
|
109
143
|
* select the files. A file that the selection takes in line ranges gives one entry for each range, `src/a.ts:1-300`.
|
|
@@ -125,6 +159,65 @@ export declare function changedFiles(selection: Selection, changed: readonly str
|
|
|
125
159
|
* @param lines - this function gives the number of lines of a file of `files`
|
|
126
160
|
*/
|
|
127
161
|
export declare function partErrors(lane: Lane, pkg: string, files: readonly string[], lines?: (file: string) => number): string[];
|
|
162
|
+
/** A segment of a text: a run of lines that ends on a closing line, with the name of its first declaration. */
|
|
163
|
+
interface Segment {
|
|
164
|
+
readonly key: string;
|
|
165
|
+
/** The first line of the segment, counted from 1. */
|
|
166
|
+
readonly start: number;
|
|
167
|
+
/** The last line of the segment, counted from 1. */
|
|
168
|
+
readonly end: number;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* This function cuts a text into segments. Each segment ends on a closing line, and the last segment ends on the last
|
|
172
|
+
* line. The key of a segment is the name of its first declaration, with `#2` for the second segment of that name. A
|
|
173
|
+
* segment with no name has the key `@n`. A key thus stays the same when a change moves the lines.
|
|
174
|
+
*/
|
|
175
|
+
export declare function segmentsOf(text: string): Segment[];
|
|
176
|
+
/** The cost map of a file: the planned net time of each segment in milliseconds, from the plan of a run. */
|
|
177
|
+
interface CostMap {
|
|
178
|
+
/** The run that gave the plan. */
|
|
179
|
+
readonly run: string;
|
|
180
|
+
readonly segments: Readonly<Record<string, number>>;
|
|
181
|
+
}
|
|
182
|
+
/** The cost maps of a lane: a map for each file, by the name of its package and its path from the package folder. */
|
|
183
|
+
type CostMaps = Readonly<Record<string, Readonly<Record<string, CostMap>>>>;
|
|
184
|
+
/** This function gives the cost map of a text from the plan of its lines: the planned net time of each segment. */
|
|
185
|
+
export declare function costMapOf(text: string, run: string, lines: readonly LinePlan[]): CostMap;
|
|
186
|
+
/**
|
|
187
|
+
* This function gives the weight of each line of a text from a cost map. A segment spreads its cost over its lines. A
|
|
188
|
+
* segment that the map does not name has the mean cost of a line of the named segments. Thus a new function has a cost.
|
|
189
|
+
*/
|
|
190
|
+
export declare function lineWeights(text: string, map: CostMap): number[];
|
|
191
|
+
/** A file of a group: its path from the folder of its package, its lines, and the weight of each line. */
|
|
192
|
+
interface WeightedFile {
|
|
193
|
+
readonly path: string;
|
|
194
|
+
readonly lines: readonly string[];
|
|
195
|
+
readonly weights: readonly number[];
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* This function gives the weight of each line of each file from the cost maps of its package. A file with no map has
|
|
199
|
+
* the mean weight of a line of the files with a map, so a new file has a cost. With no map, each line has the weight 1.
|
|
200
|
+
*/
|
|
201
|
+
export declare function weightedFiles(texts: readonly {
|
|
202
|
+
readonly path: string;
|
|
203
|
+
readonly text: string;
|
|
204
|
+
}[], maps?: Readonly<Record<string, CostMap>>): WeightedFile[];
|
|
205
|
+
/**
|
|
206
|
+
* This function cuts the files of a group into `count` parts of near the same weight. It gives the entries of `mutate`
|
|
207
|
+
* of each part. The files follow one another in their order. A part ends on the closing line of a method, or on the last
|
|
208
|
+
* line of a file. A part holds whole files, and a range of lines of a file at each end. Each input gives one result.
|
|
209
|
+
*
|
|
210
|
+
* @throws Error when the files have fewer end lines than the count of parts needs
|
|
211
|
+
*/
|
|
212
|
+
export declare function cutByCost(files: readonly WeightedFile[], count: number): string[][];
|
|
213
|
+
/** This function gives the planned net time of the entries of a part in milliseconds: the sum of the weights of their lines. */
|
|
214
|
+
export declare function plannedMs(entries: readonly string[], files: readonly WeightedFile[]): number;
|
|
215
|
+
/**
|
|
216
|
+
* This function reads the JSON of a file of cost maps.
|
|
217
|
+
*
|
|
218
|
+
* @throws Error when the JSON is not an object of packages, each an object of files, each with a run and segments
|
|
219
|
+
*/
|
|
220
|
+
export declare function parseCostMaps(json: unknown): CostMaps;
|
|
128
221
|
/** The options of `strykerConfig`. */
|
|
129
222
|
interface ConfigOptions {
|
|
130
223
|
/** This option gives the number of test processes. The default is 2. */
|
|
@@ -459,5 +552,5 @@ interface CliIo {
|
|
|
459
552
|
export declare const HELP: string;
|
|
460
553
|
/** This function starts the CLI with its arguments and gives the exit code. */
|
|
461
554
|
export declare function runCli(argv: readonly string[], io: CliIo): number;
|
|
462
|
-
export { type CliIo, type Collected, type CollectedFile, type ComputedImport, type ConfigOptions, type Disable, type DisableCheck, type FilePlan, type Lane, type LeavingPath, type LinePlan, type Mutant, type MutationReport, PARTIAL_FILE, PLAN_FILE, PLAN_PER_CLOCK, type PackageFile, type PackageLane, type PartialCosts, type PartialLine, PartialReporter, type PartialRun, type PlanLimits, type PlanOfMutant, type PlanRead, type ReporterOptions, STOP_MINUTES, type Score, type ScoreOutcome, type Selection, type SelectionPlan, type StrykerConfig, TARGET_MINUTES, type TestOfDryRun, type TestPlan, clockMinutes, filePlans, parsePlan, readPlan, staticFaults, testPlans };
|
|
555
|
+
export { type CliIo, type Collected, type CollectedFile, type ComputedImport, type ConfigOptions, type CostMap, type CostMaps, type CutGroup, type CutOf, type CutPart, type Disable, type DisableCheck, type FilePlan, type Lane, type LeavingPath, type LinePlan, type Mutant, type MutationReport, PARTIAL_FILE, PLAN_FILE, PLAN_PER_CLOCK, type PackageFile, type PackageLane, type PartialCosts, type PartialLine, PartialReporter, type PartialRun, type PlanLimits, type PlanOfMutant, type PlanRead, type ReporterOptions, STOP_MINUTES, type Score, type ScoreOutcome, type Segment, type Selection, type SelectionPlan, type StrykerConfig, TARGET_MINUTES, type TestOfDryRun, type TestPlan, type WeightedFile, clockMinutes, filePlans, parsePlan, readPlan, staticFaults, testPlans };
|
|
463
556
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/lane.ts","../src/config.ts","../src/score.ts","../src/disables.ts","../src/load.ts","../src/run.ts"],"mappings":";;;;;;UASiB;;WAEN;;;;;WAKA;;;;;;WAMA,QAAQ,SAAS;;WAEjB;;;;;WAKA;;WAEA;;;;;WAKA;;WAEA;;;;;WAKA,UAAU,SAAS;;;;;WAKnB,UAAU,SAAS;;;;;WAKnB,kBAAkB,SAAS;;;;;WAK3B,eAAe,SAAS;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/lane.ts","../src/cut.ts","../src/config.ts","../src/score.ts","../src/disables.ts","../src/load.ts","../src/run.ts"],"mappings":";;;;;;UASiB;;WAEN;;;;;WAKA;;;;;;WAMA,QAAQ,SAAS;;WAEjB;;;;;WAKA;;WAEA;;;;;WAKA;;WAEA;;;;;WAKA,UAAU,SAAS;;;;;WAKn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;;WAEhB;;WAEA,YAAY,SAAS;;;;;;;wBAkBhB,cAAc,WAAW;;UCrMxB;WACN;WACA,SAAS;WACT,SAAS;;WAET,MAAM,SAAS;;;qBAIb;;wBA2oBG,OAAO,yBAAyB,IAAI"}
|
package/build/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as PLAN_FILE, c as TARGET_MINUTES, d as parsePlan, f as readPlan, l as clockMinutes, m as testPlans, n as PartialReporter, o as PLAN_PER_CLOCK, p as staticFaults, s as STOP_MINUTES, t as PARTIAL_FILE, u as filePlans } from "./reporter-BYC384h-.js";
|
|
2
|
-
import { A as
|
|
3
|
-
export { DRY_RUN_TIMEOUT_MINUTES, HELP, NO_TSCONFIG, PARTIAL_FILE, PARTIAL_PLUGIN, PLAN_FILE, PLAN_PER_CLOCK, PartialReporter, REPORT_DIR, STOP_MINUTES, STRYKER_OWNED, TARGET_MINUTES, TIMEOUT_MS, changedFiles, clockMinutes, collectFaults, compareDisables, computedImports, filePlans, findDisables, formatScore, isConfigFile, isHitLimit, leavingPaths, packageScore, parseLane, parsePartial, parsePlan, parseReport, partErrors, partialScore, readPlan, relatedTestFiles, rewritesTsconfig, runCli, runSelections, scoreReport, select, selectionNames, staticFaults, strykerConfig, summaryMarkdown, testPlans };
|
|
2
|
+
import { A as segmentsOf, C as rewritesTsconfig, D as lineWeights, E as cutByCost, F as parseLane, I as partErrors, L as runSelections, M as STRYKER_OWNED, N as changedFiles, O as parseCostMaps, P as packageRuns, R as select, S as TIMEOUT_MS, T as costMapOf, _ as summaryMarkdown, a as isConfigFile, b as PARTIAL_PLUGIN, c as compareDisables, d as isHitLimit, f as packageScore, g as scoreReport, h as partialScore, i as computedImports, j as weightedFiles, k as plannedMs, l as findDisables, m as parseReport, n as runCli, o as leavingPaths, p as parsePartial, r as collectFaults, s as relatedTestFiles, t as HELP, u as formatScore, v as DRY_RUN_TIMEOUT_MINUTES, w as strykerConfig, x as REPORT_DIR, y as NO_TSCONFIG, z as selectionNames } from "./run-B6T7az_y.js";
|
|
3
|
+
export { DRY_RUN_TIMEOUT_MINUTES, HELP, NO_TSCONFIG, PARTIAL_FILE, PARTIAL_PLUGIN, PLAN_FILE, PLAN_PER_CLOCK, PartialReporter, REPORT_DIR, STOP_MINUTES, STRYKER_OWNED, TARGET_MINUTES, TIMEOUT_MS, changedFiles, clockMinutes, collectFaults, compareDisables, computedImports, costMapOf, cutByCost, filePlans, findDisables, formatScore, isConfigFile, isHitLimit, leavingPaths, lineWeights, packageRuns, packageScore, parseCostMaps, parseLane, parsePartial, parsePlan, parseReport, partErrors, partialScore, plannedMs, readPlan, relatedTestFiles, rewritesTsconfig, runCli, runSelections, scoreReport, segmentsOf, select, selectionNames, staticFaults, strykerConfig, summaryMarkdown, testPlans, weightedFiles };
|