lancew/DojoList

View on GitHub
tests-old/rss_test.php

Summary

Maintainability
A
0 mins
Test Coverage

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

Since: PHPMD 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: http://phpmd.org/rules/controversial.txt

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

Since: PHPMD 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: http://phpmd.org/rules/controversial.txt

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

Since: PHPMD 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: http://phpmd.org/rules/controversial.txt

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

Since: PHPMD 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: http://phpmd.org/rules/controversial.txt

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

Since: PHPMD 0.2

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

Example:

class ClassName {
      public function get_name() {
      }
  }

Source: http://phpmd.org/rules/controversial.txt

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

Since: PHPMD 0.2

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

Example:

class ClassName {
      public function get_name() {
      }
  }

Source: http://phpmd.org/rules/controversial.txt

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

Since: PHPMD 0.2

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

Example:

class ClassName {
      public function get_name() {
      }
  }

Source: http://phpmd.org/rules/controversial.txt

There are no issues that match your filters.

Category
Status