DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method frontendMyAccount has 109 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function frontendMyAccount($Setting = array())
    {

        $Stage = new Stage('Mein Benutzerkonto', 'Profil');

Severity: Major
Found in Application/Setting/MyAccount/Frontend.php - About 4 hrs to fix

    Method getSchoolPartAbitur has 109 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private function getSchoolPartAbitur($personId, $MarginTop = '20px')
        {
    
            if (($tblSetting = Consumer::useService()->getSetting(
                    'Education', 'Certificate', 'Prepare', 'IsSchoolExtendedNameDisplayed'))

      Method buildPages has 109 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function buildPages(TblPerson $tblPerson = null)
          {
      
              $personId = $tblPerson ? $tblPerson->getId() : 0;
      
      

        Method frontendAccount has 109 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function frontendAccount()
            {
        
                $Stage = new Stage('Benutzerkonnten');
        
        
        Severity: Major
        Found in Application/Platform/Gatekeeper/Authorization/Account/Frontend.php - About 4 hrs to fix

          Method frontendSetupUpgrade has 109 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function frontendSetupUpgrade()
              {
          
                  $Stage = new Stage('Database', 'Setup aller Mandanten (Struktur)');
                  $this->menuButton($Stage);
          Severity: Major
          Found in Application/Platform/System/Database/Database.php - About 4 hrs to fix

            Method frontendUpload has 109 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function frontendUpload(UploadedFile $File = null, $Item = '')
                {
            
                    $Stage = new Stage('Fakturierung Grunddaten', 'importieren');
            
            
            Severity: Major
            Found in Application/Billing/Inventory/Import/Frontend.php - About 4 hrs to fix

              ApiPersonReadOnly has 34 functions (exceeds 20 allowed). Consider refactoring.
              Open

              class ApiPersonReadOnly extends Extension implements IApiInterface
              {
              
                  use ApiTrait;
              
              
              Severity: Minor
              Found in Application/Api/People/Person/ApiPersonReadOnly.php - About 4 hrs to fix

                Data has 34 functions (exceeds 20 allowed). Consider refactoring.
                Open

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

                  Method checkInputCalculation has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      private function checkInputCalculation($Identifier, $VariantId, $CalculationId, $Calculation = array())
                      {
                          $Error = false;
                          $form = $this->formCalculation($Identifier, $VariantId, $CalculationId);
                  
                  
                  Severity: Major
                  Found in Application/Api/Billing/Inventory/ItemCalculation.php - About 4 hrs to fix

                    Method buildPages has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function buildPages(TblPerson $tblPerson = null)
                        {
                    
                            $personId = $tblPerson ? $tblPerson->getId() : 0;
                            $PageList = array();

                      Method getBasicCourses has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          private function getBasicCourses(TblPerson $tblPerson = null, $IsGradeUnderlined = true)
                          {
                      
                              $slice = new Slice();
                              $personId = $tblPerson ? $tblPerson->getId() : 0;

                        Method allocateStudent has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            private function allocateStudent(&$Data)
                            {
                        
                                if ($this->getTblPerson()) {
                                    if (($tblDivisionList = Student::useService()->getCurrentDivisionListByPerson($this->getTblPerson()))) {
                        Severity: Major
                        Found in Application/Api/Document/AbstractDocument.php - About 4 hrs to fix

                          Method createMetaDataComparisonExcel has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function createMetaDataComparisonExcel($Person = null, $Year = null, $Division = null, $Option = null, $PersonGroup = null)
                              {
                          
                                  $Result = $this->getStudentFilterResult($Person, $Year, $Division, $PersonGroup);
                          
                          
                          Severity: Major
                          Found in Application/Reporting/Standard/Person/Service.php - About 4 hrs to fix

                            Method frontendArchive has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function frontendArchive($Environment = null)
                                {
                            
                                    $Stage = new Stage('Archivierung');
                            
                            
                            Severity: Major
                            Found in Application/Platform/System/Archive/Frontend.php - About 4 hrs to fix

                              Method importIndiwareLectureship has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function importIndiwareLectureship()
                                  {
                              
                                      $InfoList = array();
                                      $tblIndiwareImportLectureshipList = $this->getIndiwareImportLectureshipAll(true);
                              Severity: Major
                              Found in Application/Transfer/Indiware/Import/Service.php - About 4 hrs to fix

                                Method getStudentProcessContent has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public static function getStudentProcessContent($PersonId = null)
                                    {
                                
                                        if (($tblPerson = Person::useService()->getPersonById($PersonId))) {
                                            $tblStudent = $tblPerson->getStudent();
                                Severity: Major
                                Found in Application/People/Person/Frontend/FrontendStudentProcess.php - About 4 hrs to fix

                                  Method getEditStudentBasicForm has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      private function getEditStudentBasicForm(TblPerson $tblPerson = null)
                                      {
                                  
                                          self::setYearAndDivisionForMassReplace($tblPerson, $Year, $Division);
                                  
                                  
                                  Severity: Major
                                  Found in Application/People/Person/Frontend/FrontendStudent.php - About 4 hrs to fix

                                    Method frontendDivisionTeacherTask has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function frontendDivisionTeacherTask($IsAllYears = false, $YearId = null)
                                        {
                                    
                                            $Stage = new Stage('Notenaufträge', 'Übersicht');
                                            $Stage->setMessage(
                                    Severity: Major
                                    Found in Application/Education/Graduation/Evaluation/Frontend.php - About 4 hrs to fix

                                      Method setKamenzReportGymContent has 108 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public static function setKamenzReportGymContent(
                                              $Content
                                          ) {
                                      
                                              $tblCurrentYearList = false;
                                      Severity: Major
                                      Found in Application/Document/Generator/Service/Kamenz/KamenzReportService.php - About 4 hrs to fix

                                        File Frontend.php has 346 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        <?php
                                        
                                        namespace SPHERE\Application\Billing\Accounting\Debtor;
                                        
                                        use SPHERE\Application\Api\Billing\Accounting\ApiBankAccount;
                                        Severity: Minor
                                        Found in Application/Billing/Accounting/Debtor/Frontend.php - About 4 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language