CI #116
ci.yaml
on: schedule
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
3s
Annotations
10 warnings
Test for mutants (ubuntu-latest, 8.1):
src/Container.php#L60
Escaped Mutant for Mutator "UnwrapStrReplace":
--- Original
+++ New
@@ @@
*/
public function getNodeAt(string $path) : Node
{
- $pathParts = array_filter(explode('/', str_replace('\\', '/', $path)), 'strlen');
+ $pathParts = array_filter(explode('/', $path), 'strlen');
$node = $this->getRootDirectory();
foreach ($pathParts as $level) {
if ($node instanceof Link) {
|
Test for mutants (ubuntu-latest, 8.1):
src/Container.php#L65
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
$pathParts = array_filter(explode('/', str_replace('\\', '/', $path)), 'strlen');
$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.1):
src/Factory.php#L32
Escaped Mutant for Mutator "Ternary":
--- Original
+++ New
@@ @@
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.1):
src/Structure/Directory.php#L27
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
{
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.1):
src/Structure/Directory.php#L34
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
public static function getStatType() : int
{
- return 040000;
+ return 16385;
}
protected function setParent(self $parent) : void
{
|
Test for mutants (ubuntu-latest, 8.1):
src/Structure/Directory.php#L41
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
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.1):
src/Structure/File.php#L37
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
}
public static function getStatType() : int
{
- return 0100000;
+ return 32769;
}
/**
* Returns size of file in bytes
|
Test for mutants (ubuntu-latest, 8.1):
src/Structure/File.php#L37
Escaped Mutant for Mutator "IntegerNegation":
--- Original
+++ New
@@ @@
}
public static function getStatType() : int
{
- return 0100000;
+ return -32768;
}
/**
* Returns size of file in bytes
|
Test for mutants (ubuntu-latest, 8.1):
src/Structure/File.php#L69
Escaped Mutant for Mutator "BitwiseAnd":
--- Original
+++ New
@@ @@
} 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.1):
src/Structure/File.php#L69
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
} 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
|
51.1 KB |
|