Skip to content

CI

CI #130

Triggered via schedule August 5, 2024 08:16
Status Success
Total duration 6m 42s
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

10 warnings
Test for mutants (ubuntu-latest, 8.3): src/Container.php#L58
Escaped Mutant for Mutator "UnwrapStrReplace": @@ @@ */ private function getPathParts(string $path): array { - $path = str_replace('\\', '/', $path); + $path = $path; $pathParts = explode('/', $path); $filteredPathParts = []; foreach ($pathParts as $part) {
Test for mutants (ubuntu-latest, 8.3): src/Container.php#L82
Escaped Mutant for Mutator "InstanceOf_": @@ @@ $pathParts = $this->getPathParts($path); $node = $this->getRootDirectory(); foreach ($pathParts as $level) { - if ($node instanceof Link) { + if (false) { $node = $node->getResolvedDestination(); } if ($node instanceof File) {
Test for mutants (ubuntu-latest, 8.3): src/Factory.php#L32
Escaped Mutant for Mutator "Ternary": @@ @@ public function __construct() { $this->uid = function_exists('posix_getuid') ? posix_getuid() : PermissionChecker::RootId; - $this->gid = function_exists('posix_getgid') ? posix_getgid() : PermissionChecker::RootId; + $this->gid = function_exists('posix_getgid') ? PermissionChecker::RootId : posix_getgid(); } public function getUid(): int {
Test for mutants (ubuntu-latest, 8.3): src/Structure/Directory.php#L27
Escaped Mutant for Mutator "InstanceOf_": @@ @@ { parent::__construct($basename, $currentTime, $uid, $gid); $this->addChild(new Link($this, '.', $currentTime, $uid, $gid)); - if ($this instanceof RootDirectory) { + if (true) { $this->addChild(new Link($this, '..', $currentTime, $uid, $gid)); } }
Test for mutants (ubuntu-latest, 8.3): src/Structure/Directory.php#L34
Escaped Mutant for Mutator "IncrementInteger": @@ @@ } public static function getStatType(): int { - return 040000; + return 16385; } protected function setParent(self $parent): void {
Test for mutants (ubuntu-latest, 8.3): src/Structure/Directory.php#L41
Escaped Mutant for Mutator "InstanceOf_": @@ @@ protected function setParent(self $parent): void { parent::setParent($parent); - if (!$this instanceof RootDirectory) { + if (!false) { $this->removeChild('..'); $this->addChild(new Link($parent, '..', $this->getChangeTime(), $this->getUser(), $this->getGroup())); }
Test for mutants (ubuntu-latest, 8.3): src/Structure/File.php#L37
Escaped Mutant for Mutator "IncrementInteger": @@ @@ } public static function getStatType(): int { - return 0100000; + return 32769; } /** * Returns size of file in bytes
Test for mutants (ubuntu-latest, 8.3): src/Structure/File.php#L37
Escaped Mutant for Mutator "IntegerNegation": @@ @@ } public static function getStatType(): int { - return 0100000; + return -32768; } /** * Returns size of file in bytes
Test for mutants (ubuntu-latest, 8.3): src/Structure/File.php#L69
Escaped Mutant for Mutator "BitwiseAnd": @@ @@ } else { $this->sharedLock->detach($wrapper); } - if (($operation & LOCK_NB) !== 0) { + if (($operation | LOCK_NB) !== 0) { $operation -= LOCK_NB; } $unlock = $operation === LOCK_UN;
Test for mutants (ubuntu-latest, 8.3): src/Structure/File.php#L69
Escaped Mutant for Mutator "DecrementInteger": @@ @@ } else { $this->sharedLock->detach($wrapper); } - if (($operation & LOCK_NB) !== 0) { + if (($operation & LOCK_NB) !== -1) { $operation -= LOCK_NB; } $unlock = $operation === LOCK_UN;

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
5.59 KB