Coding Standards Report for Log_Parser

Type Line Message
Package 187 errors and 21 warnings
/data/pear/pear/Log_Parser/Parser/Filter/Filter.php
error 2 Missing file doc comment
warning 23 Line exceeds 85 characters; contains 89 characters
error 34 Opening brace of a class must be on the line after the definition
error 34 You must use "/**" style comments for a class comment
error 34 Line indented incorrectly; expected 0 spaces, found 4
error 41 Line indented incorrectly; expected 4 spaces, found 8
error 41 Opening brace should be on a new line
warning 47 Line exceeds 85 characters; contains 88 characters
warning 48 Line exceeds 85 characters; contains 93 characters
warning 49 Line exceeds 85 characters; contains 94 characters
error 52 Last parameter comment requires a blank newline after it
error 52 Doc comment var "$token" does not match actual variable name "&$token" at position 1
error 56 Method name "Log_Parser_Filter_Dynamic::linename_tokenname" is not in camel caps format
error 56 Line indented incorrectly; expected 4 spaces, found 8
error 56 Opening brace should be on a new line
error 61 Opening brace of a class must be on the line after the definition
error 61 Missing class doc comment
error 61 Line indented incorrectly; expected 0 spaces, found 4
error 68 Line indented incorrectly; expected 4 spaces, found 8
error 68 Opening brace should be on a new line
warning 75 Line exceeds 85 characters; contains 87 characters
warning 76 Line exceeds 85 characters; contains 88 characters
error 79 The comments for parameters $lineName (1) and $tokenName (2) do not align
error 80 Last parameter comment requires a blank newline after it
error 80 The comments for parameters $tokenName (2) and $token (3) do not align
error 84 Line indented incorrectly; expected 4 spaces, found 8
error 84 Opening brace should be on a new line
Sum 21 errors and 6 warnings
/data/pear/pear/Log_Parser/Parser/Filter/Filter_Personal.php
error 2 Missing file doc comment
error 22 Opening brace of a class must be on the line after the definition
error 22 You must use "/**" style comments for a class comment
error 22 Line indented incorrectly; expected 0 spaces, found 4
error 24 Missing function doc comment
error 24 Line indented incorrectly; expected 4 spaces, found 8
error 24 Opening brace should be on a new line
error 28 Missing function doc comment
error 28 Method name "Log_Parser_Filter_Personal::standard_date" is not in camel caps format
error 28 Line indented incorrectly; expected 4 spaces, found 8
error 28 Opening brace should be on a new line
warning 30 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 31 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
warning 32 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
Sum 11 errors and 3 warnings
/data/pear/pear/Log_Parser/Parser/Filter/Filter_Regex.php
error 2 Missing file doc comment
error 24 Opening brace of a class must be on the line after the definition
error 24 You must use "/**" style comments for a class comment
error 24 Line indented incorrectly; expected 0 spaces, found 4
error 28 Missing function doc comment
error 28 Line indented incorrectly; expected 4 spaces, found 8
error 28 Opening brace should be on a new line
error 32 Missing function doc comment
error 32 Line indented incorrectly; expected 4 spaces, found 8
error 32 Opening brace should be on a new line
error 36 Missing function doc comment
error 36 Line indented incorrectly; expected 4 spaces, found 8
error 36 Opening brace should be on a new line
error 37 Line indented incorrectly; expected 8 spaces, found 12
error 38 Line indented incorrectly; expected 12 spaces, found 16
error 40 Line indented incorrectly; expected 16 spaces, found 20
Sum 16 errors and 0 warnings
/data/pear/pear/Log_Parser/Parser/Config.php
error 2 You must use "/**" style comments for a file comment
error 26 Extra newline found before class comment short description
error 27 There must be exactly one blank line before the tags in class comments
error 28 Missing @category tag in class comment
error 28 Missing @author tag in class comment
error 28 Missing @license tag in class comment
error 28 Missing @link tag in class comment
error 29 Line indented incorrectly; expected 0 spaces, found 4
error 30 Expected 0 spaces before opening brace; 4 found
error 40 Missing function doc comment
error 40 Line indented incorrectly; expected 4 spaces, found 8
error 42 Line indented incorrectly; expected 8 spaces, found 12
warning 46 Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
error 48 Line indented incorrectly; expected 8 spaces, found 12
error 52 Line indented incorrectly; expected 8 spaces, found 12
warning 56 Line exceeds 85 characters; contains 89 characters
error 57 Line indented incorrectly; expected 8 spaces, found 12
error 63 Missing function doc comment
error 63 Line indented incorrectly; expected 4 spaces, found 8
error 68 Missing function doc comment
error 68 Line indented incorrectly; expected 4 spaces, found 8
error 73 You must use "/**" style comments for a function comment
error 73 Line indented incorrectly; expected 4 spaces, found 8
error 78 You must use "/**" style comments for a function comment
error 78 Line indented incorrectly; expected 4 spaces, found 8
error 83 You must use "/**" style comments for a function comment
error 83 Line indented incorrectly; expected 4 spaces, found 8
Sum 25 errors and 2 warnings
/data/pear/pear/Log_Parser/Parser/Config_Namespace.php
error 2 You must use "/**" style comments for a file comment
error 30 Missing @category tag in class comment
error 30 Missing @author tag in class comment
error 30 Missing @license tag in class comment
error 30 Missing @link tag in class comment
error 32 Line indented incorrectly; expected 0 spaces, found 4
error 33 Expected 0 spaces before opening brace; 4 found
error 45 Missing function doc comment
error 45 Line indented incorrectly; expected 4 spaces, found 8
error 45 Space before opening parenthesis of function call prohibited
error 45 Space after opening parenthesis of function call prohibited
error 50 Missing function doc comment
error 50 Method name "Log_Parser_Config_Namespace::start_log" is not in camel caps format
error 50 Line indented incorrectly; expected 4 spaces, found 8
error 52 Line indented incorrectly; expected 8 spaces, found 12
error 54 Line indented incorrectly; expected 8 spaces, found 12
error 61 Missing function doc comment
error 61 Method name "Log_Parser_Config_Namespace::end_log" is not in camel caps format
error 61 Line indented incorrectly; expected 4 spaces, found 8
error 66 Missing function doc comment
error 66 Method name "Log_Parser_Config_Namespace::start_line" is not in camel caps format
error 66 Line indented incorrectly; expected 4 spaces, found 8
error 68 Line indented incorrectly; expected 8 spaces, found 12
error 72 Line indented incorrectly; expected 8 spaces, found 12
warning 73 Line exceeds 85 characters; contains 101 characters
error 83 Missing function doc comment
error 83 Method name "Log_Parser_Config_Namespace::end_line" is not in camel caps format
error 83 Line indented incorrectly; expected 4 spaces, found 8
error 88 Missing function doc comment
error 88 Method name "Log_Parser_Config_Namespace::start_token" is not in camel caps format
error 88 Line indented incorrectly; expected 4 spaces, found 8
error 90 Line indented incorrectly; expected 8 spaces, found 12
warning 91 Line exceeds 85 characters; contains 103 characters
warning 94 Equals sign not aligned with surrounding assignments; expected 32 spaces but found 1 space
error 96 Line indented incorrectly; expected 8 spaces, found 12
warning 97 Line exceeds 85 characters; contains 87 characters
error 99 Line indented incorrectly; expected 8 spaces, found 12
warning 101 Equals sign not aligned with surrounding assignments; expected 42 spaces but found 1 space
error 102 Line indented incorrectly; expected 12 spaces, found 16
error 111 Missing function doc comment
error 111 Method name "Log_Parser_Config_Namespace::end_token" is not in camel caps format
error 111 Line indented incorrectly; expected 4 spaces, found 8
error 116 Missing function doc comment
error 116 Line indented incorrectly; expected 4 spaces, found 8
error 118 Line indented incorrectly; expected 8 spaces, found 12
error 119 File is being conditionally included; use "include_once" instead
error 122 Line indented incorrectly; expected 8 spaces, found 12
Sum 42 errors and 5 warnings
/data/pear/pear/Log_Parser/Parser/Filter_Engine.php
error 2 Missing file doc comment
error 16 Opening brace of a class must be on the line after the definition
error 16 Missing class doc comment
error 16 Line indented incorrectly; expected 0 spaces, found 4
warning 49 Line exceeds 85 characters; contains 86 characters
error 52 Last parameter comment requires a blank newline after it
error 52 Parameters must appear immediately after the comment
error 52 Doc comment var "$filterObject" does not match actual variable name "&$filterObject" at position 1
error 56 Line indented incorrectly; expected 4 spaces, found 8
error 56 Opening brace should be on a new line
error 58 Line indented incorrectly; expected 8 spaces, found 12
warning 60 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 63 Line indented incorrectly; expected 8 spaces, found 12
warning 65 Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
error 68 Line indented incorrectly; expected 8 spaces, found 12
warning 69 Line exceeds 85 characters; contains 91 characters
error 78 Parameters must appear immediately after the comment
error 79 Last parameter comment requires a blank newline after it
error 79 The variable names for parameters $lineName (1) and $line (2) do not align
error 79 The comments for parameters $lineName (1) and $line (2) do not align
error 79 Doc comment var "$line" does not match actual variable name "&$line" at position 2
error 81 Missing @return tag in function comment
error 83 Line indented incorrectly; expected 4 spaces, found 8
error 83 Opening brace should be on a new line
error 85 Line indented incorrectly; expected 8 spaces, found 12
error 87 Line indented incorrectly; expected 8 spaces, found 16
error 88 Line indented incorrectly; expected 12 spaces, found 20
error 89 Line indented incorrectly; expected 16 spaces, found 24
error 89 Space after opening parenthesis of function call prohibited
error 91 Space before closing parenthesis of function call prohibited
error 97 Line indented incorrectly; expected 8 spaces, found 16
error 99 Line indented incorrectly; expected 12 spaces, found 20
error 102 Line indented incorrectly; expected 16 spaces, found 24
error 103 Line indented incorrectly; expected 20 spaces, found 29
warning 103 Line exceeds 85 characters; contains 90 characters
error 105 Closing brace indented incorrectly; expected 29 spaces, found 28
error 109 Line indented incorrectly; expected 8 spaces, found 16
error 122 Missing @return tag in function comment
error 124 Line indented incorrectly; expected 4 spaces, found 8
error 124 Opening brace should be on a new line
error 124 Space before opening parenthesis of function call prohibited
error 124 Space after opening parenthesis of function call prohibited
error 136 Line indented incorrectly; expected 4 spaces, found 8
error 136 Opening brace should be on a new line
error 137 Line indented incorrectly; expected 8 spaces, found 12
error 139 Line indented incorrectly; expected 8 spaces, found 12
Sum 41 errors and 5 warnings
/data/pear/pear/Log_Parser/Parser.php
error 2 You must use "/**" style comments for a file comment
error 21 Opening brace of a class must be on the line after the definition
error 21 You must use "/**" style comments for a class comment
error 21 Line indented incorrectly; expected 0 spaces, found 4
error 33 Missing function doc comment
error 33 Line indented incorrectly; expected 4 spaces, found 8
error 33 Opening brace should be on a new line
error 38 You must use "/**" style comments for a function comment
error 38 Line indented incorrectly; expected 4 spaces, found 8
error 38 Opening brace should be on a new line
error 42 Missing function doc comment
error 42 Line indented incorrectly; expected 4 spaces, found 8
error 42 Opening brace should be on a new line
error 46 Missing function doc comment
error 46 Line indented incorrectly; expected 4 spaces, found 8
error 46 Opening brace should be on a new line
error 55 You must use "/**" style comments for a function comment
error 55 Line indented incorrectly; expected 4 spaces, found 8
error 55 Opening brace should be on a new line
error 59 You must use "/**" style comments for a function comment
error 59 Line indented incorrectly; expected 4 spaces, found 8
error 59 Opening brace should be on a new line
error 63 You must use "/**" style comments for a function comment
error 63 Line indented incorrectly; expected 4 spaces, found 8
error 63 Opening brace should be on a new line
error 68 You must use "/**" style comments for a function comment
error 68 Line indented incorrectly; expected 4 spaces, found 8
error 68 Opening brace should be on a new line
error 73 You must use "/**" style comments for a function comment
error 73 Line indented incorrectly; expected 4 spaces, found 8
error 73 Opening brace should be on a new line
Sum 31 errors and 0 warnings