Showing 5,014 of 7,620 total issues
Method createTeachersFromFile
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createTeachersFromFile(
IFormInterface $Form = null,
UploadedFile $File = null
) {
Method createPersonsFromFile
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createPersonsFromFile(IFormInterface $Form = null, UploadedFile $File = null)
{
/**
* Skip to Frontend
Method getFilterForm
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getFilterForm($Balance, IMessageInterface $message = null, $IsMultiItem = '0')
{
$filterOptions = array(
self::FILTER_CLASS => 'Klasse',
Method createBasketVerificationBulk
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function createBasketVerificationBulk(TblBasket $tblBasket, TblItem $tblItem, TblDivision $tblDivision = null, TblType $tblType = null)
{
$tblGroupList = $this->getGroupListByItem($tblItem);
File BlockII.php
has 391 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 15.03.2018
Method getExaminationsBoard
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function getExaminationsBoard($marginTop, $textSize)
{
$leaderName = ' ';
$leaderDescription = 'Vorsitzende(r)';
Method frontendClassList
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendClassList($DivisionId = null)
{
$Stage = new Stage('Auswertung', 'Klassenliste');
if (null !== $DivisionId) {
Data
has 40 functions (exceeds 20 allowed). Consider refactoring. Open
class Data extends AbstractData
{
/**
* @return false|ViewAddressToPerson[]
Service
has 40 functions (exceeds 20 allowed). Consider refactoring. Open
class Service extends AbstractService
{
/**
* @param bool $doSimulation
TblImport
has 40 functions (exceeds 20 allowed). Consider refactoring. Open
class TblImport extends Element
{
const ATTR_ROW = 'Row';
const ATTR_FIRST_NAME = 'FirstName';
Service
has 40 functions (exceeds 20 allowed). Consider refactoring. Open
class Service extends AbstractService
{
/**
* @return false|ViewPeopleGroupMember[]
Support
has 40 functions (exceeds 20 allowed). Consider refactoring. Open
abstract class Support extends Integration
{
/**
* @param string $Name
Method frontendConfirmPrintCertificate
has 133 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendConfirmPrintCertificate(
$PrepareId = null,
$DivisionId = null,
$IsLeave = false,
$Route = 'All'
File Frontend.php
has 388 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
namespace SPHERE\Application\Corporation\Company;
use SPHERE\Application\Corporation\Company\Service\Entity\ViewCompany;
use SPHERE\Application\Corporation\Group\Group;
Method getSchoolPart
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
public static function getSchoolPart($personId)
{
$sliceList = array();
Method getSignIndividualPart
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
private static function getSignIndividualPart($personId)
{
$textSize = self::TEXT_SIZE;
$fontFamily = self::FONT_FAMILY;
Method frontendProtocol
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
public function frontendProtocol($Filter = null)
{
ini_set('memory_limit', '2G');
require_once( __DIR__.'/Difference/finediff.php' );
Function setFieldValue
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
private function setFieldValue($DataPost)
{
// Text choose decision
//
- 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 countSubject
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
private function countSubject($tblPersonList, $SubjectType)
{
$result = array();
if (empty( $tblPersonList )) {
- 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 addDivisionToAppointedDateTask
has a Cognitive Complexity of 35 (exceeds 5 allowed). Consider refactoring. Open
public function addDivisionToAppointedDateTask(
TblTask $tblTask,
TblDivision $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"