This repository has been archived by the owner on Aug 30, 2024. It is now read-only.
forked from theofidry/cpu-core-counter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfection.json5
84 lines (83 loc) · 2.72 KB
/
infection.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"$schema": "https://raw.githubusercontent.com/infection/infection/0.26.16/resources/schema.json",
"ignoreMsiWithNoMutations": true,
"logs": {
"text": ".build/infection/infection-log.txt"
},
"minCoveredMsi": 100,
"minMsi": 100,
"source": {
"directories": [
"src"
]
},
"timeout": 10,
"mutators": {
"global-ignore": [
"Fidry\\CpuCoreCounter\\Finder\\NProcFinder::getCommand"
],
"@default": true,
"ArrayItemRemoval": {
"ignore": [
"Fidry\\CpuCoreCounter\\CpuCoreCounter::getDefaultFinders"
]
},
"CastInt": {
"ignore": [
// This is a bug or case handled by strict types. Not sure why
// infection can't detect it.
"Fidry\\CpuCoreCounter\\Finder\\EnvVariableFinder::isPositiveInteger"
]
},
"CastString": {
"ignore": [
// I can't find a case in practice where this would happen.
"Fidry\\CpuCoreCounter\\Executor\\ProcOpenExecutor::execute"
]
},
"Coalesce": {
"ignore": [
// Cannot test this case.
"Fidry\\CpuCoreCounter\\CpuCoreCounter::getAvailableForParallelisation",
// Not interested in testing this case.
"Fidry\\CpuCoreCounter\\Finder\\ProcOpenBasedFinder::diagnose"
]
},
"Continue_": false,
"DecrementInteger": {
"ignore": [
"Fidry\\CpuCoreCounter\\CpuCoreCounter::getAvailableForParallelisation"
]
},
"FunctionCallRemoval": {
"ignore": [
// I can't find a case in practice where this would happen.
"Fidry\\CpuCoreCounter\\Executor\\ProcOpenExecutor::execute"
]
},
"GreaterThan": {
"ignore": [
// This is an actual false positive.
"Fidry\\CpuCoreCounter\\CpuCoreCounter::getAvailableForParallelisation"
]
},
"IncrementInteger": {
"ignore": [
"Fidry\\CpuCoreCounter\\CpuCoreCounter::getAvailableForParallelisation"
]
},
"OneZeroFloat": {
"ignore": [
// Cannot test this case.
"Fidry\\CpuCoreCounter\\CpuCoreCounter::getAvailableForParallelisation"
]
},
"PublicVisibility": false,
"TrueValue": {
"ignore": [
// This is a case where the value does not matter.
"Fidry\\CpuCoreCounter\\Finder\\LscpuPhysicalFinder::countCpuCores"
]
}
}
}