Showing 5,014 of 7,620 total issues
Method getLayoutRowsForTestPlanning
has 106 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getLayoutRowsForTestPlanning($testArray)
{
$preview = array();
if (!empty($testArray)) {
$trans = array(
Method updatePrepareExamGrades
has 106 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function updatePrepareExamGrades(
IFormInterface $form,
TblPrepareCertificate $tblPrepare,
TblSubject $tblCurrentSubject,
TblSubject $tblNextSubject = null,
Method frontendCopyDivision
has 106 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendCopyDivision($Id = null, $Division = null, $Level = null)
{
$Stage = new Stage('Klasse', 'Kopieren');
$Stage->addButton(new Standard('Zurück', '/Education/Lesson/Division', new ChevronLeft()));
File FrontendStudentProcess.php
has 342 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
/**
* Created by PhpStorm.
* User: Kauschke
* Date: 19.12.2018
Method frontendScoreGroupSelect
has 105 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendScoreGroupSelect(
$Id = null
) {
$Stage = new Stage('Berechnungsvariante', 'Zensuren-Gruppen auswählen');
Data
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Data extends AbstractData
{
public function setupDatabaseContent()
{
Data
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Data extends AbstractData
{
public function setupDatabaseContent()
{
TblStudent
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class TblStudent extends Element
{
const SERVICE_TBL_PERSON = 'serviceTblPerson';
const ATTR_TBL_PREFIX = 'Prefix';
Data
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Data extends AbstractData
{
public function setupDatabaseContent()
{
Data
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Data extends \SPHERE\Application\Education\Graduation\Gradebook\ScoreRule\Data
{
public function setupDatabaseContent()
{
TblGrade
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class TblGrade extends Element
{
const ATTR_TBL_GRADE_TYPE = 'tblGradeType';
const ATTR_TBL_GRADE_TEXT = 'tblGradeText';
KamenzReportService
has 33 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class KamenzReportService
{
/**
* @param array $Content
File Script.php
has 340 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Common;
use MOC\V\Core\FileSystem\FileSystem;
use SPHERE\System\Extension\Extension;
Method frontendTeacherDivisionList
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendTeacherDivisionList($IsAllYears = false, $IsGroup = false, $YearId = null)
{
$Stage = new Stage('Schülerübersicht', 'Klasse des Schülers Auswählen');
$Stage->addButton(
Method frontendScoreRuleConditionSelect
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendScoreRuleConditionSelect(
$Id = null
) {
$Stage = new Stage('Berechnungsvorschrift', 'Berechnungsvarianten auswählen');
Method setupDatabaseContent
has 104 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function setupDatabaseContent()
{
$hasSubjects = $this->getSubjectAll();
File Frontend.php
has 339 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace SPHERE\Application\Setting\Consumer\Responsibility;
use SPHERE\Application\Contact\Address\Address;
use SPHERE\Application\Corporation\Company\Company;
Method createAgreementClassList
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function createAgreementClassList(TblDivision $tblDivision)
{
$tblPersonList = Division::useService()->getStudentAllByDivision($tblDivision);
$TableContent = array();
Method frontendIdentificationAgb
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function frontendIdentificationAgb($tblAccount, $tblIdentification, $doAccept = 0)
{
$View = new Stage(new MoreItems().' Anmelden', '', $this->getIdentificationEnvironment());
$tblAccount = Account::useService()->getAccountById($tblAccount);
Method doFragmentDiff
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function doFragmentDiff($from_text, $to_text, $delimiters)
{
// Empty delimiter means character-level diffing.
// In such case, use code path optimized for character-level