Classes

Bubble size = executable lines. Hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 10 20 30 Line Coverage (%) Cyclomatic Complexity phpMyFAQ\Attachment\Filesystem\AbstractFile — Coverage: 92.5% | Lines: 40 | Complexity: 25 phpMyFAQ\Attachment\Filesystem\File\EncryptedFile — Coverage: 96.0% | Lines: 25 | Complexity: 12 phpMyFAQ\Attachment\Filesystem\File\VanillaFile — Coverage: 50.0% | Lines: 12 | Complexity: 8 phpMyFAQ\Attachment\Filesystem\AbstractEntry — Coverage: 100.0% | Lines: 4 | Complexity: 5

Methods

Bubble size = executable lines. Hover for details, click to navigate.

0% 20% 40% 60% 80% 100% 0 2 4 6 8 10 Line Coverage (%) Cyclomatic Complexity phpMyFAQ\Attachment\Filesystem\AbstractFile::deleteDir — Coverage: 93.8% | Lines: 16 | Complexity: 9 phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::copyTo — Coverage: 90.9% | Lines: 11 | Complexity: 5 phpMyFAQ\Attachment\Filesystem\File\VanillaFile::copyTo — Coverage: 33.3% | Lines: 9 | Complexity: 5 phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::getChunk — Coverage: 100.0% | Lines: 8 | Complexity: 5 phpMyFAQ\Attachment\Filesystem\AbstractFile::delete — Coverage: 83.3% | Lines: 6 | Complexity: 5 phpMyFAQ\Attachment\Filesystem\AbstractFile::setMode — Coverage: 100.0% | Lines: 6 | Complexity: 2 phpMyFAQ\Attachment\Filesystem\AbstractFile::__construct — Coverage: 100.0% | Lines: 4 | Complexity: 2 phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::__construct — Coverage: 100.0% | Lines: 4 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\AbstractFile::copyToSimple — Coverage: 66.7% | Lines: 3 | Complexity: 2 phpMyFAQ\Attachment\Filesystem\AbstractFile::__destruct — Coverage: 100.0% | Lines: 2 | Complexity: 2 phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::putChunk — Coverage: 100.0% | Lines: 2 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\File\VanillaFile::getChunk — Coverage: 100.0% | Lines: 2 | Complexity: 2 phpMyFAQ\Attachment\Filesystem\AbstractEntry::moveTo — Coverage: 100.0% | Lines: 1 | Complexity: 2 phpMyFAQ\Attachment\Filesystem\AbstractEntry::isEncrypted — Coverage: 100.0% | Lines: 1 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\AbstractEntry::getPath — Coverage: 100.0% | Lines: 1 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\AbstractEntry::__toString — Coverage: 100.0% | Lines: 1 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\AbstractFile::eof — Coverage: 100.0% | Lines: 1 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\AbstractFile::getMode — Coverage: 100.0% | Lines: 1 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\AbstractFile::isOk — Coverage: 100.0% | Lines: 1 | Complexity: 1 phpMyFAQ\Attachment\Filesystem\File\VanillaFile::putChunk — Coverage: 100.0% | Lines: 1 | Complexity: 1

 

Sorted by descending CRAP (Change Risk Anti-Patterns) index.

Method CRAP Coverage
phpMyFAQ\Attachment\Filesystem\File\VanillaFile::copyTo12.4133.3%
phpMyFAQ\Attachment\Filesystem\AbstractFile::deleteDir9.0293.8%
phpMyFAQ\Attachment\Filesystem\AbstractFile::delete5.1283.3%
phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::copyTo5.0290.9%
phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::getChunk5100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::copyToSimple2.1566.7%
phpMyFAQ\Attachment\Filesystem\AbstractEntry::moveTo2100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::__construct2100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::__destruct2100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::setMode2100.0%
phpMyFAQ\Attachment\Filesystem\File\VanillaFile::getChunk2100.0%
phpMyFAQ\Attachment\Filesystem\AbstractEntry::isEncrypted1100.0%
phpMyFAQ\Attachment\Filesystem\AbstractEntry::getPath1100.0%
phpMyFAQ\Attachment\Filesystem\AbstractEntry::__toString1100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::eof1100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::getMode1100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::isOk1100.0%
phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::__construct1100.0%
phpMyFAQ\Attachment\Filesystem\File\EncryptedFile::putChunk1100.0%
phpMyFAQ\Attachment\Filesystem\File\VanillaFile::putChunk1100.0%
phpMyFAQ\Attachment\Filesystem\AbstractEntry::copyTo0100.0%
phpMyFAQ\Attachment\Filesystem\AbstractEntry::delete0100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::getChunk0100.0%
phpMyFAQ\Attachment\Filesystem\AbstractFile::putChunk0100.0%