chore(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 #1846
CI.yml
on: pull_request
Mutation testing
1m 29s
Code quality
27s
Dependencies state
20s
Backward Compatible Changes
3s
Working Nix Shell
1m 20s
Matrix: integration
Matrix: tests
Annotations
10 warnings
Mutation testing:
src/Storage/APCUStore.php#L69
Escaped Mutant for Mutator "CastInt":
--- Original
+++ New
@@ @@
// Taken from https://github.com/prometheus/client_golang/blob/66058aac3a83021948e5fb12f1f408ff556b9037/prometheus/value.go#L91
$done = false;
while (!$done) {
- $old = (int) apcu_fetch($sumKey);
+ $old = apcu_fetch($sumKey);
$done = apcu_cas($sumKey, $old, $this->toInteger($this->fromInteger($old) + $value));
}
// Figure out in which bucket the observation belongs
|
Mutation testing:
src/Registry/CollectorRegistry.php#L144
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->histograms[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException('Metric not found:');
}
return $this->histograms[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L144
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->histograms[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException($metricIdentifier);
}
return $this->histograms[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L144
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->histograms[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException($metricIdentifier . 'Metric not found:');
}
return $this->histograms[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L105
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->counters[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException('Metric not found:');
}
return $this->counters[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L105
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->counters[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException($metricIdentifier);
}
return $this->counters[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L105
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->counters[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException($metricIdentifier . 'Metric not found:');
}
return $this->counters[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L67
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->gauges[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException('Metric not found:');
}
return $this->gauges[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L67
Escaped Mutant for Mutator "ConcatOperandRemoval":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->gauges[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException($metricIdentifier);
}
return $this->gauges[$metricIdentifier];
}
|
Mutation testing:
src/Registry/CollectorRegistry.php#L67
Escaped Mutant for Mutator "Concat":
--- Original
+++ New
@@ @@
{
$metricIdentifier = $name->toString();
if (!isset($this->gauges[$metricIdentifier])) {
- throw new MetricNotFoundException('Metric not found:' . $metricIdentifier);
+ throw new MetricNotFoundException($metricIdentifier . 'Metric not found:');
}
return $this->gauges[$metricIdentifier];
}
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
Infection report
|
2.38 KB |
sha256:3287eb05edfe04eb2cc3c4a7beae2949258de4b2bacf7dd4c28db84f046bacc3
|
|