Coding Standards Report for Image_GIS2

Type Line Message
Package 373 errors and 21 warnings
/data/pear/pear/Image_GIS2/GIS2/Parser/E00.php
error 2 You must use "/**" style comments for a file comment
error 25 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 26 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 27 Line exceeds 85 characters; contains 123 characters
error 27 The @copyright tag is in the wrong order; the tag follows @author
error 27 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 28 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 28 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 29 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 30 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 31 @copyright tag must contain a year and the name of the copyright holder
error 31 Missing @link tag in class comment
error 32 Opening brace of a class must be on the line after the definition
error 36 Expected 1 space before variable type
error 36 Missing comment for param "$cache" at position 1
error 37 Last parameter comment requires a blank newline after it
error 37 Expected 1 space before variable type
error 37 Missing comment for param "$debug" at position 2
error 40 Opening brace should be on a new line
error 47 Expected 1 space before variable type
error 47 Missing comment for param "$dataFile" at position 1
error 48 Last parameter comment requires a blank newline after it
error 48 Expected 1 space before variable type
error 48 The comments for parameters $dataFile (1) and $color (2) do not align
error 48 Missing comment for param "$color" at position 2
error 52 Opening brace should be on a new line
error 59 Expected "while (...) {\n"; found "while(...) {\n"
warning 63 Line exceeds 85 characters; contains 129 characters
error 70 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
warning 71 Line exceeds 85 characters; contains 192 characters
error 91 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
warning 92 Line exceeds 85 characters; contains 124 characters
error 104 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
error 106 Space after opening parenthesis of function call prohibited
error 109 Space before closing parenthesis of function call prohibited
error 115 Expected "} else if (...) {\n"; found "}\n\n else if (...) {\n"
Sum 33 errors and 4 warnings
/data/pear/pear/Image_GIS2/GIS2/LineSet.php
error 2 You must use "/**" style comments for a file comment
error 22 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 22 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 23 Line exceeds 85 characters; contains 123 characters
error 23 The @copyright tag is in the wrong order; the tag follows @author
error 23 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 24 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 24 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 25 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 26 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 27 @copyright tag must contain a year and the name of the copyright holder
error 27 Missing @link tag in class comment
error 28 Opening brace of a class must be on the line after the definition
error 52 Last parameter comment requires a blank newline after it
error 52 Expected 1 space before variable type
error 52 Missing comment for param "$color" at position 1
error 55 Opening brace should be on a new line
error 62 Expected 1 space before variable type
error 62 Missing comment for param "$x1" at position 1
error 63 Expected 1 space before variable type
error 63 Missing comment for param "$y1" at position 2
error 64 Expected 1 space before variable type
error 64 Missing comment for param "$x2" at position 3
error 65 Last parameter comment requires a blank newline after it
error 65 Expected 1 space before variable type
error 65 Missing comment for param "$y2" at position 4
error 67 Missing @return tag in function comment
error 68 Opening brace should be on a new line
Sum 27 errors and 1 warnings
/data/pear/pear/Image_GIS2/GIS2/Parser.php
error 2 You must use "/**" style comments for a file comment
error 25 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 30 @copyright tag must contain a year and the name of the copyright holder
error 30 Missing @link tag in class comment
error 31 Opening brace of a class must be on the line after the definition
error 37 TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
error 63 Expected 1 space before variable type
error 63 Missing comment for param "$cache" at position 1
error 64 Last parameter comment requires a blank newline after it
error 64 Expected 1 space before variable type
error 64 Missing comment for param "$debug" at position 2
error 67 Opening brace should be on a new line
error 78 Expected 1 space before variable type
error 78 Missing comment for param "$parser" at position 1
error 79 Expected 1 space before variable type
error 79 The comments for parameters $parser (1) and $cache (2) do not align
error 79 Missing comment for param "$cache" at position 2
error 80 Last parameter comment requires a blank newline after it
error 80 Expected 1 space before variable type
error 80 Missing comment for param "$debug" at position 3
error 84 Opening brace should be on a new line
error 96 Expected 1 space before variable type
error 96 Missing comment for param "$dataFile" at position 1
error 97 Last parameter comment requires a blank newline after it
error 97 Expected 1 space before variable type
error 97 The comments for parameters $dataFile (1) and $color (2) do not align
error 97 Missing comment for param "$color" at position 2
error 99 Missing @return tag in function comment
error 100 Opening brace should be on a new line
error 110 Opening brace should be on a new line
error 137 Expected 1 space before variable type
error 137 Missing comment for param "$dataFile" at position 1
error 138 Last parameter comment requires a blank newline after it
error 138 Expected 1 space before variable type
error 138 The comments for parameters $dataFile (1) and $color (2) do not align
error 138 Missing comment for param "$color" at position 2
Sum 43 errors and 1 warnings
/data/pear/pear/Image_GIS2/GIS2/Renderer.php
error 2 You must use "/**" style comments for a file comment
error 24 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 24 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 31 @copyright tag must contain a year and the name of the copyright holder
error 31 Missing @link tag in class comment
error 32 Opening brace of a class must be on the line after the definition
error 67 Expected 1 space before variable type
error 67 Missing comment for param "$width" at position 1
error 68 Expected 1 space before variable type
error 68 The comments for parameters $width (1) and $height (2) do not align
error 68 Missing comment for param "$height" at position 2
error 69 Last parameter comment requires a blank newline after it
error 69 Expected 1 space before variable type
error 69 The comments for parameters $height (2) and $debug (3) do not align
error 69 Missing comment for param "$debug" at position 3
error 72 Opening brace should be on a new line
warning 73 Equals sign not aligned correctly; expected 1 space but found 2 spaces
error 87 Closing brace indented incorrectly; expected 4 spaces, found 3
error 92 Expected 1 space before variable type
error 92 Missing comment for param "$renderer" at position 1
error 93 Expected 1 space before variable type
error 93 The comments for parameters $renderer (1) and $width (2) do not align
error 93 Missing comment for param "$width" at position 2
error 94 Expected 1 space before variable type
error 94 The comments for parameters $width (2) and $height (3) do not align
error 94 Missing comment for param "$height" at position 3
error 95 Last parameter comment requires a blank newline after it
error 95 Expected 1 space before variable type
error 95 The comments for parameters $height (3) and $debug (4) do not align
error 95 Missing comment for param "$debug" at position 4
error 99 Opening brace should be on a new line
error 100 "include_once" is a statement, not a function; no parentheses are required
error 112 Expected 1 space before variable type
error 112 Missing comment for param "$x1" at position 1
error 113 Expected 1 space before variable type
error 113 Missing comment for param "$y1" at position 2
error 114 Expected 1 space before variable type
error 114 Missing comment for param "$x2" at position 3
error 115 Expected 1 space before variable type
error 115 Missing comment for param "$y2" at position 4
error 116 Last parameter comment requires a blank newline after it
error 116 Expected 1 space before variable type
error 116 The comments for parameters $y2 (4) and $color (5) do not align
error 116 Missing comment for param "$color" at position 5
error 118 Missing @return tag in function comment
error 119 Opening brace should be on a new line
warning 129 Line exceeds 85 characters; contains 92 characters
warning 130 Line exceeds 85 characters; contains 92 characters
warning 131 Line exceeds 85 characters; contains 92 characters
warning 132 Line exceeds 85 characters; contains 92 characters
warning 145 Line exceeds 85 characters; contains 86 characters
error 158 Opening brace should be on a new line
error 170 Expected 1 space before variable type
error 170 Missing comment for param "$polarCoordinate" at position 1
error 171 Last parameter comment requires a blank newline after it
error 171 Expected 1 space before variable type
error 171 The comments for parameters $polarCoordinate (1) and $direction (2) do not align
error 171 Missing comment for param "$direction" at position 2
error 173 Missing @return tag in function comment
error 174 Opening brace should be on a new line
error 176 Line indented incorrectly; expected 8 spaces, found 12
warning 178 Line exceeds 85 characters; contains 90 characters
error 180 Break statement indented incorrectly; expected 16 spaces, found 12
error 182 Line indented incorrectly; expected 8 spaces, found 12
warning 184 Line exceeds 85 characters; contains 91 characters
error 186 Break statement indented incorrectly; expected 16 spaces, found 12
error 193 Last parameter comment requires a blank newline after it
error 193 Expected 1 space before variable type
error 193 Missing comment for param "$lineSets" at position 1
error 195 Missing @return tag in function comment
error 196 Opening brace should be on a new line
warning 215 Line exceeds 85 characters; contains 96 characters
error 223 Expected 1 space before variable type
error 223 Missing comment for param "$x1" at position 1
error 224 Expected 1 space before variable type
error 224 Missing comment for param "$x2" at position 2
error 225 Expected 1 space before variable type
error 225 Missing comment for param "$y1" at position 3
error 226 Last parameter comment requires a blank newline after it
error 226 Expected 1 space before variable type
error 226 Missing comment for param "$y2" at position 4
error 228 Missing @return tag in function comment
error 229 Opening brace should be on a new line
error 238 Expected 1 space before variable type
error 238 Missing comment for param "$x1" at position 1
error 239 Expected 1 space before variable type
error 239 Missing comment for param "$y1" at position 2
error 240 Expected 1 space before variable type
error 240 Missing comment for param "$x2" at position 3
error 241 Expected 1 space before variable type
error 241 Missing comment for param "$y2" at position 4
error 242 Expected 1 space before variable type
error 242 The comments for parameters $y2 (4) and $r (5) do not align
error 242 Missing comment for param "$r" at position 5
error 243 Expected 1 space before variable type
error 243 Missing comment for param "$g" at position 6
error 244 Last parameter comment requires a blank newline after it
error 244 Expected 1 space before variable type
error 244 Missing comment for param "$b" at position 7
error 247 Missing @return tag in function comment
error 253 Last parameter comment requires a blank newline after it
error 253 Expected 1 space before variable type
error 253 Missing comment for param "$filename" at position 1
error 265 Missing @return tag in function comment
Sum 102 errors and 10 warnings
/data/pear/pear/Image_GIS2/GIS2/Renderer/GD.php
error 2 You must use "/**" style comments for a file comment
error 24 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 24 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 30 @copyright tag must contain a year and the name of the copyright holder
error 30 Missing @link tag in class comment
error 31 Opening brace of a class must be on the line after the definition
error 37 Private member variable "image" must be prefixed with an underscore
error 44 Private member variable "palette" must be prefixed with an underscore
error 49 Expected 1 space before variable type
error 49 Missing comment for param "$width" at position 1
error 50 Expected 1 space before variable type
error 50 Doc comment var "$sizyY" does not match actual variable name "$height" at position 2
error 50 Missing comment for param "$sizyY" at position 2
error 51 Last parameter comment requires a blank newline after it
error 51 Expected 1 space before variable type
error 51 Missing comment for param "$debug" at position 3
error 54 Opening brace should be on a new line
error 73 Expected 1 space before variable type
error 73 Missing comment for param "$x1" at position 1
error 74 Expected 1 space before variable type
error 74 Missing comment for param "$y1" at position 2
error 75 Expected 1 space before variable type
error 75 Missing comment for param "$x2" at position 3
error 76 Expected 1 space before variable type
error 76 Missing comment for param "$y2" at position 4
error 77 Expected 1 space before variable type
error 77 The comments for parameters $y2 (4) and $r (5) do not align
error 77 Missing comment for param "$r" at position 5
error 78 Expected 1 space before variable type
error 78 Missing comment for param "$g" at position 6
error 79 Last parameter comment requires a blank newline after it
error 79 Expected 1 space before variable type
error 79 Missing comment for param "$b" at position 7
error 81 Missing @return tag in function comment
error 82 Opening brace should be on a new line
warning 84 Line exceeds 85 characters; contains 86 characters
error 87 Space after opening parenthesis of function call prohibited
error 94 Space before closing parenthesis of function call prohibited
error 100 Last parameter comment requires a blank newline after it
error 100 Expected 1 space before variable type
error 100 Missing comment for param "$filename" at position 1
error 104 Opening brace should be on a new line
error 112 Missing @return tag in function comment
error 113 Opening brace should be on a new line
Sum 50 errors and 2 warnings
/data/pear/pear/Image_GIS2/GIS2/Renderer/SVG.php
error 2 You must use "/**" style comments for a file comment
error 25 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 25 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 26 Line exceeds 85 characters; contains 123 characters
error 26 The @copyright tag is in the wrong order; the tag follows @author
error 26 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 27 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 27 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 28 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 29 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 30 @copyright tag must contain a year and the name of the copyright holder
error 30 Missing @link tag in class comment
error 31 Opening brace of a class must be on the line after the definition
error 37 Private member variable "svg" must be prefixed with an underscore
error 44 Private member variable "svgGroups" must be prefixed with an underscore
error 49 Expected 1 space before variable type
error 49 Missing comment for param "$width" at position 1
error 50 Expected 1 space before variable type
error 50 Doc comment var "$sizyY" does not match actual variable name "$height" at position 2
error 50 Missing comment for param "$sizyY" at position 2
error 51 Last parameter comment requires a blank newline after it
error 51 Expected 1 space before variable type
error 51 Missing comment for param "$debug" at position 3
error 54 Opening brace should be on a new line
error 69 Expected 1 space before variable type
error 69 Missing comment for param "$x1" at position 1
error 70 Expected 1 space before variable type
error 70 Missing comment for param "$y1" at position 2
error 71 Expected 1 space before variable type
error 71 Missing comment for param "$x2" at position 3
error 72 Expected 1 space before variable type
error 72 Missing comment for param "$y2" at position 4
error 73 Expected 1 space before variable type
error 73 The comments for parameters $y2 (4) and $r (5) do not align
error 73 Missing comment for param "$r" at position 5
error 74 Expected 1 space before variable type
error 74 Missing comment for param "$g" at position 6
error 75 Last parameter comment requires a blank newline after it
error 75 Expected 1 space before variable type
error 75 Missing comment for param "$b" at position 7
error 77 Missing @return tag in function comment
error 78 Opening brace should be on a new line
error 84 Space after opening parenthesis of function call prohibited
error 90 Space before closing parenthesis of function call prohibited
error 112 Last parameter comment requires a blank newline after it
error 112 Expected 1 space before variable type
error 112 Missing comment for param "$filename" at position 1
error 116 Opening brace should be on a new line
error 131 Missing @return tag in function comment
error 132 Opening brace should be on a new line
Sum 49 errors and 1 warnings
/data/pear/pear/Image_GIS2/GIS2.php
error 2 You must use "/**" style comments for a file comment
error 61 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 61 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
warning 62 Line exceeds 85 characters; contains 123 characters
error 62 The @copyright tag is in the wrong order; the tag follows @author
error 62 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 63 The @license tag is in the wrong order; the tag follows @copyright (if used) or @author
error 63 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 64 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 65 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 66 Missing @link tag in class comment
error 67 Opening brace of a class must be on the line after the definition
error 73 Private member variable "debug" must be prefixed with an underscore
error 80 Private member variable "parser" must be prefixed with an underscore
error 81 @copyright tag must contain a year and the name of the copyright holder
error 87 Private member variable "renderer" must be prefixed with an underscore
error 92 Last parameter comment requires a blank newline after it
error 92 Expected 1 space before variable type
error 92 Missing comment for param "$parameters" at position 1
error 94 Missing @return tag in function comment
error 95 Public method name "Image_GIS2::Image_GIS" is not in camel caps format
error 95 Opening brace should be on a new line
error 98 Space after opening parenthesis of function call prohibited
error 102 Space before closing parenthesis of function call prohibited
error 104 Space after opening parenthesis of function call prohibited
error 108 Space before closing parenthesis of function call prohibited
error 114 Space after opening parenthesis of function call prohibited
error 119 Space before closing parenthesis of function call prohibited
error 126 Expected 1 space before variable type
error 126 Missing comment for param "$dataFile" at position 1
error 127 Last parameter comment requires a blank newline after it
error 127 Expected 1 space before variable type
error 127 The comments for parameters $dataFile (1) and $color (2) do not align
error 127 Missing comment for param "$color" at position 2
error 131 Opening brace should be on a new line
error 141 Opening brace should be on a new line
error 149 Missing @return tag in function comment
error 150 Opening brace should be on a new line
error 157 Last parameter comment requires a blank newline after it
error 157 Expected 1 space before variable type
error 157 Missing comment for param "$filename" at position 1
error 161 Opening brace should be on a new line
error 171 Expected 1 space before variable type
error 171 Missing comment for param "$parser" at position 1
error 172 Last parameter comment requires a blank newline after it
error 172 Expected 1 space before variable type
error 172 The comments for parameters $parser (1) and $cache (2) do not align
error 172 Missing comment for param "$cache" at position 2
error 174 Missing @return tag in function comment
error 175 Opening brace should be on a new line
error 182 Expected 1 space before variable type
error 182 Missing comment for param "$x1" at position 1
error 183 Expected 1 space before variable type
error 183 Missing comment for param "$x2" at position 2
error 184 Expected 1 space before variable type
error 184 Missing comment for param "$y1" at position 3
error 185 Last parameter comment requires a blank newline after it
error 185 Expected 1 space before variable type
error 185 Missing comment for param "$y2" at position 4
error 187 Missing @return tag in function comment
error 188 Opening brace should be on a new line
error 196 Last parameter comment requires a blank newline after it
error 196 Expected 1 space before variable type
error 196 Missing comment for param "$renderer" at position 1
error 196 Doc comment for "$width" missing
error 196 Doc comment for "$height" missing
error 198 Missing @return tag in function comment
error 199 Opening brace should be on a new line
warning 200 Line exceeds 85 characters; contains 97 characters
error 207 Missing @return tag in function comment
error 208 Opening brace should be on a new line
Sum 69 errors and 2 warnings