DerDu/SPHERE-Framework

View on GitHub
Common/Documentation/Content/Kreda.php

Summary

Maintainability
D
1 day
Test Coverage

Method setChapterGrades has 275 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function setChapterGrades($Search)
    {

        $Chapter = $this->Book->createChapter('Zensuren', '', true);
        if ($Chapter->getHash() == $this->Book->getCurrentChapter()) {
Severity: Major
Found in Common/Documentation/Content/Kreda.php - About 1 day to fix

    File Kreda.php has 312 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    namespace SPHERE\Common\Documentation\Content;
    
    use MOC\V\Core\FileSystem\FileSystem;
    use SPHERE\Common\Documentation\Designer;
    Severity: Minor
    Found in Common/Documentation/Content/Kreda.php - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status