Showing 5,014 of 7,620 total issues
Method getFirstLetterContent
has 252 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function getFirstLetterContent($Height = '500px')
{
$Slice = new Slice();
if ($this->FieldValue['IsParent']) {
Method createStudentsPrimarySchoolFromFile
has 252 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createStudentsPrimarySchoolFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
File B01.php
has 586 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: lehmann
* Date: 27.06.2017
Method getContent
has 251 lines of code (exceeds 25 allowed). Consider refactoring. Open
public static function getContent()
{
$sliceList = array();
$left = '50%';
Method buildDocument
has 250 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function buildDocument($pageList = array())
{
return (new Frame())->addDocument((new Document())
->addPage((new Page())
->addSlice((new Slice())
Method frontendPlatform
has 250 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendPlatform()
{
$Global = $this->getGlobal();
$this->getDebugger()->screenDump($Global);
$this->getDebugger()->screenDump($_REQUEST);
Method frontendLectureshipShow
has 250 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendLectureshipShow($Visible = false)
{
$Stage = new Stage('Lehraufträge', 'Übersicht');
$Stage->addButton(new Standard('Zurück', '/Transfer/Untis/Import', new ChevronLeft()));
$tblUntisImportLectureshipList = Import::useService()->getUntisImportLectureshipAll(true);
Method getContent
has 249 lines of code (exceeds 25 allowed). Consider refactoring. Open
public static function getContent()
{
$sliceList = array();
$left = '50%';
Method createGroupList
has 249 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createGroupList(TblGroup $tblGroup)
{
$tblPersonList = Group::useService()->getPersonAllByGroup($tblGroup);
$TableContent = array();
Method frontendPersonAddressContent
has 249 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function frontendPersonAddressContent($Id = null)
{
$Stage = new Stage('Adresslisten für Serienbriefe', 'Person mit Adressen auswählen');
$Stage->addButton(new Standard('Zurück', '/Reporting/SerialLetter', new ChevronLeft()));
Function getBasicCourses
has a Cognitive Complexity of 63 (exceeds 5 allowed). Consider refactoring. Open
private function getBasicCourses(TblPerson $tblPerson = null, $IsGradeUnderlined = true)
{
$slice = new Slice();
$personId = $tblPerson ? $tblPerson->getId() : 0;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function getBasicCourses
has a Cognitive Complexity of 63 (exceeds 5 allowed). Consider refactoring. Open
private function getBasicCourses(TblPerson $tblPerson = null, $IsGradeUnderlined = true)
{
$slice = new Slice();
$personId = $tblPerson ? $tblPerson->getId() : 0;
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function getDivisionSelectedStage
has a Cognitive Complexity of 63 (exceeds 5 allowed). Consider refactoring. Open
public function getDivisionSelectedStage(Stage $Stage, $DivisionId, $isTeacher = false)
{
$tblDivision = Division::useService()->getDivisionById($DivisionId);
if ($tblDivision) {
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File Frontend.php
has 578 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 15.03.2018
File Service.php
has 576 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\People\Person;
use SPHERE\Application\Contact\Address\Address;
use SPHERE\Application\Contact\Mail\Mail;
File StudentTransfer.php
has 575 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Api\Document\Standard\Repository\StudentTransfer;
use SPHERE\Application\Api\Document\AbstractDocument;
File Data.php
has 575 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Education\Graduation\Gradebook\Service;
use SPHERE\Application\Education\Graduation\Evaluation\Evaluation;
use SPHERE\Application\Education\Graduation\Evaluation\Service\Entity\TblTask;
Method createInterestedPersonsFromFile
has 244 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createInterestedPersonsFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
Method frontendEditAbsenceMonth
has 244 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendEditAbsenceMonth(
$DivisionId = null,
$Month = null,
$Year = null,
$BasicRoute = '',
Function createBillingDocumentPdf
has a Cognitive Complexity of 62 (exceeds 5 allowed). Consider refactoring. Open
public static function createBillingDocumentPdf($Data = array(), $Redirect = true)
{
if ($Redirect) {
return \SPHERE\Application\Api\Education\Certificate\Generator\Creator::displayWaitingPage(
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"