chamilo/chamilo-lms

View on GitHub
public/main/my_space/progression.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "sql_course" is not in valid camel caps format
Open

$sql_course = "SELECT title, code, id FROM $tbl_course as course ORDER BY title ASC";

Variable "moyenne_test" is not in valid camel caps format
Open

            $moyenne_test = null;

Variable "a_course" is not in valid camel caps format
Open

        echo '<tr><td>'.$a_course['title'].'</td><td> </td><td> </td><td>'.(is_null($moyenne_test) ? '' : $moyenne_test.'%').'</td> </tr>';

Variable "a_course" is not in valid camel caps format
Open

    while ($a_course = Database::fetch_array($result_course)) {

Variable "tbl_course" is not in valid camel caps format
Open

$sql_course = "SELECT title, code, id FROM $tbl_course as course ORDER BY title ASC";

Variable "result_moy_test" is not in valid camel caps format
Open

        $result_moy_test = Database::query($sql_moy_test);

Variable "tbl_course" is not in valid camel caps format
Open

$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);

Variable "tbl_session_course" is not in valid camel caps format
Open

$tbl_session_course = Database::get_main_table(TABLE_MAIN_SESSION_COURSE);

Variable "result_course" is not in valid camel caps format
Open

if (Database::num_rows($result_course) > 0) {

Variable "result_moy_test" is not in valid camel caps format
Open

        while ($moy_test = Database::fetch_array($result_moy_test)) {

Variable "moy_test" is not in valid camel caps format
Open

            $result = $result + $moy_test['score'];

Variable "moy_test" is not in valid camel caps format
Open

            $weighting = $weighting + $moy_test['max_score'];

Variable "moyenne_test" is not in valid camel caps format
Open

        echo '<tr><td>'.$a_course['title'].'</td><td> </td><td> </td><td>'.(is_null($moyenne_test) ? '' : $moyenne_test.'%').'</td> </tr>';

Variable "moyenne_test" is not in valid camel caps format
Open

        echo '<tr><td>'.$a_course['title'].'</td><td> </td><td> </td><td>'.(is_null($moyenne_test) ? '' : $moyenne_test.'%').'</td> </tr>';

Variable "sql_moy_test" is not in valid camel caps format
Open

        $sql_moy_test = "SELECT score,max_score

Variable "tbl_session" is not in valid camel caps format
Open

$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);

Variable "result_course" is not in valid camel caps format
Open

$result_course = Database::query($sql_course);

Variable "sql_course" is not in valid camel caps format
Open

$result_course = Database::query($sql_course);

Variable "result_course" is not in valid camel caps format
Open

    while ($a_course = Database::fetch_array($result_course)) {

Variable "tbl_track_exercice" is not in valid camel caps format
Open

            FROM $tbl_track_exercice

Variable "moyenne_test" is not in valid camel caps format
Open

            $moyenne_test = round(($result * 100) / $weighting);

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_TRACKING;

Variable "moy_test" is not in valid camel caps format
Open

        while ($moy_test = Database::fetch_array($result_moy_test)) {

Variable "a_course" is not in valid camel caps format
Open

            WHERE c_id = ".$a_course['id'];

Variable "tbl_track_exercice" is not in valid camel caps format
Open

$tbl_track_exercice = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);

Variable "sql_moy_test" is not in valid camel caps format
Open

        $result_moy_test = Database::query($sql_moy_test);

Variable "tbl_user" is not in valid camel caps format
Open

$tbl_user = Database::get_main_table(TABLE_MAIN_USER);

There are no issues that match your filters.

Category
Status