\PHPUnit_Framework_Assert

A set of assert methods.

Synopsis

class PHPUnit_Framework_Assert {
  • // members
  • private integer $count;
}

Hierarchy

Violations

PHPMessDetector

Line Rule Message
1862 - 1924 NPathComplexity The method assertEqualXMLStructure() has an NPath complexity of 360. The configured NPath complexity threshold is 200.
2009 - 2057 CyclomaticComplexity The method assertSelectEquals() has a Cyclomatic Complexity of 16. The configured cyclomatic complexity threshold is 10.
2992 - 3038 CyclomaticComplexity The method getObjectAttribute() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10.

Checkstyle

Line Column Severity Message
106 20 error Only one argument is allowed per line in a multi-line function call
112 20 error Only one argument is allowed per line in a multi-line function call
163 166 warning Line exceeds 120 characters; contains 165 characters
200 212 warning Line exceeds 120 characters; contains 211 characters
223 169 warning Line exceeds 120 characters; contains 168 characters
264 215 warning Line exceeds 120 characters; contains 214 characters
347 147 warning Line exceeds 120 characters; contains 146 characters
404 150 warning Line exceeds 120 characters; contains 149 characters
450 127 warning Line exceeds 120 characters; contains 126 characters
495 130 warning Line exceeds 120 characters; contains 129 characters
515 149 warning Line exceeds 120 characters; contains 148 characters
540 193 warning Line exceeds 120 characters; contains 192 characters
565 152 warning Line exceeds 120 characters; contains 151 characters
592 196 warning Line exceeds 120 characters; contains 195 characters
685 124 warning Line exceeds 120 characters; contains 123 characters
720 131 warning Line exceeds 120 characters; contains 130 characters
782 128 warning Line exceeds 120 characters; contains 127 characters
802 123 warning Line exceeds 120 characters; contains 122 characters
829 126 warning Line exceeds 120 characters; contains 125 characters
856 139 warning Line exceeds 120 characters; contains 138 characters
882 142 warning Line exceeds 120 characters; contains 141 characters
1862 148 warning Line exceeds 120 characters; contains 147 characters
2025 9 error Expected "} elseif (...) {\n"; found "} // assert any elements exist if true, assert no elements exist if false\n elseif (...) {\n"
2034 9 error Expected "} elseif (...) {\n"; found "} // check for range number of elements\n elseif (...) {\n"
2559 130 warning Line exceeds 120 characters; contains 129 characters
2635 142 warning Line exceeds 120 characters; contains 141 characters

Members

private

  • $count — integer

Methods

public

History