DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method createSepaContent has 151 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function createSepaContent(TblBasket $tblBasket, $CheckboxList = array(), $FeeList = array())
    {

        $tblInvoiceList = Invoice::useService()->getInvoiceByBasket($tblBasket);
        if(!$tblInvoiceList){
Severity: Major
Found in Application/Billing/Bookkeeping/Balance/Service.php - About 6 hrs to fix

    Method setCurrentTaskList has 151 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private function setCurrentTaskList(
            TblDivision $tblDivision,
            TblSubject $tblSubject,
            TblSubjectGroup $tblSubjectGroup = null,
            TblTestType $tblTestType,
    Severity: Major
    Found in Application/Education/Graduation/Evaluation/Service.php - About 6 hrs to fix

      File FrontendStudentSubject.php has 418 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      /**
       * Created by PhpStorm.
       * User: Kauschke
       * Date: 17.12.2018
      Severity: Minor
      Found in Application/People/Person/Frontend/FrontendStudentSubject.php - About 6 hrs to fix

        File ApiRelationshipToPerson.php has 417 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        <?php
        /**
         * Created by PhpStorm.
         * User: Kauschke
         * Date: 04.01.2019
        Severity: Minor
        Found in Application/Api/Contact/ApiRelationshipToPerson.php - About 6 hrs to fix

          File Data.php has 417 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          <?php
          
          namespace SPHERE\Application\Transfer\Indiware\Import\Service;
          
          use SPHERE\Application\Education\Lesson\Division\Service\Entity\TblDivision;
          Severity: Minor
          Found in Application/Transfer/Indiware/Import/Service/Data.php - About 6 hrs to fix

            Method getPdfForm has 150 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                private function getPdfForm(TblPerson $tblPerson, TblUserAccount $tblUserAccount, $IsParent = false)
                {
            
            //        $tblStudentCompanyId = false;
                    $tblSchoolAll = School::useService()->getSchoolAll();
            Severity: Major
            Found in Application/Setting/User/Account/Frontend.php - About 6 hrs to fix

              Certificate has 44 functions (exceeds 20 allowed). Consider refactoring.
              Open

              abstract class Certificate extends Extension
              {
              
                  /** @var null|Frame $Certificate */
                  private $Certificate = null;
              Severity: Minor
              Found in Application/Api/Education/Certificate/Generator/Certificate.php - About 6 hrs to fix

                Method getESSSubjectLanes has 150 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    protected function getESSSubjectLanes(
                    $personId,
                    $marginTop = '10px',
                    $isSlice = true,
                    $TextSize = self::TEXT_SIZE

                  Method frontendParentTeacherConferenceList has 150 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public function frontendParentTeacherConferenceList($DivisionId = null)
                      {
                  
                          $Stage = new Stage('ESZC Auswertung', 'Liste für Elternabende');
                          if (null !== $DivisionId) {
                  Severity: Major
                  Found in Application/Reporting/Custom/Chemnitz/Person/Frontend.php - About 6 hrs to fix

                    Method panelSubjectList has 150 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        private function panelSubjectList(
                            $Identifier,
                            $Title,
                            $Label,
                            $SubjectList,
                    Severity: Major
                    Found in Application/People/Person/Frontend/FrontendStudentSubject.php - About 6 hrs to fix

                      Method frontendHeadmasterTest has 150 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function frontendHeadmasterTest($IsAllYears = false, $YearId = null)
                          {
                      
                              $Stage = new Stage('Leistungsüberprüfung', 'Auswahl');
                              $Stage->setMessage(
                      Severity: Major
                      Found in Application/Education/Graduation/Evaluation/Frontend.php - About 6 hrs to fix

                        Method formStudentTransfer has 150 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            private function formStudentTransfer()
                            {
                        
                                return new Form(
                                    new FormGroup(array(
                        Severity: Major
                        Found in Application/Document/Standard/StudentTransfer/StudentTransfer.php - About 6 hrs to fix

                          Service has 44 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          class Service extends AbstractService
                          {
                          
                              /**
                               * @return false|ViewYear[]
                          Severity: Minor
                          Found in Application/Education/Lesson/Term/Service.php - About 6 hrs to fix

                            Method frontendClassList has 149 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function frontendClassList($DivisionId = null)
                                {
                            
                                    $Stage = new Stage('Auswertung', 'Klassenliste');
                                    if (null !== $DivisionId) {
                            Severity: Major
                            Found in Application/Reporting/Custom/Hormersdorf/Person/Frontend.php - About 5 hrs to fix

                              Method frontendMedicList has 149 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function frontendMedicList($DivisionId = null)
                                  {
                              
                                      $Stage = new Stage('ESZC Auswertung', 'Arztliste');
                                      if (null !== $DivisionId) {
                              Severity: Major
                              Found in Application/Reporting/Custom/Chemnitz/Person/Frontend.php - About 5 hrs to fix

                                File Data.php has 415 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                namespace SPHERE\Application\Platform\Gatekeeper\Authorization\Access\Service;
                                
                                use SPHERE\Application\Platform\Gatekeeper\Authorization\Access\Service\Entity\TblLevel;
                                use SPHERE\Application\Platform\Gatekeeper\Authorization\Access\Service\Entity\TblLevelPrivilege;
                                Severity: Minor
                                Found in Application/Platform/Gatekeeper/Authorization/Access/Service/Data.php - About 5 hrs to fix

                                  Method getContent has 148 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public static function getContent()
                                      {
                                          $sliceList = array();
                                  
                                          $sliceList[] = (new Slice())
                                  Severity: Major
                                  Found in Application/Api/Document/Standard/Repository/KamenzReportGS/F01.php - About 5 hrs to fix

                                    Method buildPage has 148 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        private function buildPage(
                                            TblPerson $tblPersonDebtor,
                                            TblPerson $tblPersonCauser
                                        ) {
                                            $Data = $this->Data;

                                      Method frontendProfileList has 148 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function frontendProfileList($DivisionId = null)
                                          {
                                              $Stage = new Stage('EZSH Auswertung', 'Klassenliste Profile');
                                              if (null !== $DivisionId) {
                                                  $Stage->addButton(new Standard('Zurück', '/Reporting/Custom/Herrnhut/Person/ProfileList', new ChevronLeft()));
                                      Severity: Major
                                      Found in Application/Reporting/Custom/Herrnhut/Person/Frontend.php - About 5 hrs to fix

                                        Method frontendSignList has 148 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function frontendSignList($DivisionId = null)
                                            {
                                                $Stage = new Stage('EZSH Auswertung', 'Unterschriften Liste');
                                                if (null !== $DivisionId) {
                                                    $Stage->addButton(new Standard('Zurück', '/Reporting/Custom/Herrnhut/Person/SignList', new ChevronLeft()));
                                        Severity: Major
                                        Found in Application/Reporting/Custom/Herrnhut/Person/Frontend.php - About 5 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language