lancew/DojoList

View on GitHub
tests-old/rss_test.php

Summary

Maintainability
A
0 mins
Test Coverage

The variable $item_array is not named in camelCase.
Open

    function TestAddRssItem()
    {
        $item_array = array('description' => 'test_add');
        //print_r($item_array);
        Add_rss_item($item_array);
Severity: Minor
Found in tests-old/rss_test.php by phpmd

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 $item_array is not named in camelCase.
Open

    function TestAddRssItem()
    {
        $item_array = array('description' => 'test_add');
        //print_r($item_array);
        Add_rss_item($item_array);
Severity: Minor
Found in tests-old/rss_test.php by phpmd

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 $dojo_array is not named in camelCase.
Open

    function TestAddRssItem()
    {
        $item_array = array('description' => 'test_add');
        //print_r($item_array);
        Add_rss_item($item_array);
Severity: Minor
Found in tests-old/rss_test.php by phpmd

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 $dojo_array is not named in camelCase.
Open

    function TestAddRssItem()
    {
        $item_array = array('description' => 'test_add');
        //print_r($item_array);
        Add_rss_item($item_array);
Severity: Minor
Found in tests-old/rss_test.php by phpmd

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 method TestAddRssItem is not named in camelCase.
Open

    function TestAddRssItem()
    {
        $item_array = array('description' => 'test_add');
        //print_r($item_array);
        Add_rss_item($item_array);
Severity: Minor
Found in tests-old/rss_test.php by phpmd

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 TestDeleteOldestRss is not named in camelCase.
Open

    function TestDeleteOldestRss()
    {
        $text = Delete_oldest_rss();
        $this->assertEqual($text, 'data/dojo.rss');

Severity: Minor
Found in tests-old/rss_test.php by phpmd

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 TestLoadRssFile is not named in camelCase.
Open

    function TestLoadRssFile()
    {
        $this->assertTrue(Load_RSS_data());
    }
Severity: Minor
Found in tests-old/rss_test.php by phpmd

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