chamilo/chamilo-lms

View on GitHub
public/main/gradebook/lib/be/gradebookitem.class.php

Summary

Maintainability
A
0 mins
Test Coverage

Method name "GradebookItem::get_item_type" is not in camel caps format
Open

    public function get_item_type();

Missing function doc comment
Open

    public function get_weight();

Missing function doc comment
Open

    public function get_item_type();

Method name "GradebookItem::get_weight" is not in camel caps format
Open

    public function get_weight();

Missing function doc comment
Open

    public function get_icon_name();

Method name "GradebookItem::is_visible" is not in camel caps format
Open

    public function is_visible();

Method name "GradebookItem::get_course_code" is not in camel caps format
Open

    public function get_course_code();

Missing function doc comment
Open

    public function calc_score(?int $studentId = null, ?string $type = null);

Method name "GradebookItem::get_icon_name" is not in camel caps format
Open

    public function get_icon_name();

Missing function doc comment
Open

    public function is_visible();

Method name "GradebookItem::get_name" is not in camel caps format
Open

    public function get_name();

Missing function doc comment
Open

    public function get_description();

Missing function doc comment
Open

    public function getStudentList();

Missing function doc comment
Open

    public function get_course_code();

Missing function doc comment
Open

    public function get_name();

Interface name is not suffixed with "Interface"
Open

interface GradebookItem

Missing function doc comment
Open

    public function setStudentList($list);

Method name "GradebookItem::calc_score" is not in camel caps format
Open

    public function calc_score(?int $studentId = null, ?string $type = null);

Missing function doc comment
Open

    public function get_id();

Method name "GradebookItem::get_description" is not in camel caps format
Open

    public function get_description();

Missing function doc comment
Open

    public function get_date();

Method name "GradebookItem::get_id" is not in camel caps format
Open

    public function get_id();

Method name "GradebookItem::get_date" is not in camel caps format
Open

    public function get_date();

The method get_id is not named in camelCase.
Open

    public function get_id();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_date is not named in camelCase.
Open

    public function get_date();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_item_type is not named in camelCase.
Open

    public function get_item_type();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method calc_score is not named in camelCase.
Open

    public function calc_score(?int $studentId = null, ?string $type = null);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_name is not named in camelCase.
Open

    public function get_name();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_description is not named in camelCase.
Open

    public function get_description();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_icon_name is not named in camelCase.
Open

    public function get_icon_name();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method is_visible is not named in camelCase.
Open

    public function is_visible();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_course_code is not named in camelCase.
Open

    public function get_course_code();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method get_weight is not named in camelCase.
Open

    public function get_weight();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status