stryker-api
Advanced tools
Comparing version 0.4.2 to 0.5.0-rc0
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ <a name="0.4.2"></a> |
@@ -1,1 +0,1 @@ | ||
{"C:\\dev\\stryker-api\\core.js":{"path":"C:\\dev\\stryker-api\\core.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":46}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}}},"branchMap":{}},"C:\\dev\\stryker-api\\src\\core\\Factory.js":{"path":"C:\\dev\\stryker-api\\src\\core\\Factory.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":2,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"b":{"1":[1,1]},"f":{"1":1,"2":1,"3":1,"4":1,"5":2,"6":1},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":15},"end":{"line":7,"column":27}}},"2":{"name":"Factory","line":12,"loc":{"start":{"line":12,"column":4},"end":{"line":12,"column":34}}},"3":{"name":"(anonymous_3)","line":20,"loc":{"start":{"line":20,"column":35},"end":{"line":20,"column":47}}},"4":{"name":"(anonymous_4)","line":30,"loc":{"start":{"line":30,"column":33},"end":{"line":30,"column":62}}},"5":{"name":"(anonymous_5)","line":40,"loc":{"start":{"line":40,"column":31},"end":{"line":40,"column":57}}},"6":{"name":"(anonymous_6)","line":48,"loc":{"start":{"line":48,"column":41},"end":{"line":48,"column":57}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":52,"column":5}},"2":{"start":{"line":12,"column":4},"end":{"line":15,"column":5}},"3":{"start":{"line":13,"column":8},"end":{"line":13,"column":39}},"4":{"start":{"line":14,"column":8},"end":{"line":14,"column":44}},"5":{"start":{"line":20,"column":4},"end":{"line":24,"column":6}},"6":{"start":{"line":21,"column":8},"end":{"line":21,"column":46}},"7":{"start":{"line":22,"column":8},"end":{"line":22,"column":20}},"8":{"start":{"line":23,"column":8},"end":{"line":23,"column":20}},"9":{"start":{"line":30,"column":4},"end":{"line":32,"column":6}},"10":{"start":{"line":31,"column":8},"end":{"line":31,"column":42}},"11":{"start":{"line":40,"column":4},"end":{"line":47,"column":6}},"12":{"start":{"line":41,"column":8},"end":{"line":46,"column":9}},"13":{"start":{"line":42,"column":12},"end":{"line":42,"column":201}},"14":{"start":{"line":45,"column":12},"end":{"line":45,"column":53}},"15":{"start":{"line":48,"column":4},"end":{"line":50,"column":6}},"16":{"start":{"line":49,"column":8},"end":{"line":49,"column":33}},"17":{"start":{"line":51,"column":4},"end":{"line":51,"column":19}},"18":{"start":{"line":53,"column":0},"end":{"line":53,"column":62}},"19":{"start":{"line":54,"column":0},"end":{"line":54,"column":26}}},"branchMap":{"1":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":8},"end":{"line":41,"column":8}},{"start":{"line":41,"column":8},"end":{"line":41,"column":8}}]}}}} | ||
{"C:\\z\\github\\stryker-mutator\\stryker-api\\core.js":{"path":"C:\\z\\github\\stryker-mutator\\stryker-api\\core.js","s":{"1":1,"2":1},"b":{},"f":{},"fnMap":{},"statementMap":{"1":{"start":{"line":2,"column":0},"end":{"line":2,"column":46}},"2":{"start":{"line":3,"column":0},"end":{"line":3,"column":36}}},"branchMap":{}},"C:\\z\\github\\stryker-mutator\\stryker-api\\src\\core\\Factory.js":{"path":"C:\\z\\github\\stryker-mutator\\stryker-api\\src\\core\\Factory.js","s":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1,"9":1,"10":1,"11":1,"12":2,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"b":{"1":[1,1]},"f":{"1":1,"2":1,"3":1,"4":1,"5":2,"6":1},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":15},"end":{"line":7,"column":27}}},"2":{"name":"Factory","line":12,"loc":{"start":{"line":12,"column":4},"end":{"line":12,"column":34}}},"3":{"name":"(anonymous_3)","line":20,"loc":{"start":{"line":20,"column":35},"end":{"line":20,"column":47}}},"4":{"name":"(anonymous_4)","line":30,"loc":{"start":{"line":30,"column":33},"end":{"line":30,"column":62}}},"5":{"name":"(anonymous_5)","line":40,"loc":{"start":{"line":40,"column":31},"end":{"line":40,"column":57}}},"6":{"name":"(anonymous_6)","line":48,"loc":{"start":{"line":48,"column":41},"end":{"line":48,"column":57}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":52,"column":5}},"2":{"start":{"line":12,"column":4},"end":{"line":15,"column":5}},"3":{"start":{"line":13,"column":8},"end":{"line":13,"column":39}},"4":{"start":{"line":14,"column":8},"end":{"line":14,"column":44}},"5":{"start":{"line":20,"column":4},"end":{"line":24,"column":6}},"6":{"start":{"line":21,"column":8},"end":{"line":21,"column":46}},"7":{"start":{"line":22,"column":8},"end":{"line":22,"column":20}},"8":{"start":{"line":23,"column":8},"end":{"line":23,"column":20}},"9":{"start":{"line":30,"column":4},"end":{"line":32,"column":6}},"10":{"start":{"line":31,"column":8},"end":{"line":31,"column":42}},"11":{"start":{"line":40,"column":4},"end":{"line":47,"column":6}},"12":{"start":{"line":41,"column":8},"end":{"line":46,"column":9}},"13":{"start":{"line":42,"column":12},"end":{"line":42,"column":201}},"14":{"start":{"line":45,"column":12},"end":{"line":45,"column":53}},"15":{"start":{"line":48,"column":4},"end":{"line":50,"column":6}},"16":{"start":{"line":49,"column":8},"end":{"line":49,"column":33}},"17":{"start":{"line":51,"column":4},"end":{"line":51,"column":19}},"18":{"start":{"line":53,"column":0},"end":{"line":53,"column":62}},"19":{"start":{"line":54,"column":0},"end":{"line":54,"column":26}}},"branchMap":{"1":{"line":41,"type":"if","locations":[{"start":{"line":41,"column":8},"end":{"line":41,"column":8}},{"start":{"line":41,"column":8},"end":{"line":41,"column":8}}]}}}} |
{ | ||
"name": "stryker-api", | ||
"version": "0.4.2", | ||
"version": "0.5.0-rc0", | ||
"description": "The api for the extendable JavaScript mutation testing framework Stryker", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -0,0 +0,0 @@ [![Build Status](https://travis-ci.org/stryker-mutator/stryker.svg?branch=master)](https://travis-ci.org/stryker-mutator/stryker-api) |
@@ -5,2 +5,16 @@ import { Location } from '../../core'; | ||
*/ | ||
export interface CoveragePerTestResult { | ||
/** | ||
* The baseline coverage which is true for each test run. | ||
* This baseline should be taken when all files all loaded, but before tests are ran. | ||
*/ | ||
baseline: CoverageCollection; | ||
/** | ||
* The deviations with respect to the baseline per test. | ||
*/ | ||
deviations: CoverageCollectionPerTest; | ||
} | ||
/** | ||
* Represents a collection of code coverage results per test run. | ||
*/ | ||
export interface CoverageCollectionPerTest { | ||
@@ -7,0 +21,0 @@ [testId: number]: CoverageCollection; |
import TestResult from './TestResult'; | ||
import RunStatus from './RunStatus'; | ||
import { CoverageCollection, CoverageCollectionPerTest } from './Coverage'; | ||
import { CoverageCollection, CoveragePerTestResult } from './Coverage'; | ||
/** | ||
* Represents the result of a testrun. | ||
* Represents the result of a test run. | ||
*/ | ||
@@ -23,4 +23,4 @@ interface RunResult { | ||
*/ | ||
coverage?: CoverageCollection | CoverageCollectionPerTest; | ||
coverage?: CoverageCollection | CoveragePerTestResult; | ||
} | ||
export default RunResult; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
125407
1714
0
0