DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method getStudentFilterResultList has 68 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function getStudentFilterResultList(
        $FilterGroup = null,
        $FilterStudent = null,
//        $FilterPerson = null,
        $FilterYear = null,
Severity: Major
Found in Application/Setting/User/Account/Service.php - About 2 hrs to fix

    Method frontendSponsorAssociationDestroy has 68 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function frontendSponsorAssociationDestroy($Id, $Confirm = false)
        {
    
            $Stage = new Stage('Förderverein', 'Löschen');
            if ($Id) {
    Severity: Major
    Found in Application/Setting/Consumer/SponsorAssociation/Frontend.php - About 2 hrs to fix

      Method frontendLayoutCompanyNew has 68 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function frontendLayoutCompanyNew(TblCompany $tblCompany)
          {
      
              if (($tblPhoneList = Phone::useService()->getPhoneAllByCompany($tblCompany))){
                  $LayoutRowList = array();
      Severity: Major
      Found in Application/Contact/Phone/Frontend.php - About 2 hrs to fix

        Method getBehaviorRadioBox has 68 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            private function getBehaviorRadioBox($RadioBoxName)
            {
        
                $RadioBoxList = array();
                foreach($this->reducedSelectBoxList as &$reducedSelectBox){
        Severity: Major
        Found in Application/Api/Reporting/Individual/ApiIndividual.php - About 2 hrs to fix

          File Billing.php has 280 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          <?php
          /**
           * Created by PhpStorm.
           * User: Kauschke
           * Date: 13.03.2019
          Severity: Minor
          Found in Application/Api/Document/Standard/Repository/Billing/Billing.php - About 2 hrs to fix

            Method createClassList has 68 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function createClassList(TblDivision $tblDivision)
                {
            
                    $tblPersonList = Division::useService()->getStudentAllByDivision($tblDivision);
            
            
            Severity: Major
            Found in Application/Reporting/Custom/Coswig/Person/Service.php - About 2 hrs to fix

              Method frontendSchoolFeeList has 68 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function frontendSchoolFeeList()
                  {
              
                      $Stage = new Stage('ESZC Auswertung', 'Schulgeldliste');
              
              
              Severity: Major
              Found in Application/Reporting/Custom/Chemnitz/Person/Frontend.php - About 2 hrs to fix

                Method __construct has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function __construct($File, TblYear $tblYear, LectureshipControl $Control)
                    {
                        $this->loadFile($File);
                        $this->Year = $tblYear;
                
                
                Severity: Major
                Found in Application/Transfer/Indiware/Import/LectureshipGateway.php - About 2 hrs to fix

                  Method frontendStatus has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      public function frontendStatus()
                      {
                  
                          $Stage = new Stage('Database', 'Status');
                          $this->menuButton($Stage);
                  Severity: Major
                  Found in Application/Platform/System/Database/Database.php - About 2 hrs to fix

                    Method formatFilterListMessages has 68 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        private static function formatFilterListMessages($list, $contentTable, &$count, $countMessages)
                        {
                    
                            $hasEditButton = true;
                            $tblStudentGroup = Group::useService()->getGroupByMetaTable('STUDENT');
                    Severity: Major
                    Found in Application/Education/Lesson/Division/Filter/Service.php - About 2 hrs to fix

                      File ApiContactAddress.php has 279 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      <?php
                      
                      namespace SPHERE\Application\Api\Contact;
                      
                      use SPHERE\Application\Api\ApiTrait;
                      Severity: Minor
                      Found in Application/Api/Contact/ApiContactAddress.php - About 2 hrs to fix

                        File EssGsJTwo.php has 279 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        <?php
                        
                        namespace SPHERE\Application\Api\Education\Certificate\Generator\Repository\ESS;
                        
                        use SPHERE\Application\Api\Education\Certificate\Generator\Certificate;

                          Method frontendDestroyAccount has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function frontendDestroyAccount($Id, $Confirm = false)
                              {
                          
                                  $Stage = new Stage('Benutzerkonto', 'Löschen');
                                  if ($Id) {
                          Severity: Major
                          Found in Application/Setting/Authorization/Account/Frontend.php - About 2 hrs to fix

                            Method frontendResponsibilityDestroy has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public function frontendResponsibilityDestroy($Id, $Confirm = false)
                                {
                            
                                    $Stage = new Stage('Schulträger', 'Löschen');
                                    if ($Id) {
                            Severity: Major
                            Found in Application/Setting/Consumer/Responsibility/Frontend.php - About 2 hrs to fix

                              Method getGradeLanesCoswig has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  protected function getGradeLanesCoswig(
                                      $personId,
                                      $TextSize = '14px',
                                      $IsGradeUnderlined = false,
                                      $MarginTop = '15px'
                              Severity: Major
                              Found in Application/Api/Education/Certificate/Generator/Certificate.php - About 2 hrs to fix

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

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

                                  Method setDivisionRow has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      private static function setDivisionRow(
                                          &$sliceList,
                                          $identifier,
                                          $name
                                      ) {
                                  Severity: Major
                                  Found in Application/Api/Document/Standard/Repository/KamenzReport/E01.php - About 2 hrs to fix

                                    Method frontendStaffList has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public function frontendStaffList()
                                        {
                                    
                                            $Stage = new Stage();
                                            $Stage->setTitle('Auswertung');
                                    Severity: Major
                                    Found in Application/Reporting/Custom/Hormersdorf/Person/Frontend.php - About 2 hrs to fix

                                      Method createLanguageList has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function createLanguageList(TblDivision $tblDivision)
                                          {
                                      
                                              $tblPersonList = Division::useService()->getStudentAllByDivision($tblDivision);
                                      
                                      
                                      Severity: Major
                                      Found in Application/Reporting/Custom/Herrnhut/Person/Service.php - About 2 hrs to fix

                                        Method createBirthdayClassList has 67 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function createBirthdayClassList(TblDivision $tblDivision)
                                            {
                                        
                                                $tblPersonList = Division::useService()->getStudentAllByDivision($tblDivision);
                                        
                                        
                                        Severity: Major
                                        Found in Application/Reporting/Standard/Person/Service.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language