The function processStudentList() has an NPath complexity of 198144. The configured NPath complexity threshold is 200. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
NPathComplexity
Since: 0.1
The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.
Example
class Foo {
function bar() {
// lots of complicated code
}
}
Source https://phpmd.org/rules/codesize.html#npathcomplexity
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Username');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Fail');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$line' which will lead to PHP notices. Open
$line++;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$row_not_global' which will lead to PHP notices. Open
$row_not_global['exercise'] = $exercise->getTitle();
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$row_not_global' which will lead to PHP notices. Open
$row_not_global['results'][] = $row['array'];
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Status');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Courses');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Attempts');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Not taken');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('User');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$row_not_global' which will lead to PHP notices. Open
$export_array[] = $row_not_global;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Percentage');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$list[] = $headers;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$row_not_global' which will lead to PHP notices. Open
$row_not_global['usernames'][] = $row['username'];
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Taken');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$row_not_global' which will lead to PHP notices. Open
$row_not_global['users'][] = $row['user'];
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Tests');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Total learners');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = get_lang('Tests');
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$list[] = $headers;
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$headers' which will lead to PHP notices. Open
$headers[] = sprintf(get_lang('Pass minimum %s'), $filter_score).'%';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
The method processStudentList uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$userRow .= '<td style="background-color:#FC9A9E" >';
$userRow .= get_lang('Fail').'</td>';
$tempArray[] = get_lang('Fail');
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method processStudentList uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$score = '-';
$userRow .= '<td>';
$userRow .= '-';
$tempArray[] = '-';
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method export_complete_report_xls uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$headers[] = get_lang('Tests');
$headers[] = get_lang('User');
$headers[] = get_lang('Username');
$headers[] = get_lang('Percentage');
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method processStudentList uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$studentResultContent[] = $row;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method processStudentList uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$html .= '<td>';
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method processStudentList uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$students = CourseManager::get_student_list_from_course_code(
$courseInfo['code'],
true,
$sessionId,
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method processStudentList uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$html .= '<td style="background-color:#FCE89A" >';
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
Avoid unused local variables such as '$line'. Open
$line++;
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
The parameter $filter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Variable "is_allowedToTrack" is not in valid camel caps format Open
if (!$is_allowedToTrack) {
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = array_merge(
- Exclude checks
Missing parameter name Open
* @param $b
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$headers[] = sprintf(get_lang('Pass minimum %s'), $filter_score).'%';
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global[] = $globalRow;
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$actionsRight .= '<a href="'.api_get_self().'?export=1&score='.$filter_score.'&exercise_id='.$exerciseId.'">'.
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$filter_score,
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$filter_score,
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$filter_score,
- Exclude checks
Missing parameter name Open
* @param $a
- Exclude checks
Consider putting global function "export_complete_report_xls" in a static class Open
function export_complete_report_xls($filename, $array)
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
global $global, $filter_score;
- Exclude checks
Variable "result_item" is not in valid camel caps format Open
foreach ($row['results'][$key] as $result_item) {
- Exclude checks
Missing function doc comment Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
- Exclude checks
Variable "total_with_parameter_score" is not in valid camel caps format Open
$total_with_parameter_score++;
- Exclude checks
Variable "total_with_parameter_score" is not in valid camel caps format Open
if (!empty($total_with_parameter_score)) {
- Exclude checks
Variable "export_array" is not in valid camel caps format Open
$export_array_global = $export_array = [];
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global,
- Exclude checks
Variable "total_with_parameter_score" is not in valid camel caps format Open
$html .= $fail = $taken - $total_with_parameter_score;
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
api_get_self().'?'.api_get_cidreq().'&export=1&score='.$filter_score.'&exercise_id='.$exerciseId
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = $export_array = [];
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$filter_score,
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global,
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
- Exclude checks
Variable "s_css_class" is not in valid camel caps format Open
$s_css_class = null;
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$filter_score,
- Exclude checks
Variable "row_not_global" is not in valid camel caps format Open
$row_not_global['exercise'] = $exercise->getTitle();
- Exclude checks
Variable "not_taken" is not in valid camel caps format Open
$globalRow[] = $not_taken;
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = array_merge(
- Exclude checks
Consider putting global function "sort_user" in a static class Open
function sort_user($a, $b)
- Exclude checks
Variable "row_not_global" is not in valid camel caps format Open
$row_not_global['users'][] = $row['user'];
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
$this_section = SECTION_TRACKING;
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$form->setDefaults(['score' => $filter_score]);
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = array_merge($export_array_global, $result['export_array_global']);
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
if ($percentageScore >= $filter_score) {
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$filter_score = isset($_REQUEST['score']) ? intval($_REQUEST['score']) : 70;
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
$html .= '<th>'.sprintf(get_lang('Pass minimum %s'), $filter_score).'%</th>';
- Exclude checks
Consider putting global function "processStudentList" in a static class Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
- Exclude checks
Variable "total_with_parameter_score" is not in valid camel caps format Open
$total_with_parameter_score = 0;
- Exclude checks
Variable "export_array" is not in valid camel caps format Open
$export_array[] = $row_not_global;
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = array_merge(
- Exclude checks
Variable "export_array" is not in valid camel caps format Open
$export_array = [];
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
if ($percentageScore >= $filter_score) {
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global,
- Exclude checks
Variable "result_item" is not in valid camel caps format Open
$listItem[] = html_entity_decode(strip_tags($result_item));
- Exclude checks
Variable "row_not_global" is not in valid camel caps format Open
$export_array[] = $row_not_global;
- Exclude checks
Variable "filter_score" is not in valid camel caps format Open
echo '<h3>'.sprintf(get_lang('Filtering with score %s'), $filter_score).'%</h3>';
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global,
- Exclude checks
Variable "not_taken" is not in valid camel caps format Open
$html .= $not_taken = $totalStudents - $taken;
- Exclude checks
Variable "is_allowedToTrack" is not in valid camel caps format Open
$is_allowedToTrack = api_is_course_admin() || api_is_platform_admin(true) || api_is_session_general_coach();
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = array_merge(
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
export_complete_report_xls($filename, $export_array_global);
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
'export_array_global' => $global ? $export_array_global : $export_array,
- Exclude checks
Variable "export_array" is not in valid camel caps format Open
'export_array_global' => $global ? $export_array_global : $export_array,
- Exclude checks
Variable "nb_menu_items" is not in valid camel caps format Open
$nb_menu_items = count($menuItems);
- Exclude checks
Variable "total_with_parameter_score" is not in valid camel caps format Open
$html .= $total_with_parameter_score;
- Exclude checks
Variable "nb_menu_items" is not in valid camel caps format Open
if ($nb_menu_items > 1) {
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = array_merge($export_array_global, $result['export_array_global']);
- Exclude checks
Variable "export_array_global" is not in valid camel caps format Open
$export_array_global = [];
- Exclude checks
Variable "row_not_global" is not in valid camel caps format Open
$row_not_global['results'][] = $row['array'];
- Exclude checks
Variable "row_not_global" is not in valid camel caps format Open
$row_not_global['usernames'][] = $row['username'];
- Exclude checks
Variable "total_with_parameter_score" is not in valid camel caps format Open
$globalRow[] = $total_with_parameter_score;
- Exclude checks
The variable $export_array is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $export_array is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_with_parameter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $export_array_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_with_parameter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $row_not_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filter_score is not named in camelCase. Open
function export_complete_report_xls($filename, $array)
{
global $global, $filter_score;
$list = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $result_item is not named in camelCase. Open
function export_complete_report_xls($filename, $array)
{
global $global, $filter_score;
$list = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_with_parameter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_with_parameter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $export_array_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $not_taken is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $row_not_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $export_array_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $row_not_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $export_array is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filter_score is not named in camelCase. Open
function export_complete_report_xls($filename, $array)
{
global $global, $filter_score;
$list = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $result_item is not named in camelCase. Open
function export_complete_report_xls($filename, $array)
{
global $global, $filter_score;
$list = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $not_taken is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $row_not_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_with_parameter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $total_with_parameter_score is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $row_not_global is not named in camelCase. Open
function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo, $sessionId, $newSessionList)
{
/*if ((isset($exercise['id']) && empty($exercise['id'])) ||
!isset($exercise['id'])
) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}