DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method formAddress has 53 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function formAddress($PersonId)
    {

        $tblAddress = Address::useService()->getAddressAll();
        $tblCity = Address::useService()->getCityAll();
Severity: Major
Found in Application/Api/Contact/ApiContactAddress.php - About 2 hrs to fix

    Method getStudentTransferStudentDivision has 53 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private function getStudentTransferStudentDivision()
        {
    
            $Slice = new Slice();
            $Slice->addSection((new Section())

      Method getProspectTableByResult has 53 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function getProspectTableByResult($Result)
          {
      
              $TableSearch = array();
              if (!empty($Result)) {
      Severity: Major
      Found in Application/Reporting/SerialLetter/SerialLetterFilter.php - About 2 hrs to fix

        Method formCheckListFilter has 53 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            private function formCheckListFilter(
                $filterPersonObjectList
            ) {
        
                $yearAll = array();
        Severity: Major
        Found in Application/Reporting/CheckList/Frontend.php - About 2 hrs to fix

          Method frontendPersonRestore has 53 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public static function frontendPersonRestore()
              {
                  $Stage = new Stage('Personen Wiederherstellen', 'Übersicht');
                  $Stage->addButton(new Standard('Zurück', __NAMESPACE__, new ChevronLeft()));
          
          
          Severity: Major
          Found in Application/Platform/System/DataMaintenance/DataMaintenance.php - About 2 hrs to fix

            Method displayPersonGroup has 53 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function displayPersonGroup()
                {
                    if(($tblSettingGroupPersonList = Setting::useService()->getSettingGroupPersonAll())){
                        $tblGroupList = array();
                        foreach($tblSettingGroupPersonList as $tblSettingGroupPerson) {
            Severity: Major
            Found in Application/Billing/Inventory/Setting/Frontend.php - About 2 hrs to fix

              Method frontendDestroyGroup has 53 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function frontendDestroyGroup($Id, $Confirm = false)
                  {
              
                      $Stage = new Stage('Gruppe', 'Löschen');
                      $Stage->addButton(new Standard('Zurück', '/People/Group', new ChevronLeft()));
              Severity: Major
              Found in Application/People/Group/Frontend.php - About 2 hrs to fix

                Method getSpecialTable has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function getSpecialTable(TblPerson $tblPerson, $hasEdit = true)
                    {
                
                        $tblSpecialList = Student::useService()->getSpecialByPerson($tblPerson);
                        $TableContent = array();
                Severity: Major
                Found in Application/People/Meta/Student/Frontend.php - About 2 hrs to fix

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

                  <?php
                  namespace SPHERE\Application\People\Search\Group;
                  
                  use SPHERE\Application\Api\Education\Division\ValidationFilter;
                  use SPHERE\Application\Contact\Address\Service\Entity\TblAddress;
                  Severity: Minor
                  Found in Application/People/Search/Group/Frontend.php - About 2 hrs to fix

                    Method frontendEditMinimumGradeCount has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function frontendEditMinimumGradeCount($Id = null, $MinimumGradeCount = null)
                        {
                    
                            $Stage = new Stage('Mindestnotenanzahl', 'Bearbeiten');
                            $Stage->addButton(

                      Method updateScoreRuleDivisionSubject has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function updateScoreRuleDivisionSubject(
                              IFormInterface $Stage = null,
                              TblScoreRule $tblScoreRule,
                              TblYear $tblYear = null,
                              $Data = null
                      Severity: Major
                      Found in Application/Education/Graduation/Gradebook/ScoreRule/Service.php - About 2 hrs to fix

                        Method getPossibleCertificates has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                            public function getPossibleCertificates(
                                TblPrepareCertificate $tblPrepare,
                                TblPerson $tblPerson,
                                TblConsumer $tblConsumer = null
                            ) {
                        Severity: Major
                        Found in Application/Education/Certificate/Generate/Service.php - About 2 hrs to fix

                          Method setFilter has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function setFilter($Filter)
                              {
                          
                                  $header = array();
                          
                          
                          Severity: Major
                          Found in Application/Education/Lesson/Division/Filter/Filter.php - About 2 hrs to fix

                            Method frontendSelectPerson has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                public static function frontendSelectPerson()
                                {
                            
                                    $Stage = new Stage('Abmeldebescheinigung', 'Schüler auswählen');
                            
                            

                              Method frontendDestroyHoliday has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function frontendDestroyHoliday($Id = null, $Confirm = false)
                                  {
                              
                                      $Stage = new Stage('Unterrichtsfreie Tage', 'Löschen');
                              
                              
                              Severity: Major
                              Found in Application/Education/Lesson/Term/Frontend.php - About 2 hrs to fix

                                Method frontendSelectPerson has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public static function frontendSelectPerson()
                                    {
                                
                                        $Stage = new Stage('Schulbescheinigung', 'Schüler auswählen');
                                
                                
                                Severity: Major
                                Found in Application/Document/Standard/StudentTransfer/StudentTransfer.php - About 2 hrs to fix

                                  Method frontendSelectPerson has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public static function frontendSelectPerson()
                                      {
                                  
                                          $Stage = new Stage('Unfallanzeige', 'Schüler auswählen');
                                  
                                  
                                  Severity: Major
                                  Found in Application/Document/Standard/AccidentReport/AccidentReport.php - About 2 hrs to fix

                                    Method frontendSelectPerson has 53 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public static function frontendSelectPerson()
                                        {
                                    
                                            $Stage = new Stage('Schülerkartei', 'Schüler auswählen');
                                            $Stage->addButton(new Standard('Einstellungen', '/Document/Standard/StudentCard/Setting', new CogWheels(),
                                    Severity: Major
                                    Found in Application/Document/Standard/StudentCard/Frontend.php - About 2 hrs to fix

                                      File CheHjInfoGsOne.php has 254 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

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

                                        File DataProtectionOrdinance.php has 254 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        <?php
                                        /**
                                         * Created by PhpStorm.
                                         * User: Kauschke
                                         * Date: 23.05.2018
                                        Severity: Minor
                                        Found in Application/Document/DataProtectionOrdinance.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language