The function get_users() has an NPath complexity of 461440. The configured NPath complexity threshold is 200. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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
The method get_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$row[] = $first;
$row[] = $last;
}
- 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 get_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$first = Display::url($student_data['lastname'], $urlDetails);
$last = Display::url($student_data['firstname'], $urlDetails);
}
- 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 get_users uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$avg_time_spent = null;
$avg_student_score = null;
$avg_student_progress = null;
}
- 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
Missing function doc comment Open
function get_count_users()
- Exclude checks
Missing function doc comment Open
function get_users($from, $limit, $column, $direction)
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
$this_section = SECTION_TRACKING;
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$student_data = api_get_user_info($student_id);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
if (CourseManager::is_user_subscribed_in_course($student_id, $course_code, true)) {
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$student_id,
- Exclude checks
Variable "avg_time_spent" is not in valid camel caps format Open
$avg_time_spent = $avg_time_spent / $nb_courses_student;
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
$export_csv = isset($_GET['export']) && 'csv' === $_GET['export'] ? true : false;
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
if (CourseManager::is_user_subscribed_in_course($student_id, $course_code, true)) {
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
$avg_student_score += $my_average;
- Exclude checks
Variable "my_average" is not in valid camel caps format Open
$my_average = Tracking::get_avg_student_score($student_id, $course_code);
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
global $export_csv;
- Exclude checks
Variable "coach_id" is not in valid camel caps format Open
$coach_id = api_get_user_id();
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
foreach ($students as $student_data) {
- Exclude checks
Consider putting global function "get_count_users" in a static class Open
function get_count_users()
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$student_id = $student_data['user_id'];
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
$student_data = api_get_user_info($student_id);
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
$is_western_name_order = api_is_western_name_order();
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$courses = Tracking :: get_course_list_in_session_from_student($student_id, $sessionId);
- Exclude checks
Variable "avg_time_spent" is not in valid camel caps format Open
$avg_time_spent = $avg_time_spent / $nb_courses_student;
- Exclude checks
Variable "avg_time_spent" is not in valid camel caps format Open
$avg_time_spent += Tracking::get_time_spent_on_the_course(
- Exclude checks
Variable "nb_courses_student" is not in valid camel caps format Open
$nb_courses_student++;
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
$student_id = $student_data['user_id'];
- Exclude checks
Variable "nb_courses_student" is not in valid camel caps format Open
if ($nb_courses_student > 0) {
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
$avg_student_progress = $avg_student_progress / $nb_courses_student;
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
$is_western_name_order = api_is_western_name_order(PERSON_NAME_DATA_EXPORT);
- Exclude checks
Variable "nb_courses_student" is not in valid camel caps format Open
$avg_time_spent = $avg_time_spent / $nb_courses_student;
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
if ($is_western_name_order) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
foreach ($courses as $course_code) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$courseInfo = api_get_course_info($course_code);
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$my_average = Tracking::get_avg_student_score($student_id, $course_code);
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
$avg_student_progress += Tracking::get_avg_student_progress($student_id, $course_code);
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
$avg_student_progress = $avg_student_progress / $nb_courses_student;
- Exclude checks
Variable "first_date" is not in valid camel caps format Open
$first_date = Tracking::get_first_connection_date($student_id);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$my_average = Tracking::get_avg_student_score($student_id, $course_code);
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
if ($export_csv) {
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$first_date = Tracking::get_first_connection_date($student_id);
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
$webCodePath.'my_space/user_edit.php?user_id='.$student_id
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
$is_western_name_order = api_is_western_name_order();
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
($is_western_name_order xor $sort_by_first_name) ? 1 : 0,
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Export::arrayToCsv($csv_content, 'reporting_student_list');
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
$avg_student_score = $avg_student_score / $nb_courses_student;
- Exclude checks
Variable "avg_time_spent" is not in valid camel caps format Open
$avg_time_spent = null;
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
$last = Display::url($student_data['firstname'], $urlDetails);
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
if ($export_csv) {
- Exclude checks
Variable "string_date" is not in valid camel caps format Open
$string_date = Tracking::get_last_connection_date($student_id, true);
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
['id' => 'details_'.$student_data['username']]
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
if ($export_csv) {
- Exclude checks
Variable "csv_header" is not in valid camel caps format Open
$csv_header[] = [
- Exclude checks
Variable "csv_header" is not in valid camel caps format Open
$csv_content = array_merge($csv_header, $content);
- Exclude checks
Variable "avg_time_spent" is not in valid camel caps format Open
$avg_time_spent = $avg_student_score = $avg_student_progress = 0;
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
$avg_time_spent = $avg_student_score = $avg_student_progress = 0;
- Exclude checks
Variable "nb_courses_student" is not in valid camel caps format Open
$nb_courses_student = 0;
- Exclude checks
Variable "my_average" is not in valid camel caps format Open
$avg_student_score += $my_average;
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
$avg_student_progress = null;
- Exclude checks
Variable "coach_id" is not in valid camel caps format Open
$urlDetails = $url."?student=$student_id&id_coach=$coach_id&id_session=$sessionId";
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
$csv_content = array_merge($csv_header, $content);
- Exclude checks
Consider putting global function "get_users" in a static class Open
function get_users($from, $limit, $column, $direction)
- Exclude checks
Variable "all_datas" is not in valid camel caps format Open
$all_datas = [];
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$avg_student_progress += Tracking::get_avg_student_progress($student_id, $course_code);
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
$avg_student_score = $avg_student_score / $nb_courses_student;
- Exclude checks
Variable "nb_courses_student" is not in valid camel caps format Open
$avg_student_score = $avg_student_score / $nb_courses_student;
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$urlDetails = $url."?student=$student_id";
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
$first = Display::url($student_data['firstname'], $urlDetails);
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
Display::getMdiIcon(ActionIcon::VIEW_DETAILS, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Details').' '.$student_data['username']),
- Exclude checks
Variable "all_datas" is not in valid camel caps format Open
$all_datas[] = $row;
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
$menu_items = [
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
if ($is_western_name_order) {
- Exclude checks
Variable "csv_header" is not in valid camel caps format Open
$csv_header[] = [
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
$avg_time_spent = $avg_student_score = $avg_student_progress = 0;
- Exclude checks
Variable "my_average" is not in valid camel caps format Open
if (is_numeric($my_average)) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$avg_student_progress += Tracking::get_avg_student_progress($student_id, $course_code);
- Exclude checks
Variable "nb_courses_student" is not in valid camel caps format Open
$avg_student_progress = $avg_student_progress / $nb_courses_student;
- Exclude checks
Variable "first_date" is not in valid camel caps format Open
$row[] = $first_date;
- Exclude checks
Variable "sort_by_first_name" is not in valid camel caps format Open
$sort_by_first_name = api_sort_by_first_name();
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
$avg_student_score = null;
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
$first = Display::url($student_data['lastname'], $urlDetails);
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
if ($export_csv) {
- Exclude checks
Variable "is_western_name_order" is not in valid camel caps format Open
if ($is_western_name_order) {
- Exclude checks
Variable "student_data" is not in valid camel caps format Open
$last = Display::url($student_data['lastname'], $urlDetails);
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
$actionsLeft .= implode('', $menu_items);
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$string_date = Tracking::get_last_connection_date($student_id, true);
- Exclude checks
Variable "string_date" is not in valid camel caps format Open
$row[] = $string_date;
- Exclude checks
Variable "sort_by_first_name" is not in valid camel caps format Open
($is_western_name_order xor $sort_by_first_name) ? 1 : 0,
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$urlDetails = $url."?student=$student_id&id_coach=$coach_id&id_session=$sessionId";
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
$webCodePath.'my_space/user_edit.php?user_id='.$student_id
- Exclude checks
Variable "all_datas" is not in valid camel caps format Open
return $all_datas;
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
$webCodePath.'my_space/user_edit.php?user_id='.$student_id
- Exclude checks
The variable $avg_time_spent is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $nb_courses_student is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $course_code is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_score is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_score is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_progress is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_score is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_progress is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $my_average is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_time_spent is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $string_date is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $course_code is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $my_average is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $nb_courses_student is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $nb_courses_student is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_time_spent is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_score is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $coach_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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_csv is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $first_date is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $course_code is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_score is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $coach_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_time_spent is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $my_average is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_progress is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $course_code is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $is_western_name_order is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_time_spent is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_progress is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $all_datas is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $nb_courses_student is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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_csv is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_id is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $nb_courses_student is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $is_western_name_order is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $first_date is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $all_datas is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $all_datas is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $course_code is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $avg_student_progress is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $nb_courses_student is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $student_data is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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 $string_date is not named in camelCase. Open
function get_users($from, $limit, $column, $direction)
{
global $export_csv;
$active = isset($_GET['active']) ? $_GET['active'] : 1;
$keyword = isset($_GET['keyword']) ? Security::remove_XSS($_GET['keyword']) : null;
- 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();
}
}