fix license
This commit is contained in:
parent
1b303ecea5
commit
d72790e636
@ -1,3 +1,10 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||||||
|
* This file is part of Crypto-Helper which is released under MIT.
|
||||||
|
* See file 'LICENSE' for full license details.
|
||||||
|
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
||||||
|
*/
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
env: {
|
env: {
|
||||||
commonjs: true,
|
commonjs: true,
|
||||||
|
2
index.js
2
index.js
@ -1,5 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) Sapphirecode - All Rights Reserved
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||||||
|
* This file is part of Crypto-Helper which is released under MIT.
|
||||||
|
* See file 'LICENSE' for full license details.
|
||||||
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||||||
|
* This file is part of Crypto-Helper which is released under MIT.
|
||||||
|
* See file 'LICENSE' for full license details.
|
||||||
|
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
||||||
|
*/
|
||||||
|
|
||||||
/* eslint-disable no-process-exit */
|
/* eslint-disable no-process-exit */
|
||||||
/* eslint-disable no-console */
|
/* eslint-disable no-console */
|
||||||
/* eslint-disable no-sync */
|
/* eslint-disable no-sync */
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||||||
|
* This file is part of Crypto-Helper which is released under MIT.
|
||||||
|
* See file 'LICENSE' for full license details.
|
||||||
|
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
||||||
|
*/
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
module.exports = function cfg (config) {
|
module.exports = function cfg (config) {
|
||||||
|
67
stryker.log
Normal file
67
stryker.log
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
[32m13:31:25 (7372) INFO ConfigReader[39m Using stryker.conf.js
|
||||||
|
[32m13:31:26 (7372) INFO BroadcastReporter[39m Detected that current console does not support the "progress" reporter, downgrading to "progress-append-only" reporter
|
||||||
|
[32m13:31:26 (7372) INFO InputFileResolver[39m Found 1 of 14 file(s) to be mutated.
|
||||||
|
[32m13:31:26 (7372) INFO InitialTestExecutor[39m Starting initial test run. This may take a while.
|
||||||
|
[32m13:31:46 (7372) INFO InitialTestExecutor[39m Initial test run succeeded. Ran 1 tests in 19 seconds (net 18605 ms, overhead 1 ms).
|
||||||
|
[32m13:31:46 (7372) INFO MutatorFacade[39m 83 Mutant(s) generated
|
||||||
|
[33m13:31:46 (7372) WARN MutantTestMatcher[39m No coverage result found, even though coverageAnalysis is "all". Assuming that all tests cover each mutant. This might have a big impact on the performance.
|
||||||
|
[32m13:31:46 (7372) INFO SandboxPool[39m Creating 2 test runners (based on CPU count)
|
||||||
|
Mutation testing 0% (elapsed: <1m, remaining: n/a) 0/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 4% (elapsed: <1m, remaining: ~6m) 4/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 7% (elapsed: <1m, remaining: ~6m) 6/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 9% (elapsed: <1m, remaining: ~6m) 8/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 12% (elapsed: <1m, remaining: ~6m) 10/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 14% (elapsed: ~1m, remaining: ~5m) 12/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 15% (elapsed: ~1m, remaining: ~6m) 13/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 19% (elapsed: ~1m, remaining: ~5m) 16/83 tested (0 survived, 0 timed out)
|
||||||
|
Mutation testing 21% (elapsed: ~1m, remaining: ~5m) 18/83 tested (1 survived, 0 timed out)
|
||||||
|
Mutation testing 21% (elapsed: ~1m, remaining: ~6m) 18/83 tested (1 survived, 0 timed out)
|
||||||
|
Mutation testing 24% (elapsed: ~1m, remaining: ~5m) 20/83 tested (1 survived, 0 timed out)
|
||||||
|
Mutation testing 26% (elapsed: ~2m, remaining: ~5m) 22/83 tested (1 survived, 0 timed out)
|
||||||
|
Mutation testing 28% (elapsed: ~2m, remaining: ~5m) 24/83 tested (1 survived, 0 timed out)
|
||||||
|
Mutation testing 31% (elapsed: ~2m, remaining: ~5m) 26/83 tested (1 survived, 0 timed out)
|
||||||
|
Mutation testing 33% (elapsed: ~2m, remaining: ~4m) 28/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 36% (elapsed: ~2m, remaining: ~4m) 30/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 38% (elapsed: ~2m, remaining: ~4m) 32/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 40% (elapsed: ~3m, remaining: ~4m) 34/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 45% (elapsed: ~3m, remaining: ~3m) 38/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 48% (elapsed: ~3m, remaining: ~3m) 40/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 50% (elapsed: ~3m, remaining: ~3m) 42/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 53% (elapsed: ~3m, remaining: ~3m) 44/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 57% (elapsed: ~3m, remaining: ~2m) 48/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 60% (elapsed: ~4m, remaining: ~2m) 50/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 62% (elapsed: ~4m, remaining: ~2m) 52/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 67% (elapsed: ~4m, remaining: ~2m) 56/83 tested (2 survived, 0 timed out)
|
||||||
|
Mutation testing 72% (elapsed: ~4m, remaining: ~1m) 60/83 tested (3 survived, 0 timed out)
|
||||||
|
Mutation testing 77% (elapsed: ~4m, remaining: ~1m) 64/83 tested (3 survived, 0 timed out)
|
||||||
|
Mutation testing 84% (elapsed: ~4m, remaining: <1m) 70/83 tested (3 survived, 0 timed out)
|
||||||
|
Mutation testing 89% (elapsed: ~5m, remaining: <1m) 74/83 tested (3 survived, 0 timed out)
|
||||||
|
Mutation testing 93% (elapsed: ~5m, remaining: <1m) 78/83 tested (3 survived, 0 timed out)
|
||||||
|
Mutation testing 98% (elapsed: ~5m, remaining: <1m) 82/83 tested (3 survived, 0 timed out)
|
||||||
|
|
||||||
|
16. [Survived] ArithmeticOperator
|
||||||
|
/home/timo/dev/crypto-helper/index.js:48:40
|
||||||
|
- return crypto.randomBytes (Math.ceil (len * 3 / 4))
|
||||||
|
+ return crypto.randomBytes (Math.ceil (len * 3 * 4))
|
||||||
|
|
||||||
|
Ran all tests for this mutant.
|
||||||
|
26. [Survived] ArithmeticOperator
|
||||||
|
/home/timo/dev/crypto-helper/index.js:62:40
|
||||||
|
- return crypto.randomBytes (Math.ceil (len / 2))
|
||||||
|
+ return crypto.randomBytes (Math.ceil (len * 2))
|
||||||
|
|
||||||
|
Ran all tests for this mutant.
|
||||||
|
56. [Survived] EqualityOperator
|
||||||
|
/home/timo/dev/crypto-helper/index.js:125:23
|
||||||
|
- if (timeout !== 0 && time > timeout)
|
||||||
|
+ if (timeout !== 0 && time >= timeout)
|
||||||
|
|
||||||
|
Ran all tests for this mutant.
|
||||||
|
Ran 1.00 tests per mutant on average.
|
||||||
|
----------|---------|----------|-----------|------------|----------|---------|
|
||||||
|
File | % score | # killed | # timeout | # survived | # no cov | # error |
|
||||||
|
----------|---------|----------|-----------|------------|----------|---------|
|
||||||
|
All files | 96.39 | 80 | 0 | 3 | 0 | 0 |
|
||||||
|
index.js | 96.39 | 80 | 0 | 3 | 0 | 0 |
|
||||||
|
----------|---------|----------|-----------|------------|----------|---------|
|
||||||
|
[32m13:37:08 (7372) INFO Stryker[39m Done in 5 minutes 42 seconds.
|
@ -1,3 +1,10 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||||||
|
* This file is part of Crypto-Helper which is released under MIT.
|
||||||
|
* See file 'LICENSE' for full license details.
|
||||||
|
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
||||||
|
*/
|
||||||
|
|
||||||
/* eslint-disable no-magic-numbers */
|
/* eslint-disable no-magic-numbers */
|
||||||
// @ts-nocheck
|
// @ts-nocheck
|
||||||
'use strict';
|
'use strict';
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) Sapphirecode - All Rights Reserved
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||||||
|
* This file is part of Crypto-Helper which is released under MIT.
|
||||||
|
* See file 'LICENSE' for full license details.
|
||||||
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) Sapphirecode - All Rights Reserved
|
* Copyright (C) Sapphirecode - All Rights Reserved
|
||||||
|
* This file is part of Crypto-Helper which is released under MIT.
|
||||||
|
* See file 'LICENSE' for full license details.
|
||||||
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
* Created by Timo Hocker <timo@scode.ovh>, March 2020
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user