lancew/DojoList

View on GitHub
tests-old/dojo_test.php

Summary

Maintainability
A
0 mins
Test Coverage

The method testFind_dojo_Alresford is not named in camelCase.
Open

    function testFind_dojo_Alresford()
    {
        $this->assertTrue(Find_dojo('Alresford Judo Club'));
    }
Severity: Minor
Found in tests-old/dojo_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 testFind_Dojo_all is not named in camelCase.
Open

    function testFind_Dojo_all()
    {
        $this->assertTrue(Find_Dojo_all());
    }
Severity: Minor
Found in tests-old/dojo_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 testFind_dojo_doesnotexist is not named in camelCase.
Open

    function testFind_dojo_doesnotexist()
    {
        $this->assertFalse(Find_dojo('fake'));
    }
Severity: Minor
Found in tests-old/dojo_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 testFind_dojo_AlresfordDetails is not named in camelCase.
Open

    function testFind_dojo_AlresfordDetails()
    {
        $xml = Find_dojo('Alresford Judo Club');
        $text = $xml->DojoName;
        $this->assertEqual($text, 'Alresford Judo Club');
Severity: Minor
Found in tests-old/dojo_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