mutation-testing-report-schema
Advanced tools
Comparing version 0.0.7 to 1.0.0
@@ -8,7 +8,6 @@ export * from './api'; | ||
"required": string[]; | ||
"additionalProperties": boolean; | ||
"properties": { | ||
"schemaVersion": { | ||
"id": string; | ||
"type": string; | ||
"pattern": string; | ||
"title": string; | ||
@@ -18,10 +17,7 @@ "examples": string[]; | ||
"thresholds": { | ||
"$id": string; | ||
"type": string; | ||
"title": string; | ||
"required": string[]; | ||
"additionalProperties": boolean; | ||
"properties": { | ||
"high": { | ||
"id": string; | ||
"type": string; | ||
@@ -34,3 +30,2 @@ "title": string; | ||
"low": { | ||
"id": string; | ||
"type": string; | ||
@@ -45,3 +40,2 @@ "title": string; | ||
"files": { | ||
"$id": string; | ||
"type": string; | ||
@@ -51,6 +45,6 @@ "title": string; | ||
"position": { | ||
"$id": string; | ||
"type": string; | ||
"title": string; | ||
"required": string[]; | ||
"additionalProperties": boolean; | ||
"properties": { | ||
@@ -71,10 +65,7 @@ "line": { | ||
"additionalProperties": { | ||
"$id": string; | ||
"type": string; | ||
"title": string; | ||
"required": string[]; | ||
"additionalProperties": boolean; | ||
"properties": { | ||
"language": { | ||
"$id": string; | ||
"type": string; | ||
@@ -85,3 +76,2 @@ "title": string; | ||
"source": { | ||
"$id": string; | ||
"type": string; | ||
@@ -92,14 +82,10 @@ "title": string; | ||
"mutants": { | ||
"$id": string; | ||
"type": string; | ||
"uniqueItems": boolean; | ||
"items": { | ||
"$id": string; | ||
"type": string; | ||
"title": string; | ||
"required": string[]; | ||
"additionalProperties": boolean; | ||
"properties": { | ||
"id": { | ||
"$id": string; | ||
"type": string; | ||
@@ -110,3 +96,2 @@ "title": string; | ||
"mutatorName": { | ||
"$id": string; | ||
"type": string; | ||
@@ -117,3 +102,2 @@ "title": string; | ||
"replacement": { | ||
"$id": string; | ||
"type": string; | ||
@@ -124,11 +108,8 @@ "title": string; | ||
"location": { | ||
"$id": string; | ||
"type": string; | ||
"title": string; | ||
"required": string[]; | ||
"additionalProperties": boolean; | ||
"properties": { | ||
"start": { | ||
"$ref": string; | ||
"$id": string; | ||
"title": string; | ||
@@ -138,4 +119,2 @@ }; | ||
"$ref": string; | ||
"$id": string; | ||
"type": string; | ||
"title": string; | ||
@@ -146,3 +125,2 @@ }; | ||
"status": { | ||
"$id": string; | ||
"type": string; | ||
@@ -149,0 +127,0 @@ "title": string; |
@@ -11,7 +11,6 @@ { | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"schemaVersion": { | ||
"id": "#/properties/schemaVersion", | ||
"type": "string", | ||
"pattern": "^1(\\.\\d*)?$", | ||
"title": "Major version of this report. Used for compatibility.", | ||
@@ -23,3 +22,2 @@ "examples": [ | ||
"thresholds": { | ||
"$id": "/properties/thresholds", | ||
"type": "object", | ||
@@ -31,6 +29,4 @@ "title": "Thresholds for the status of the reported application.", | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"high": { | ||
"id": "#/properties/thresholds/properties/high", | ||
"type": "integer", | ||
@@ -45,3 +41,2 @@ "title": "Higher bound threshold.", | ||
"low": { | ||
"id": "#/properties/thresholds/properties/low", | ||
"type": "integer", | ||
@@ -58,3 +53,2 @@ "title": "Lower bound threshold.", | ||
"files": { | ||
"$id": "#/properties/files", | ||
"type": "object", | ||
@@ -64,2 +58,3 @@ "title": "All mutated files.", | ||
"position": { | ||
"$id": "#position", | ||
"type": "object", | ||
@@ -71,3 +66,2 @@ "title": "Position of a mutation. Both line and column start at one.", | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
@@ -92,3 +86,2 @@ "line": { | ||
"additionalProperties": { | ||
"$id": "#/properties/files/additionalProperties/file", | ||
"type": "object", | ||
@@ -101,6 +94,4 @@ "title": "Mutated file, with the relative path of the file as the key.", | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"language": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/language", | ||
"type": "string", | ||
@@ -116,3 +107,2 @@ "title": "Programming language that is used. Used for code highlighting, see https://highlightjs.org/static/demo/.", | ||
"source": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/source", | ||
"type": "string", | ||
@@ -125,7 +115,5 @@ "title": "Full source code of the mutated file, this is used for highlighting.", | ||
"mutants": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants", | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items", | ||
"type": "object", | ||
@@ -140,6 +128,4 @@ "title": "Single mutation.", | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"id": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items/properties/id", | ||
"type": "string", | ||
@@ -152,3 +138,2 @@ "title": "Unique id, can be used to correlate this mutant with other reports.", | ||
"mutatorName": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items/properties/mutatorName", | ||
"type": "string", | ||
@@ -163,3 +148,2 @@ "title": "Category of the mutation.", | ||
"replacement": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items/properties/replacement", | ||
"type": "string", | ||
@@ -175,3 +159,2 @@ "title": "Actual mutation that has been applied.", | ||
"location": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items/properties/location", | ||
"type": "object", | ||
@@ -183,13 +166,9 @@ "title": "Location of the applied mutation.", | ||
], | ||
"additionalProperties": false, | ||
"properties": { | ||
"start": { | ||
"$ref": "#/properties/files/definitions/position", | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items/properties/location/properties/start", | ||
"$ref": "#position", | ||
"title": "Start position of the mutation. Inclusive." | ||
}, | ||
"end": { | ||
"$ref": "#/properties/files/definitions/position", | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items/properties/location/properties/end", | ||
"type": "object", | ||
"$ref": "#position", | ||
"title": "End position of the mutation. Exclusive." | ||
@@ -200,3 +179,2 @@ } | ||
"status": { | ||
"$id": "#/properties/files/additionalProperties/file/properties/mutants/items/properties/status", | ||
"type": "string", | ||
@@ -203,0 +181,0 @@ "title": "Result of the mutation.", |
{ | ||
"name": "mutation-testing-report-schema", | ||
"version": "0.0.7", | ||
"version": "1.0.0", | ||
"description": "The json schema for a mutation testing report.", | ||
@@ -18,3 +18,4 @@ "main": "dist/src/index.js", | ||
}, | ||
"homepage": "https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/mutation-testing-elements#readme" | ||
"homepage": "https://github.com/stryker-mutator/mutation-testing-elements/tree/master/packages/mutation-testing-elements#readme", | ||
"gitHead": "64b83cd5c5891f726cb059fbce698351bd025bb2" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
25
1
17596
390