DerDu/SPHERE-Framework

View on GitHub

Showing 5,014 of 7,620 total issues

Method countStudentLevels has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static function countStudentLevels(
        TblPerson $tblPerson,
        TblLevel $tblLevel,
        &$gender,
        $hasMigrationBackground,
Severity: Major
Found in Application/Document/Generator/Service/Kamenz/KamenzReportService.php - About 2 hrs to fix

    File E11.php has 273 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    /**
     * Created by PhpStorm.
     * User: lehmann
     * Date: 23.06.2017
    Severity: Minor
    Found in Application/Api/Document/Standard/Repository/KamenzReport/E11.php - About 2 hrs to fix

      File Data.php has 273 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      <?php
      namespace SPHERE\Application\Document\Storage\Service;
      
      use SPHERE\Application\Document\Storage\Service\Entity\TblBinary;
      use SPHERE\Application\Document\Storage\Service\Entity\TblDirectory;
      Severity: Minor
      Found in Application/Document/Storage/Service/Data.php - About 2 hrs to fix

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

            public function __construct($Chapter = null, $Page = null, $Search = null)
            {
        
                $this->ShowChapter = $Chapter;
                $this->ShowPage = $Page;
        Severity: Major
        Found in Common/Documentation/Content/General.php - About 2 hrs to fix

          Method frontendSchoolDestroy has 63 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

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

            Method getExcelData has 63 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

                public function getExcelData($tblUserAccountList = array())
                {
            
                    $result = array();
                    if (!empty($tblUserAccountList)) {
            Severity: Major
            Found in Application/Setting/User/Account/Service.php - About 2 hrs to fix

              Method getCustodyTableContent has 63 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  public function getCustodyTableContent($Result, $MaxResult = 800, $TypeId = null)
                  {
              
                      $SearchResult = array();
                      if (!empty($Result)) {
              Severity: Major
              Found in Application/Setting/User/Account/Frontend.php - About 2 hrs to fix

                Method frontendDestroyCompany has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                    public function frontendDestroyCompany($Id = null, $Confirm = false, $Group = null)
                    {
                
                        $Stage = new Stage('Institution', 'Löschen');
                        if ($Id) {
                Severity: Major
                Found in Application/Corporation/Company/Frontend.php - About 2 hrs to fix

                  Method setInitialView has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                      private function setInitialView(QueryBuilder $Builder, $ViewType, &$ViewList = array(), &$ParameterList = array())
                      {
                          switch ($ViewType) {
                              case TblWorkSpace::VIEW_TYPE_STUDENT:
                                  $viewGroup = new ViewGroup();
                  Severity: Major
                  Found in Application/Api/Reporting/Individual/ApiIndividual.php - About 2 hrs to fix

                    Method checkInputDebtorSelection has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        private function checkInputDebtorSelection(
                            $Identifier = '',
                            $PersonId = '',
                            $ItemId = '',
                            $DebtorSelectionId = '',
                    Severity: Major
                    Found in Application/Api/Billing/Accounting/ApiDebtorSelection.php - About 2 hrs to fix

                      Method getGradeLanes has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

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

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

                            public function buildPages(TblPerson $tblPerson = null)
                            {
                        
                                $personId = $tblPerson ? $tblPerson->getId() : 0;
                        
                        
                        Severity: Major
                        Found in Application/Api/Education/Certificate/Generator/Repository/GymJ.php - About 2 hrs to fix

                          Method createBillingDocumentWarningPdf has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              public static function createBillingDocumentWarningPdf($Data = array(), $Redirect = true)
                              {
                          
                                  if ($Redirect) {
                                      return \SPHERE\Application\Api\Education\Certificate\Generator\Creator::displayWaitingPage(
                          Severity: Major
                          Found in Application/Api/Document/Creator.php - About 2 hrs to fix

                            Method firstPage has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                private function firstPage($personId)
                                {
                            
                                    $showThirdForeignLanguage = false;
                                    // bei der 10. Klasse soll die 3. FS statt der 2.FS angezeigt

                              Method createAgreementClassListExcel has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

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

                                Method checkFormRelationshipToPerson has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                    public function checkFormRelationshipToPerson(
                                        TblPerson $tblPerson,
                                        $Type,
                                        $To,
                                        TblToPerson $tblToPerson = null,
                                Severity: Major
                                Found in Application/People/Relationship/Service.php - About 2 hrs to fix

                                  Method updateDivisionAppointedDateTaskAsBulk has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      public function updateDivisionAppointedDateTaskAsBulk(
                                          $addList,
                                          $removeList
                                      ) {
                                  
                                  
                                  Severity: Major
                                  Found in Application/Education/Graduation/Evaluation/Service/Data.php - About 2 hrs to fix

                                    Method getMinimumGradeCountPanel has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        private function getMinimumGradeCountPanel($tblMinimumGradeCountList, $isSekII)
                                        {
                                    
                                            if ($tblMinimumGradeCountList) {
                                    
                                    
                                    Severity: Major
                                    Found in Application/Education/Graduation/Gradebook/Frontend.php - About 2 hrs to fix

                                      Method updateLeaveStudentAbiturPoints has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          public function updateLeaveStudentAbiturPoints(
                                              IFormInterface $Form = null,
                                              TblLeaveStudent $tblLeaveStudent,
                                              $Data
                                          ) {
                                      Severity: Major
                                      Found in Application/Education/Certificate/Prepare/Service.php - About 2 hrs to fix

                                        Method frontendHoliday has 63 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            public function frontendHoliday($Data = null)
                                            {
                                        
                                                $Stage = new Stage('Unterrichtsfreie Tage', 'Übersicht');
                                        
                                        
                                        Severity: Major
                                        Found in Application/Education/Lesson/Term/Frontend.php - About 2 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language