Showing 5,014 of 7,620 total issues
Method performExtraAnalysis
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function performExtraAnalysis() {
// La colonne extra contient des infos multiples alors on utilise un tableau d'information
// Par contre l'état (danger ou success) reste global à la cellule et est à gérer au cas par cas
$infos = array();
// Contient Using temporary; Using filesort
Method performExtraAnalysis
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function performExtraAnalysis() {
// La colonne extra contient des infos multiples alors on utilise un tableau d'information
// Par contre l'état (danger ou success) reste global à la cellule et est à gérer au cas par cas
$infos = array();
// Contient Using temporary; Using filesort
File RadebeulLernentwicklungsberichtHj.php
has 318 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Api\Education\Certificate\Generator\Repository\EVSR;
use SPHERE\Application\Api\Education\Certificate\Generator\Certificate;
File RadebeulLernentwicklungsbericht.php
has 318 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 07.11.2016
File B01.php
has 318 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: lehmann
* Date: 23.06.2017
Method frontendStudentShow
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendStudentShow()
{
$Stage = new Stage('Schüler-Accounts', 'Übersicht');
$Stage->addButton(new Standard('Zurück', '/Setting/User', new ChevronLeft()));
Method frontendDestroyPrepare
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendDestroyPrepare($Id = null, $Confirm = false)
{
$Stage = new Stage('Benutzer', 'Löschen');
if ($Id) {
Method frontendAccountExport
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendAccountExport($Time = null)
{
$Stage = new Stage('Account', 'Serienbrief Export');
$Stage->setMessage('Neu erstellte Benutzerzugänge können auf dieser Seite als Excel-Datei für den
Method createInterestedPersonListExcel
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createInterestedPersonListExcel($PersonList, $tblPersonList)
{
if (!empty($PersonList)) {
Method frontendInterestedPersonList
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendInterestedPersonList()
{
$Stage = new Stage('Auswertung', 'Neuanmeldungen/Interessenten');
$tblPersonList = Group::useService()->getPersonAllByGroup(Group::useService()->getGroupByMetaTable('PROSPECT'));
Method getCompanyFilterResultListBySerialLetter
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getCompanyFilterResultListBySerialLetter(
TblSerialLetter $tblSerialLetter = null,
$FilterGroupList = array(),
$FilterCompanyList = array(),
$FilterRelationshipList = array(),
Method updateDivisionTasks
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function updateDivisionTasks(IFormInterface $Stage = null, $Id, $Data = null)
{
/**
* Skip to Frontend
Method getTestAllByTypeAndDivisionAndSubjectAndPeriodAndSubjectGroup
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getTestAllByTypeAndDivisionAndSubjectAndPeriodAndSubjectGroup(
TblDivision $tblDivision,
TblSubject $tblSubject,
TblTestType $tblTestType = null,
TblPeriod $tblPeriod = null,
Method frontendLeaveStudentAbiturPoints
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendLeaveStudentAbiturPoints($Id = null, $Data = null)
{
if (($tblLeaveStudent = Prepare::useService()->getLeaveStudentById($Id))
&& ($tblPerson = $tblLeaveStudent->getServiceTblPerson())
Method frontendDestroyGenerate
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendDestroyGenerate($Id = null, $Confirm = false)
{
$Stage = new Stage('Zeugnisgenerierung', 'Löschen');
Function moveFieldRight
has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring. Open
public function moveFieldRight($WorkSpaceId = null, $ViewType = TblWorkSpace::VIEW_TYPE_ALL)
{
$tblWorkSpace = Individual::useService()->getWorkSpaceById($WorkSpaceId);
if ($tblWorkSpace) {
- 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 moveFieldLeft
has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring. Open
public function moveFieldLeft($WorkSpaceId = null, $ViewType = TblWorkSpace::VIEW_TYPE_ALL)
{
$tblWorkSpace = Individual::useService()->getWorkSpaceById($WorkSpaceId);
if ($tblWorkSpace) {
- 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 getGradeLanesForRadebeul
has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring. Open
protected function getGradeLanesForRadebeul(
$personId,
$TextColor = 'black',
$TextSize = '13px',
$GradeFieldBackgroundColor = 'rgb(224,226,231)',
- 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 getGradeLanesCoswig
has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring. Open
protected function getGradeLanesCoswig(
$personId,
$TextSize = '14px',
$IsGradeUnderlined = false,
$MarginTop = '15px'
- 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 getGradeLanes
has a Cognitive Complexity of 25 (exceeds 5 allowed). Consider refactoring. Open
protected function getGradeLanes($personId, $TextSize = '14px', $IsGradeUnderlined = false, $MarginTop = '15px')
{
$GradeSlice = (new Slice());
- 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"