Coding Standards Report for MP3_Playlist

Type Line Message
Package 164 errors and 55 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist/Common.php
error 2 You must use "/**" style comments for a file comment
error 40 Category name "File Formats" is not valid; consider "File_Formats" instead
error 40 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 41 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 42 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 43 @copyright tag must contain a year and the name of the copyright holder
error 43 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 44 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 46 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 48 Missing @link tag in class comment
error 127 Expected 1 space before variable type
error 127 Expected 1 space after the longest type
error 128 Expected 1 space before variable type
error 129 Expected 1 space before variable type
warning 137 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 139 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 140 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
error 152 Expected 1 space before variable type
error 152 Doc comment var "$msg" does not match actual variable name "$message" at position 1
error 153 Missing @return tag in function comment
error 154 Private method name "MP3_Playlist_Common::debug" must be prefixed with an underscore
error 167 Expected 1 space before variable type
error 168 Missing @return tag in function comment
error 180 Expected 1 space before variable type
error 181 Expected 1 space before variable type
error 181 The comments for parameters $dir (1) and $filename (2) do not align
error 195 No space found after comma in function call
error 218 Last parameter comment requires a blank newline after it
error 218 Expected 1 space before variable type
warning 236 Line exceeds 85 characters; contains 113 characters
error 249 Missing @return tag in function comment
Sum 27 errors and 4 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist/M3U.php
error 2 You must use "/**" style comments for a file comment
error 53 Category name "File Formats" is not valid; consider "File_Formats" instead
error 53 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 54 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 55 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 56 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 57 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 58 @copyright tag must contain a year and the name of the copyright holder
error 58 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 59 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 61 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 62 Missing @link tag in class comment
error 91 Expected 1 space before variable type
Sum 13 errors and 0 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist/RSS.php
error 2 You must use "/**" style comments for a file comment
error 50 Category name "File Formats" is not valid; consider "File_Formats" instead
error 50 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 51 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 52 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 53 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 54 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 55 @copyright tag must contain a year and the name of the copyright holder
error 55 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 56 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 58 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 59 Missing @link tag in class comment
error 93 Expected 1 space before variable type
error 93 Expected 1 space after the longest type
warning 122 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 124 Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
Sum 14 errors and 2 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist/SMIL.php
error 2 You must use "/**" style comments for a file comment
error 53 Category name "File Formats" is not valid; consider "File_Formats" instead
error 53 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 54 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 55 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 56 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 57 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 58 @copyright tag must contain a year and the name of the copyright holder
error 58 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 59 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 61 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 62 Missing @link tag in class comment
error 91 Expected 1 space before variable type
Sum 13 errors and 0 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist/SQLite.php
error 2 You must use "/**" style comments for a file comment
error 51 Category name "File Formats" is not valid; consider "File_Formats" instead
error 51 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 52 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 53 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 54 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 55 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 56 @copyright tag must contain a year and the name of the copyright holder
error 56 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 57 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 59 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 60 Missing @link tag in class comment
error 105 Expected 1 space before variable type
error 105 Expected 1 space after the longest type
warning 128 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
warning 129 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 1 space
warning 131 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 158 Line exceeds 85 characters; contains 87 characters
error 163 Space before closing parenthesis of function call prohibited
error 172 Expected "foreach (...) {\n"; found "foreach (...){\n"
warning 174 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
warning 175 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 8 spaces
warning 176 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 177 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 5 spaces
warning 178 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 179 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
Sum 16 errors and 10 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist/XHTML.php
error 2 You must use "/**" style comments for a file comment
error 50 Category name "File Formats" is not valid; consider "File_Formats" instead
error 50 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 51 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 52 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 53 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 54 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 55 @copyright tag must contain a year and the name of the copyright holder
error 55 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 56 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 58 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 59 Missing @link tag in class comment
error 92 Expected 1 space before variable type
warning 108 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
error 115 Expected "if (...) {\n"; found "if (...) {\n"
warning 122 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 124 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 125 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
warning 134 Line exceeds 85 characters; contains 153 characters
warning 135 Line exceeds 85 characters; contains 122 characters
warning 136 Line exceeds 85 characters; contains 120 characters
warning 144 Line exceeds 85 characters; contains 97 characters
warning 154 Line exceeds 85 characters; contains 88 characters
Sum 14 errors and 9 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist/XML.php
error 2 You must use "/**" style comments for a file comment
error 50 Category name "File Formats" is not valid; consider "File_Formats" instead
error 50 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 51 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 52 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 53 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 54 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 55 @copyright tag must contain a year and the name of the copyright holder
error 55 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 56 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 58 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 59 Missing @link tag in class comment
error 88 Expected 1 space before variable type
error 88 Expected 1 space after the longest variable name
error 89 Expected 1 space before variable type
error 93 Private method name "MP3_Playlist_XML::preXML" must be prefixed with an underscore
error 105 Expected 1 space before variable type
warning 112 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 117 Expected "foreach (...) {\n"; found "foreach (...){\n"
Sum 18 errors and 1 warnings
/data/pear/pear/MP3_Playlist/MP3/Playlist.php
error 2 You must use "/**" style comments for a file comment
error 74 Category name "File Formats" is not valid; consider "File_Formats" instead
error 74 @category tag comment indented incorrectly. Expected 2 spaces but found 4.
error 75 @package tag comment indented incorrectly. Expected 3 spaces but found 5.
error 76 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 77 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 78 @author tag comment indented incorrectly. Expected 4 spaces but found 6.
error 79 @copyright tag must contain a year and the name of the copyright holder
error 79 @copyright tag comment indented incorrectly. Expected 1 spaces but found 3.
error 80 @license tag comment indented incorrectly. Expected 3 spaces but found 5.
error 82 @version tag comment indented incorrectly. Expected 3 spaces but found 5.
error 83 Missing @link tag in class comment
warning 92 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
warning 93 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 5 spaces
warning 94 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces
warning 95 Equals sign not aligned with surrounding assignments; expected 1 space but found 2 spaces
warning 96 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces
warning 97 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 3 spaces
warning 98 Equals sign not aligned with surrounding assignments; expected 6 spaces but found 7 spaces
warning 99 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 4 spaces
warning 100 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 8 spaces
warning 101 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 4 spaces
warning 102 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 8 spaces
warning 103 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 8 spaces
warning 104 Equals sign not aligned with surrounding assignments; expected 5 spaces but found 6 spaces
warning 109 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 110 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 5 spaces
warning 111 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 112 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 4 spaces
warning 113 Equals sign not aligned with surrounding assignments; expected 4 spaces but found 6 spaces
warning 114 Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
error 158 Private member variable "parseDirectory" must be prefixed with an underscore
error 164 Private member variable "outputDirectory" must be prefixed with an underscore
error 170 Private member variable "baseUrl" must be prefixed with an underscore
error 176 Private member variable "list" must be prefixed with an underscore
error 182 Private member variable "mp3" must be prefixed with an underscore
error 189 Private member variable "merged" must be prefixed with an underscore
error 195 Private member variable "isMerged" must be prefixed with an underscore
error 201 Private member variable "playlist" must be prefixed with an underscore
error 212 Expected 1 space before variable type
error 213 Expected 1 space before variable type
error 214 Expected 1 space before variable type
warning 215 Line exceeds 85 characters; contains 92 characters
error 215 Expected 1 space before variable type
warning 224 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 259 Doc comment var "$msg" does not match actual variable name "$message" at position 1
error 260 Missing @return tag in function comment
error 261 Private method name "MP3_Playlist::debug" must be prefixed with an underscore
error 274 Expected 1 space before variable type
error 297 Expected 1 space before variable type
error 301 Private method name "MP3_Playlist::generateURL" must be prefixed with an underscore
warning 304 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 305 Expected "foreach (...) {\n"; found "foreach (...)\n {\n"
error 329 Expected 1 space before variable type
error 337 Private method name "MP3_Playlist::parse" must be prefixed with an underscore
warning 362 Equals sign not aligned with surrounding assignments; expected 10 spaces but found 1 space
error 393 Private method name "MP3_Playlist::mergeList" must be prefixed with an underscore
error 399 Expected "foreach (...) {\n"; found "foreach(...) {\n"
error 424 Expected "if (...) {\n"; found "if (...){\n"
error 489 Expected 1 space before variable type
error 498 Expected 1 space before variable type
error 498 The variable names for parameters $type (1) and $params (2) do not align
error 498 The comments for parameters $type (1) and $params (2) do not align
error 500 Expected 1 space before variable type
error 500 The variable names for parameters $params (2) and $shuffle (3) do not align
error 500 The comments for parameters $params (2) and $shuffle (3) do not align
warning 521 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 524 "include_once" is a statement, not a function; no parentheses are required
error 535 Expected 1 space before variable type
warning 544 Line exceeds 85 characters; contains 91 characters
error 557 Expected 1 space before variable type
warning 566 Line exceeds 85 characters; contains 91 characters
error 581 Missing @return tag in function comment
warning 584 Line exceeds 85 characters; contains 91 characters
Sum 47 errors and 27 warnings
/data/pear/pear/MP3_Playlist/generate_package_xml.php
error 2 Missing file doc comment
error 2 "require_once" is a statement, not a function; no parentheses are required
warning 8 Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
warning 11 Line exceeds 85 characters; contains 98 characters
Sum 2 errors and 2 warnings