Coding Standards Report for Net_Portscan

Type Line Message
Package 51 errors and 1 warnings
/data/pear/pear/Net_Portscan/Portscan.php
error 1 End of line character is invalid; expected "\n" but found "\r\n"
error 2 You must use "/**" style comments for a file comment
error 32 The @author tag is in the wrong order; the tag follows @subpackage (if used) or @package
error 32 @author tag comment indented incorrectly. Expected 3 spaces but found 2.
error 33 The @package tag is in the wrong order; the tag follows @category
error 33 @package tag comment indented incorrectly. Expected 2 spaces but found 1.
warning 35 Invalid version "$Revision: 1.5 $" in doc comment; consider "Release: " instead
error 35 @version tag comment indented incorrectly. Expected 2 spaces but found 1.
error 36 Missing @license tag in class comment
error 36 Missing @link tag in class comment
error 50 Parameters must appear immediately after the comment
error 50 Expected 1 space before variable type
error 50 Doc comment var "Hostname" does not match actual variable name "$host" at position 1
error 50 Missing comment for param "Hostname" at position 1
error 51 Expected 1 space before variable type
error 51 The comments for parameters Hostname (1) and Portnumber (2) do not align
error 51 Doc comment var "Portnumber" does not match actual variable name "$port" at position 2
error 51 Missing comment for param "Portnumber" at position 2
error 52 Last parameter comment requires a blank newline after it
error 52 Expected 1 space before variable type
error 52 The comments for parameters Portnumber (2) and Timeout (3) do not align
error 52 Doc comment var "Timeout" does not match actual variable name "$timeout" at position 3
error 77 Parameters must appear immediately after the comment
error 77 Expected 1 space before variable type
error 77 Doc comment var "Hostname" does not match actual variable name "$host" at position 1
error 77 Missing comment for param "Hostname" at position 1
error 78 Expected 1 space before variable type
error 78 The variable names for parameters Hostname (1) and Lowest (2) do not align
error 78 The comments for parameters Hostname (1) and Lowest (2) do not align
error 78 Doc comment var "Lowest" does not match actual variable name "$minPort" at position 2
error 79 Expected 1 space before variable type
error 79 The comments for parameters Lowest (2) and Highest (3) do not align
error 79 Doc comment var "Highest" does not match actual variable name "$maxPort" at position 3
error 80 Last parameter comment requires a blank newline after it
error 80 Expected 1 space before variable type
error 80 Doc comment var "Timeout" does not match actual variable name "$timeout" at position 4
error 99 Parameters must appear immediately after the comment
error 99 Expected 1 space before variable type
error 99 Doc comment var "Portnumber" does not match actual variable name "$port" at position 1
error 99 Missing comment for param "Portnumber" at position 1
error 100 Last parameter comment requires a blank newline after it
error 100 Expected 1 space before variable type
error 100 The comments for parameters Portnumber (1) and Protocol (2) do not align
error 100 Doc comment var "Protocol" does not match actual variable name "$protocol" at position 2
error 115 Parameters must appear immediately after the comment
error 115 Expected 1 space before variable type
error 115 Doc comment var "Name" does not match actual variable name "$service" at position 1
error 115 Expected 1 space after the longest type
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 Name (1) and Protocol (2) do not align
error 116 Doc comment var "Protocol" does not match actual variable name "$protocol" at position 2
Sum 51 errors and 1 warnings