DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method getContent has 101 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/KamenzReportGym/E21.php - About 4 hrs to fix

    Method createPhoneList has 101 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function createPhoneList(TblGroup $tblGroup)
        {
    
            $TableContent = array();
    
    
    Severity: Major
    Found in Application/Reporting/Custom/Radebeul/Person/Service.php - About 4 hrs to fix

      Method createClassListExcel has 101 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          public function createClassListExcel($PersonList, $tblPersonList)
          {
      
              if (!empty($PersonList)) {
      
      
      Severity: Major
      Found in Application/Reporting/Custom/BadDueben/Person/Service.php - About 4 hrs to fix

        Method frontendLayoutPersonNew has 101 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

            public function frontendLayoutPersonNew(TblPerson $tblPerson, $Group = null)
            {
        
                $tblRelationshipAll = Relationship::useService()->getPersonRelationshipAllByPerson($tblPerson);
        
        
        Severity: Major
        Found in Application/People/Relationship/Frontend.php - About 4 hrs to fix

          Method frontendDashboard has 101 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              public function frontendDashboard()
              {
          
                  $Stage = new Stage('Fächer', 'Dashboard');
          
          
          Severity: Major
          Found in Application/Education/Lesson/Subject/Subject.php - About 4 hrs to fix

            Method frontendLayoutPersonNew has 100 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function frontendLayoutPersonNew(TblPerson $tblPerson)
                {
            
                    $mailList = array();
                    if (($tblMailList = Mail::useService()->getMailAllByPerson($tblPerson))){
            Severity: Major
            Found in Application/Contact/Mail/Frontend.php - About 4 hrs to fix

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

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

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

                    public function buildPage()
                    {
                        return (new Page())
                            ->addSlice((new Slice())
                                ->addSection((new Section())

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

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

                    Method formFilterStudent has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        public function formFilterStudent(TblSerialLetter $tblSerialLetter = null)
                        {
                    
                            $GroupList = array();
                            $tblGroup = Group::useService()->getGroupByMetaTable('STUDENT');
                    Severity: Major
                    Found in Application/Reporting/SerialLetter/SerialLetterForm.php - About 4 hrs to fix

                      Method frontendListObjectElementEdit has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                          public function frontendListObjectElementEdit(
                              $ObjectId = null,
                              $ListId = null,
                              $ObjectTypeId = null,
                              $Data = null,
                      Severity: Major
                      Found in Application/Reporting/CheckList/Frontend.php - About 4 hrs to fix

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

                        class Service extends AbstractService
                        {
                        
                            /**
                             * @param bool $doSimulation
                        Severity: Minor
                        Found in Application/Billing/Inventory/Item/Service.php - About 4 hrs to fix

                          Method runConvert has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public function runConvert($Row)
                              {
                          
                                  $Result = array();
                                  foreach ($Row as $Part) {
                          Severity: Major
                          Found in Application/Billing/Inventory/Import/ImportGateway.php - About 4 hrs to fix

                            Setup has 32 functions (exceeds 20 allowed). Consider refactoring.
                            Open

                            class Setup extends AbstractSetup
                            {
                            
                                /**
                                 * @param bool $Simulate
                            Severity: Minor
                            Found in Application/People/Meta/Student/Service/Setup.php - About 4 hrs to fix

                              Method copySubjectGradesByPerson has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  public function copySubjectGradesByPerson(TblPrepareCertificate $tblPrepare, TblPerson $tblPerson, $isDiploma = false)
                                  {
                              
                                      $Manager = $this->getConnection()->getEntityManager();
                              
                              
                              Severity: Major
                              Found in Application/Education/Certificate/Prepare/Service/Data.php - About 4 hrs to fix

                                Method frontendDiplomaSelectDivision has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function frontendDiplomaSelectDivision($IsAllYears = false, $IsGroup = false, $YearId = null)
                                    {
                                
                                        $Stage = new Stage('Zeugnisvorbereitung', 'Klasse auswählen');
                                        $this->setHeaderButtonList($Stage, View::DIPLOMA);
                                Severity: Major
                                Found in Application/Education/Certificate/Prepare/Frontend.php - About 4 hrs to fix

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

                                  class Data extends AbstractData
                                  {
                                  
                                      public function setupDatabaseContent()
                                      {
                                  Severity: Minor
                                  Found in Application/Education/Lesson/Subject/Service/Data.php - About 4 hrs to fix

                                    Method copyDivision has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        public
                                        function copyDivision(
                                            IFormInterface $Form,
                                            TblDivision $tblDivision,
                                            $Level,
                                    Severity: Major
                                    Found in Application/Education/Lesson/Division/Service.php - About 4 hrs to fix

                                      Method outerJoin has 100 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          protected function outerJoin($List, $ProbeList = array(), $SearchList = array())
                                          {
                                              $Result = array();
                                              /** @var AbstractView $Node0 */
                                              foreach ($List[0] as $Node0) {
                                      Severity: Major
                                      Found in System/Database/Filter/Link/Repository/Node7.php - About 4 hrs to fix

                                        File ImportGateway.php has 332 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        <?php
                                        /**
                                         * Import Fakturierung. Reihenfolge der Felder aus der xlsx-Datei *.xlsx
                                         * wird Dynamisch ausgelesen (Erfolgt in Control)
                                         */
                                        Severity: Minor
                                        Found in Application/Billing/Inventory/Import/ImportGateway.php - About 4 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language