chamilo/chamilo-lms

View on GitHub
public/main/gradebook/gradebook_statistics.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        $nr_items[$itemsdisplay['display']] = 0;

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

    $keys = array_keys($nr_items);

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

            $highest_ratio = $nr_items[$key];

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

        $bar = ($highest_ratio > 0 ? ($nr_items[$key] / $highest_ratio) * 100 : 0);

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

    $nr_items = [];

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

        if ($nr_items[$key] > $highest_ratio) {

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

        $html .= '<td align="right">'.$nr_items[$key].'</td>';

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

            $nr_items[$display]++;

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

        $bar = ($highest_ratio > 0 ? ($nr_items[$key] / $highest_ratio) * 100 : 0);

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

        if ($nr_items[$key] > $highest_ratio) {

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

            $highest_ratio = $nr_items[$key];

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

        $bar = ($highest_ratio > 0 ? ($nr_items[$key] / $highest_ratio) * 100 : 0);

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

    $highest_ratio = 0;

There are no issues that match your filters.

Category
Status