DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

File Service.php has 357 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php
/**
 * Created by PhpStorm.
 * User: Kauschke
 * Date: 18.12.2018
Severity: Minor
Found in Application/Reporting/Custom/BadDueben/Person/Service.php - About 4 hrs to fix

    File FrontendBasic.php has 357 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

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

      Method getCMSSubjectLanes has 114 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function getCMSSubjectLanes($personId, $IsHeadline = true, $Height = '270px')
          {
      
              $SubjectSlice = (new Slice());
      
      

        Method setGradeLayoutHeader has 114 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            protected function setGradeLayoutHeader(
                &$subjectPosition = array(),
                $countSubjectColumns = 18,
                $widthFirstColumns = 6,
                $widthLastColumns = 5,

          Method getFormField has 114 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function getFormField( $PropertyName, $Placeholder = null, $Label = null, IIconInterface $Icon = null, $doResetCount = false )
              {
          
                  switch ($PropertyName) {
                      case self::TBL_SUBJECT_NAME_FOREIGN_LANGUAGE_1:

            Method createTest has 114 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function createTest(IFormInterface $Stage = null, $DivisionSubjectId = null, $Test = null, $BasicRoute)
                {
            
                    /**
                     * Skip to Frontend
            Severity: Major
            Found in Application/Education/Graduation/Evaluation/Service.php - About 4 hrs to fix

              Method frontendAbsence has 114 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function frontendAbsence(
                      $DivisionId = null,
                      $PersonId = null,
                      $BasicRoute = '/Education/ClassRegister/Teacher',
                      $Data = null
              Severity: Major
              Found in Application/Education/ClassRegister/Absence/Frontend.php - About 4 hrs to fix

                File GradeInformation.php has 356 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                <?php
                /**
                 * Created by PhpStorm.
                 * User: Kauschke
                 * Date: 30.09.2016

                  Method formItem has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public function formItem($Identifier = '', $ItemId = '')
                      {
                  
                          $CheckboxList = array();
                          $tblGroupList = array();
                  Severity: Major
                  Found in Application/Api/Billing/Inventory/ApiItem.php - About 4 hrs to fix

                    File Service.php has 355 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    <?php
                    
                    namespace SPHERE\Application\Reporting\Custom\Muldental\Person;
                    
                    use MOC\V\Component\Document\Component\Bridge\Repository\PhpExcel;
                    Severity: Minor
                    Found in Application/Reporting/Custom/Muldental/Person/Service.php - About 4 hrs to fix

                      Method createMedicalInsuranceClassList has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function createMedicalInsuranceClassList(TblDivision $tblDivision)
                          {
                      
                              $tblPersonList = Division::useService()->getStudentAllByDivision($tblDivision);
                              $TableContent = array();
                      Severity: Major
                      Found in Application/Reporting/Standard/Person/Service.php - About 4 hrs to fix

                        Method frontendSession has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function frontendSession($Id = null)
                            {
                        
                                $Stage = new Stage('Active Session', 'der aktuell angemeldete Benutzer');
                        //        $Stage->addButton(new External('Login History', __NAMESPACE__.'/History', null, array(), false));
                        Severity: Major
                        Found in Application/Platform/System/Session/Session.php - About 4 hrs to fix

                          Method createStudentMetasFromFile has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function createStudentMetasFromFile(
                                  IFormInterface $Form = null,
                                  UploadedFile $File = null
                              ) {
                          
                          
                          Severity: Major
                          Found in Application/Transfer/Import/Naundorf/Service.php - About 4 hrs to fix

                            File FrontendStudentGeneral.php has 355 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/FrontendStudentGeneral.php - About 4 hrs to fix

                              Method frontendDivisionTeacherTaskGrades has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function frontendDivisionTeacherTaskGrades($Id = null, $DivisionId = null)
                                  {
                              
                                      $Stage = new Stage('Notenauftrag', 'Zensurenübersicht');
                              
                              
                              Severity: Major
                              Found in Application/Education/Graduation/Evaluation/Frontend.php - About 4 hrs to fix

                                Method frontendPrepare has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function frontendPrepare($DivisionId = null, $GroupId = null, $Route = 'Teacher')
                                    {
                                
                                        $Stage = new Stage('Zeugnisvorbereitungen', 'Übersicht');
                                        $Stage->addButton(new Standard(
                                Severity: Major
                                Found in Application/Education/Certificate/Prepare/Frontend.php - About 4 hrs to fix

                                  Method frontendSubjectGroupAdd has 113 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public function frontendSubjectGroupAdd($Id = null, $DivisionSubjectId = null, $Group = null)
                                      {
                                  
                                          $Stage = new Stage('Fach-Gruppen', 'Übersicht');
                                  
                                  
                                  Severity: Major
                                  Found in Application/Education/Lesson/Division/Frontend.php - About 4 hrs to fix

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

                                    class Service extends AbstractService
                                    {
                                    
                                        /**
                                         * @return false|ViewRelationshipToPerson[]
                                    Severity: Minor
                                    Found in Application/People/Relationship/Service.php - About 4 hrs to fix

                                      Method formBasket has 112 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function formBasket($Identifier = '', $BasketId = '')
                                          {
                                      
                                              // SelectBox content
                                              $YearList = Invoice::useService()->getYearList(1, 1);
                                      Severity: Major
                                      Found in Application/Api/Billing/Bookkeeping/ApiBasket.php - About 4 hrs to fix

                                        Method getCmsMsHjPageList has 112 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function getCmsMsHjPageList($personId, $TitleText = '')
                                            {
                                                $PageList = array();
                                                $PageList[] = (new Page())
                                                    ->addSlice((new Slice())
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language