fix license

This commit is contained in:
Timo Hocker 2020-03-25 17:02:59 +01:00
parent 1b303ecea5
commit d72790e636
8 changed files with 101 additions and 0 deletions

View File

@ -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,

View File

@ -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
*/ */

View File

@ -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 */

View File

@ -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
View File

@ -0,0 +1,67 @@
13:31:25 (7372) INFO ConfigReader Using stryker.conf.js
13:31:26 (7372) INFO BroadcastReporter Detected that current console does not support the "progress" reporter, downgrading to "progress-append-only" reporter
13:31:26 (7372) INFO InputFileResolver Found 1 of 14 file(s) to be mutated.
13:31:26 (7372) INFO InitialTestExecutor Starting initial test run. This may take a while.
13:31:46 (7372) INFO InitialTestExecutor Initial test run succeeded. Ran 1 tests in 19 seconds (net 18605 ms, overhead 1 ms).
13:31:46 (7372) INFO MutatorFacade 83 Mutant(s) generated
13:31:46 (7372) WARN MutantTestMatcher 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.
13:31:46 (7372) INFO SandboxPool 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 |
----------|---------|----------|-----------|------------|----------|---------|
13:37:08 (7372) INFO Stryker Done in 5 minutes 42 seconds.

View File

@ -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';

View File

@ -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
*/ */

View File

@ -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
*/ */