Schedule CI #240
Annotations
7 warnings
Infection (ubuntu-latest, 8.4):
src/ConfigurationFile/Printer/ToolsTable.php#L13
Escaped Mutant for Mutator "ArrayItemRemoval":
@@ @@
{
public function __construct(array $tools)
{
- $this->headers = [ConfigurationFile::TOOLS, 'Commands'];
+ $this->headers = ['Commands'];
foreach ($tools as $key => $tool) {
$this->rows[] = [$key, $tool->prepareCommand()];
}
}
}
|
Infection (ubuntu-latest, 8.4):
src/Tools/Process/Execution/MultiProcessesExecution.php#L46
Escaped Mutant for Mutator "CastString":
@@ @@
$this->numberOfRunnedProcesses = $this->finishExecution($th->getProcess(), $toolName, $th->getMessage());
} catch (ProcessFailedException $th) {
// dd($this->numberOfRunnedProcesses);
- $toolName = (string) array_search($th->getProcess(), $this->processes);
+ $toolName = array_search($th->getProcess(), $this->processes);
$this->numberOfRunnedProcesses = $this->finishExecution($th->getProcess(), $toolName);
} catch (Throwable $th) {
$this->errors->setError('Tool crash', $th->getMessage());
|
Infection (ubuntu-latest, 8.4):
src/Tools/Process/ExecutionFakeTrait.php#L85
Escaped Mutant for Mutator "Break_":
@@ @@
{
foreach ($this->processes as $toolName => $process) {
if (count($this->runningProcesses) === $this->threads) {
- break;
+ continue;
}
if (!in_array($process, $this->runningProcesses) && !in_array($process, $this->runnedProcesses)) {
$this->startProcess($process);
|
Infection (ubuntu-latest, 8.4):
src/Tools/Process/ProcessFake.php#L46
Escaped Mutant for Mutator "Throw_":
@@ @@
}
$this->status = self::STATUS_STARTED;
if ($this->mustRaiseException) {
- throw new ProcessFailedException($this);
+ new ProcessFailedException($this);
}
}
/**
|
Infection (ubuntu-latest, 8.4):
src/Tools/Process/ProcessFake.php#L66
Escaped Mutant for Mutator "DecrementInteger":
@@ @@
public function getLastOutputTime(): float
{
if (!isset($this->lastTime)) {
- $mockedTime = rand(1, 700) / 13;
+ $mockedTime = rand(0, 700) / 13;
$this->lastTime = $this->starttime + $mockedTime;
}
return $this->lastTime;
|
Infection (ubuntu-latest, 8.4):
src/Tools/Process/ProcessFake.php#L159
Escaped Mutant for Mutator "TrueValue":
@@ @@
public function setFailByException(): ProcessFake
{
$this->isSuccessful = false;
- $this->mustRaiseException = true;
+ $this->mustRaiseException = false;
$nameTool = $this->extractToolName();
$this->outputFake = $this->errorOutputFake = "{$nameTool} fakes an exception";
$this->exitcode = 1;
|
Infection (ubuntu-latest, 8.4):
src/Tools/Process/ProcessFake.php#L162
Escaped Mutant for Mutator "IncrementInteger":
@@ @@
$this->mustRaiseException = true;
$nameTool = $this->extractToolName();
$this->outputFake = $this->errorOutputFake = "{$nameTool} fakes an exception";
- $this->exitcode = 1;
+ $this->exitcode = 2;
return $this;
}
public function setFailByFoundedErrors(): ProcessFake
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
CodeCoverage
|
1.44 MB |
|
GitHooks Metrics - 23-02-2025
|
1.98 MB |
|
Infection
|
169 KB |
|
PhPMetrics
|
381 KB |
|