Showing 5,014 of 7,620 total issues
Method filterObjectList
has 116 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function filterObjectList($objectList, $filterYear, $filterLevel, $filterSchoolOption1, $filterSchoolOption2)
{
$resultList = array();
Method updateStudentTransfer
has 116 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function updateStudentTransfer(TblPerson $tblPerson, $Meta)
{
// Student mit Automatischer Schülernummer anlegen falls noch nicht vorhanden
$tblStudent = $tblPerson->getStudent(true);
Method frontendPreview
has 116 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendPreview($PrepareId = null, $Route = 'Teacher')
{
$Stage = new Stage('Noteninformation', 'Klassenübersicht');
File FrontendReadOnly.php
has 359 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 17.12.2018
File RadebeulHalbjahresinformation.php
has 359 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 01.11.2016
Method getForeignLanguages
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
private function getForeignLanguages(TblPerson $tblPerson = null)
{
$slice = new Slice();
$slice
Method frontendSetup
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendSetup($Simulation = true, $Heal = false)
{
$ClassList = get_declared_classes();
self::$ServiceRegister = array_merge(
Method __construct
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function __construct($File, TblYear $tblYear, $Level = null, StudentCourseControl $Control)
{
$this->loadFile($File);
$this->Year = $tblYear;
$this->Level = $Level;
Method createCompaniesNurseryFromFile
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createCompaniesNurseryFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
Method updateStudentGeneral
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function updateStudentGeneral(TblPerson $tblPerson, $Meta)
{
// Student mit Automatischer Schülernummer anlegen falls noch nicht vorhanden
$tblStudent = $tblPerson->getStudent(true);
Method checkCertificateSubjectsForStudents
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function checkCertificateSubjectsForStudents(TblPrepareCertificate $tblPrepare)
{
$subjectList = array();
$resultList = array();
Method getIsFulfilledButNotInGroupByPerson
has 115 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getIsFulfilledButNotInGroupByPerson(
TblPerson $tblPerson,
TblSubject $tblSubject,
TblSubjectGroup $tblSubjectGroup,
TblDivisionSubject $tblDivisionSubject,
Function getSelectBoxDebtor
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
public static function getSelectBoxDebtor(TblPerson $tblPerson)
{
if(($tblRelationshipType = Relationship::useService()->getTypeByName('Beitragszahler'))){
if(($tblRelationshipList = Relationship::useService()->getPersonRelationshipAllByPerson($tblPerson,
- 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 checkInputDebtorSelection
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
private function checkInputDebtorSelection(
$Identifier = '',
$PersonId = '',
$ItemId = '',
$DebtorSelectionId = '',
- 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 getStudentFilterResultListBySerialLetter
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
public function getStudentFilterResultListBySerialLetter(
TblSerialLetter $tblSerialLetter = null,
$FilterGroupList = array(),
$FilterStudentList = array(),
$FilterYearList = array(),
- 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 formCheckListFilter
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
private function formCheckListFilter(
$filterPersonObjectList
) {
$yearAll = array();
- 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 updateDivisionAppointedDateTaskAsBulk
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
public function updateDivisionAppointedDateTaskAsBulk(
$addList,
$removeList
) {
- 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 contentEditTest
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
private function contentEditTest(Stage $Stage, $Id, $Test, $BasicRoute)
{
$tblTest = Evaluation::useService()->getTestById($Id);
if ($tblTest) {
- 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 updatePrepareSetSigner
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
public function updatePrepareSetSigner(
IFormInterface $Stage,
TblPrepareCertificate $tblPrepare,
TblGroup $tblGroup = null,
$Data,
- 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 __toView
has a Cognitive Complexity of 31 (exceeds 5 allowed). Consider refactoring. Open
public function __toView()
{
if (method_exists($this, 'getNameDefinition')) {
$Object = new \ReflectionObject($this);
- 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"