Skip to content
Triggered via schedule December 11, 2023 08:19
Status Success
Total duration 12m 48s
Artifacts 1

ci.yaml

on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
4s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

9 warnings
Test for mutants (ubuntu-latest, 8.1): src/DI/MailExtension.php#L145
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ } private function registerMessageIdMailer(ContainerBuilder $builder, ServiceDefinition $wrappedMailer) : ServiceDefinition { - return $builder->addDefinition($this->prefix('setMessageIdMailer'))->setFactory(SetMessageIdMailer::class, ['mailer' => $wrappedMailer])->setAutowired(false); + return $builder->addDefinition($this->prefix('setMessageIdMailer'))->setFactory(SetMessageIdMailer::class, ['mailer' => $wrappedMailer])->setAutowired(true); } private function autowireMainMailer(ContainerBuilder $builder, ServiceDefinition $mainMailer) : void {
Test for mutants (ubuntu-latest, 8.1): src/Mailer/TracyPanelMailer.php#L115
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ $messages = []; foreach ($this->getFiles() as $id => $file) { $message = unserialize(FileSystem::read($file)); - assert($message instanceof Message); + assert(true); $messages[$id] = $message; } return $messages;
Test for mutants (ubuntu-latest, 8.1): src/Mailer/TracyPanelMailer.php#L138
Escaped Mutant for Mutator "InstanceOf_": --- Original +++ New @@ @@ return null; } $message = unserialize(FileSystem::read($files[$id])); - assert($message instanceof Message); + assert(true); return $message; } public function deleteById(string $id) : void
Test for mutants (ubuntu-latest, 8.1): src/Tracy/MailPanel.php#L99
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $url = $this->request->getUrl(); $url = $url->withQueryParameter('do', self::SignalName); - foreach ($params as $name => $value) { + foreach (array() as $name => $value) { $url = $url->withQueryParameter($name, $value); } return $url->getAbsoluteUrl();
Test for mutants (ubuntu-latest, 8.1): src/Tracy/MailPanel.php#L180
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ $this->renderDetail($messageId); } elseif ($action === 'source' && is_string($messageId)) { $this->renderSource($messageId); - } elseif ($action === 'attachment' && is_string($messageId) && Validators::isNumericInt($attachmentId)) { + } elseif (($action === 'attachment' || is_string($messageId)) && Validators::isNumericInt($attachmentId)) { $this->renderAttachment($messageId, (int) $attachmentId); } elseif ($action === 'delete' && is_string($messageId)) { $this->deleteById($messageId);
Test for mutants (ubuntu-latest, 8.1): src/Tracy/MailPanel.php#L180
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ $this->renderDetail($messageId); } elseif ($action === 'source' && is_string($messageId)) { $this->renderSource($messageId); - } elseif ($action === 'attachment' && is_string($messageId) && Validators::isNumericInt($attachmentId)) { + } elseif ($action === 'attachment' && is_string($messageId) || Validators::isNumericInt($attachmentId)) { $this->renderAttachment($messageId, (int) $attachmentId); } elseif ($action === 'delete' && is_string($messageId)) { $this->deleteById($messageId);
Test for mutants (ubuntu-latest, 8.1): src/Tracy/MailPanel.php#L182
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $this->renderSource($messageId); } elseif ($action === 'attachment' && is_string($messageId) && Validators::isNumericInt($attachmentId)) { $this->renderAttachment($messageId, (int) $attachmentId); - } elseif ($action === 'delete' && is_string($messageId)) { + } elseif ($action !== 'delete' && is_string($messageId)) { $this->deleteById($messageId); } elseif ($action === 'delete') { $this->deleteAll();
Test for mutants (ubuntu-latest, 8.1): src/Tracy/MailPanel.php#L238
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } private function deleteById(string $id) : void { - $this->mailer->deleteById($id); + $this->redirectBack(); } private function deleteAll() : void
Test for mutants (ubuntu-latest, 8.1): src/Tracy/MailPanel.php#L244
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } private function deleteAll() : void { - $this->mailer->deleteAll(); + $this->redirectBack(); } /**

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
4.59 KB