Coding Standards Report for Math_Fraction

Type Line Message
Package 60 errors and 18 warnings
/data/pear/pear/Math_Fraction/Fraction.php
error 2 You must use "/**" style comments for a file comment
error 22 There must be exactly one blank line before the tags in class comments
error 25 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
warning 26 Invalid version "0.4.1" in doc comment; consider "Release: " instead
error 26 The @version tag is in the wrong order; the tag follows @licence
error 29 Missing @category tag in class comment
error 29 Missing @license tag in class comment
error 29 Missing @link tag in class comment
error 30 Opening brace of a class must be on the line after the definition
warning 51 Line exceeds 85 characters; contains 99 characters
error 52 Last parameter comment requires a blank newline after it
error 52 The variable names for parameters $num (1) and $den (2) do not align
error 119 There must be exactly one blank line before the tags in function comment
Sum 11 errors and 2 warnings
/data/pear/pear/Math_Fraction/FractionOp.php
error 2 You must use "/**" style comments for a file comment
error 21 File is being unconditionally included; use "require_once" instead
error 26 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
warning 27 Invalid version "0.4.1" in doc comment; consider "Release: " instead
error 27 The @version tag is in the wrong order; the tag follows @licence
error 30 Missing @category tag in class comment
error 30 Missing @license tag in class comment
error 30 Missing @link tag in class comment
error 31 Opening brace of a class must be on the line after the definition
error 33 Doc comment for "$n" missing
error 57 Parameters must appear immediately after the comment
error 58 Last parameter comment requires a blank newline after it
warning 66 Line exceeds 85 characters; contains 101 characters
error 91 Parameters must appear immediately after the comment
error 92 Last parameter comment requires a blank newline after it
error 92 Doc comment for "$return_simplified" missing
warning 100 Line exceeds 85 characters; contains 101 characters
warning 104 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 105 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 106 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 119 Parameters must appear immediately after the comment
error 120 Last parameter comment requires a blank newline after it
error 120 Doc comment for "$return_simplified" missing
warning 128 Line exceeds 85 characters; contains 101 characters
warning 130 Line exceeds 85 characters; contains 117 characters
error 138 Parameters must appear immediately after the comment
error 139 Last parameter comment requires a blank newline after it
error 139 Doc comment for "$return_simplified" missing
warning 147 Line exceeds 85 characters; contains 101 characters
warning 151 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 164 Parameters must appear immediately after the comment
error 165 Last parameter comment requires a blank newline after it
error 165 Doc comment for "$return_simplified" missing
warning 173 Line exceeds 85 characters; contains 101 characters
warning 175 Line exceeds 85 characters; contains 100 characters
error 183 Parameters must appear immediately after the comment
error 183 Missing comment for param "$n1" at position 1
error 184 Last parameter comment requires a blank newline after it
error 184 Missing comment for param "$n2" at position 2
warning 197 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 202 Expected "while (...) {\n"; found "while (...){\n"
warning 203 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 215 Parameters must appear immediately after the comment
error 215 Missing comment for param "$n1" at position 1
error 216 Last parameter comment requires a blank newline after it
error 216 Missing comment for param "$n2" at position 2
error 235 Last parameter comment requires a blank newline after it
error 235 Parameters must appear immediately after the comment
warning 242 Line exceeds 85 characters; contains 94 characters
error 254 Last parameter comment requires a blank newline after it
error 254 Parameters must appear immediately after the comment
error 254 Doc comment var "$n" does not match actual variable name "&$n" at position 1
warning 261 Line exceeds 85 characters; contains 94 characters
error 278 Last parameter comment requires a blank newline after it
error 278 Parameters must appear immediately after the comment
error 278 Doc comment var "$n" does not match actual variable name "&$n" at position 1
error 291 Last parameter comment requires a blank newline after it
error 291 Parameters must appear immediately after the comment
error 291 Missing comment for param "$f" at position 1
error 335 Last parameter comment requires a blank newline after it
error 335 Parameters must appear immediately after the comment
error 335 Missing comment for param "$str" at position 1
error 364 Last parameter comment requires a blank newline after it
error 364 Parameters must appear immediately after the comment
error 364 Missing comment for param "$str" at position 1
Sum 49 errors and 16 warnings