Coding Standards Report for Structures_Graph

Type Line Message
Package 149 errors and 84 warnings
/data/pear/pear/Structures_Graph/Structures/Graph/Manipulator/AcyclicTest.php
error 2 You must use "/**" style comments for a file comment
warning 27 Line exceeds 85 characters; contains 103 characters
error 51 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 51 @author tag comment indented incorrectly. Expected 4 spaces but found 0.
error 52 The @copyright tag is in the wrong order; the tag follows @author
error 52 @copyright tag comment indented incorrectly. Expected 1 spaces but found 0.
error 53 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 54 Missing @category tag in class comment
error 54 Missing @license tag in class comment
error 54 Missing @link tag in class comment
error 55 Opening brace of a class must be on the line after the definition
error 55 @copyright tag must contain a year and the name of the copyright holder
error 57 Doc comment for "$node" missing
error 58 Extra newline found before function comment short description
error 65 Opening brace should be on a new line
warning 66 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 69 Line exceeds 85 characters; contains 125 characters
warning 69 Inline control structures are discouraged
error 77 Doc comment for "$graph" missing
error 78 There must be exactly one blank line before the tags in function comment
error 79 Missing @return tag in function comment
error 80 Opening brace should be on a new line
warning 82 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 83 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 85 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 87 Line exceeds 85 characters; contains 104 characters
error 94 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 95 Line exceeds 85 characters; contains 159 characters
warning 107 Line exceeds 85 characters; contains 96 characters
warning 108 Equals sign not aligned with surrounding assignments; expected 84 spaces but found 1 space
warning 109 Line exceeds 85 characters; contains 107 characters
warning 109 Inline control structures are discouraged
warning 109 Inline control structures are discouraged
warning 112 Line exceeds 85 characters; contains 87 characters
warning 112 Inline control structures are discouraged
error 119 Doc comment for "$graph" missing
error 120 Extra newline found before function comment short description
error 126 Opening brace should be on a new line
warning 128 Line exceeds 85 characters; contains 208 characters
warning 128 Inline control structures are discouraged
warning 129 Line exceeds 85 characters; contains 87 characters
warning 129 Inline control structures are discouraged
Sum 23 errors and 19 warnings
/data/pear/pear/Structures_Graph/Structures/Graph/Manipulator/TopologicalSorter.php
error 2 You must use "/**" style comments for a file comment
warning 27 Line exceeds 85 characters; contains 97 characters
error 53 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 53 @author tag comment indented incorrectly. Expected 4 spaces but found 0.
error 54 The @copyright tag is in the wrong order; the tag follows @author
error 54 @copyright tag comment indented incorrectly. Expected 1 spaces but found 0.
error 55 The @see tag is in the wrong order; the tag follows @link
error 55 @see tag comment indented incorrectly. Expected 7 spaces but found 5.
error 56 @package tag comment indented incorrectly. Expected 3 spaces but found 1.
error 57 Missing @category tag in class comment
error 57 Missing @license tag in class comment
error 57 Missing @link tag in class comment
error 58 Opening brace of a class must be on the line after the definition
error 58 @copyright tag must contain a year and the name of the copyright holder
error 60 Doc comment for "$node" missing
error 61 Extra newline found before function comment short description
error 68 Opening brace should be on a new line
warning 69 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 72 Line exceeds 85 characters; contains 129 characters
warning 72 Inline control structures are discouraged
error 80 Doc comment for "$graph" missing
error 81 There must be exactly one blank line before the tags in function comment
error 82 Missing @return tag in function comment
error 83 Opening brace should be on a new line
warning 85 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
warning 86 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
error 88 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 90 Line exceeds 85 characters; contains 108 characters
error 98 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 99 Line exceeds 85 characters; contains 169 characters
warning 109 Line exceeds 85 characters; contains 112 characters
warning 115 Line exceeds 85 characters; contains 91 characters
warning 115 Inline control structures are discouraged
error 120 Doc comment for "$graph" missing
error 121 Extra newline found before function comment short description
warning 125 Line exceeds 85 characters; contains 97 characters
error 131 Opening brace should be on a new line
warning 133 Line exceeds 85 characters; contains 209 characters
warning 133 Inline control structures are discouraged
warning 134 Line exceeds 85 characters; contains 220 characters
warning 134 Inline control structures are discouraged
warning 140 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 142 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 143 Line exceeds 85 characters; contains 168 characters
warning 143 Inline control structures are discouraged
warning 144 Line exceeds 85 characters; contains 91 characters
warning 144 Equals sign not aligned with surrounding assignments; expected 84 spaces but found 1 space
Sum 26 errors and 21 warnings
/data/pear/pear/Structures_Graph/Structures/Graph/Node.php
error 2 You must use "/**" style comments for a file comment
error 57 Opening brace of a class must be on the line after the definition
error 57 You must use "/**" style comments for a class comment
error 73 Extra newline found before function comment short description
error 78 Opening brace should be on a new line
error 84 Extra newline found before function comment short description
error 90 Opening brace should be on a new line
error 97 Extra newline found before function comment short description
warning 98 Line exceeds 85 characters; contains 95 characters
error 100 Last parameter comment requires a blank newline after it
error 100 Expected 1 space before variable type
error 100 Doc comment var "Set" does not match actual variable name "&$graph" at position 1
error 100 Expected 1 space after the longest type
error 103 Missing @return tag in function comment
error 104 Opening brace should be on a new line
error 111 Extra newline found before function comment short description
warning 114 Line exceeds 85 characters; contains 101 characters
error 119 Opening brace should be on a new line
error 125 Doc comment for "$data" missing
error 126 Extra newline found before function comment short description
warning 129 Line exceeds 85 characters; contains 101 characters
error 134 Opening brace should be on a new line
error 141 Extra newline found before function comment short description
warning 144 Line exceeds 85 characters; contains 107 characters
warning 145 Line exceeds 85 characters; contains 112 characters
error 147 Last parameter comment requires a blank newline after it
error 147 Expected 1 space before variable type
error 147 Doc comment var "Key" does not match actual variable name "$key" at position 1
error 147 Expected 1 space after the longest type
error 151 Opening brace should be on a new line
error 158 Extra newline found before function comment short description
warning 161 Line exceeds 85 characters; contains 107 characters
warning 162 Line exceeds 85 characters; contains 106 characters
warning 163 Line exceeds 85 characters; contains 93 characters
error 165 Expected 1 space before variable type
error 165 Doc comment var "Key" does not match actual variable name "$key" at position 1
error 165 Missing comment for param "Key" at position 1
error 166 Last parameter comment requires a blank newline after it
error 166 Expected 1 space before variable type
error 166 The comments for parameters Key (1) and nullIfNonexistent (2) do not align
error 166 Doc comment var "nullIfNonexistent" does not match actual variable name "$nullIfNonexistent" at position 2
error 171 Opening brace should be on a new line
warning 179 Line exceeds 85 characters; contains 138 characters
error 188 Extra newline found before function comment short description
warning 191 Line exceeds 85 characters; contains 107 characters
warning 192 Line exceeds 85 characters; contains 117 characters
warning 193 Line exceeds 85 characters; contains 119 characters
error 195 Last parameter comment requires a blank newline after it
error 195 Expected 1 space before variable type
error 195 Doc comment var "Key" does not match actual variable name "$key" at position 1
error 195 Missing comment for param "Key" at position 1
error 197 Missing @return tag in function comment
error 198 Opening brace should be on a new line
warning 199 Inline control structures are discouraged
error 205 Extra newline found before function comment short description
warning 208 Line exceeds 85 characters; contains 107 characters
warning 209 Line exceeds 85 characters; contains 115 characters
error 212 Expected 1 space before variable type
error 212 Doc comment var "Key" does not match actual variable name "$key" at position 1
error 212 Missing comment for param "Key" at position 1
error 213 Last parameter comment requires a blank newline after it
error 213 Expected 1 space before variable type
error 213 The comments for parameters Key (1) and Data (2) do not align
error 213 Doc comment var "Data" does not match actual variable name "$data" at position 2
error 213 Missing comment for param "Data" at position 2
error 215 Missing @return tag in function comment
error 216 Opening brace should be on a new line
error 222 Doc comment for "$destinationNode" missing
error 222 Missing @return tag in function comment
error 223 Opening brace should be on a new line
error 230 Extra newline found before function comment short description
warning 233 Line exceeds 85 characters; contains 106 characters
error 235 Last parameter comment requires a blank newline after it
error 235 Expected 1 space before variable type
error 235 Doc comment var "Node" does not match actual variable name "&$destinationNode" at position 1
error 237 Missing @return tag in function comment
error 238 Opening brace should be on a new line
warning 240 Line exceeds 85 characters; contains 209 characters
warning 240 Inline control structures are discouraged
warning 242 Line exceeds 85 characters; contains 174 characters
warning 242 Inline control structures are discouraged
warning 243 Line exceeds 85 characters; contains 192 characters
warning 243 Inline control structures are discouraged
error 255 Extra newline found before function comment short description
error 261 Opening brace should be on a new line
error 267 Doc comment for "$target" missing
error 268 Extra newline found before function comment short description
error 274 Opening brace should be on a new line
warning 275 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 277 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 282 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 299 Extra newline found before function comment short description
warning 302 Line exceeds 85 characters; contains 96 characters
error 308 Opening brace should be on a new line
warning 309 Inline control structures are discouraged
warning 310 Inline control structures are discouraged
warning 311 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 314 Inline control structures are discouraged
error 323 Extra newline found before function comment short description
warning 326 Line exceeds 85 characters; contains 95 characters
error 332 Opening brace should be on a new line
warning 333 Inline control structures are discouraged
Sum 71 errors and 31 warnings
/data/pear/pear/Structures_Graph/Structures/Graph.php
error 2 You must use "/**" style comments for a file comment
error 56 Opening brace of a class must be on the line after the definition
error 56 You must use "/**" style comments for a class comment
error 70 Extra newline found before function comment short description
warning 73 Line exceeds 85 characters; contains 129 characters
error 73 Last parameter comment requires a blank newline after it
error 73 Expected 1 space before variable type
error 73 Doc comment var "Set" does not match actual variable name "$directed" at position 1
error 73 Expected 1 space after the longest type
error 76 Opening brace should be on a new line
error 83 Extra newline found before function comment short description
error 89 Opening brace should be on a new line
error 96 Extra newline found before function comment short description
error 99 Last parameter comment requires a blank newline after it
error 99 Expected 1 space before variable type
error 99 Doc comment var "The" does not match actual variable name "&$newNode" at position 1
error 99 Expected 1 space after the longest type
error 101 Missing @return tag in function comment
error 102 Opening brace should be on a new line
warning 104 Line exceeds 85 characters; contains 194 characters
warning 104 Inline control structures are discouraged
warning 105 Line exceeds 85 characters; contains 133 characters
error 106 Expected "foreach (...) {\n"; found "foreach(...) {\n"
warning 108 Line exceeds 85 characters; contains 115 characters
warning 109 Line exceeds 85 characters; contains 117 characters
warning 112 Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
warning 114 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 116 Equals sign not aligned with surrounding assignments; expected 24 spaces but found 1 space
warning 117 Inline control structures are discouraged
warning 120 Line exceeds 85 characters; contains 180 characters
warning 120 Inline control structures are discouraged
error 129 Extra newline found before function comment short description
error 133 Last parameter comment requires a blank newline after it
error 133 Parameters must appear immediately after the comment
error 133 Expected 1 space before variable type
error 133 Doc comment var "The" does not match actual variable name "&$node" at position 1
error 133 Expected 1 space after the longest type
error 135 Missing @return tag in function comment
error 136 Opening brace should be on a new line
error 142 Extra newline found before function comment short description
warning 143 Line exceeds 85 characters; contains 105 characters
error 149 Opening brace should be on a new line
Sum 29 errors and 13 warnings