PHP Static analysis for soosyze

Label Recipes Issues Files Severity Frequence
Randomly Sorted Arrays All, Analyze, Level 4, Suggestions 16 11 Minor 41 %
String Initialization All, CompatibilityPHP71 2 1 Minor 33 %
Too Many Array Dimensions All, Analyze 7 4 Minor 0 %
Ambiguous Visibilities All, Analyze 100 56 Minor 70 %
Avoid Optional Properties All, Analyze 14 5 Major 83 %
Clone With Non-Object All, Analyze, LintButWontExec 1 1 Minor 0 %
Class Could Be Final All, Analyze, ClassReview 111 111 Minor 95 %
Method Could Be Static All, Analyze, ClassReview 189 68 Minor 95 %
Class Should Be Final By Ocramius All, Analyze 3 3 Minor 42 %
Hidden Nullable All, Analyze, ClassReview 1 1 Minor 0 %
Locally Unused Property Dead code, All, Simple 2 2 Minor 76 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 4 1 Minor 49 %
No Public Access Analyze, All 1 1 Minor 60 %
Parent First All, Analyze, Suggestions 1 1 Minor 55 %
Property Could Be Local All, Analyze, ClassReview 6 4 Minor 71 %
Never Used Properties Analyze, All, Simple 2 2 Minor 72 %
Property Used In One Method Only All, Analyze 9 8 Minor 84 %
Redefined Default Analyze, All, Simple, CI-checks 2 1 Major 26 %
Should Use Local Class Analyze, ClearPHP, All, Simple 151 63 Minor 94 %
Static Methods Called From Object Analyze, All, Simple, CI-checks 19 7 Minor 38 %
Too Many Dereferencing All, Analyze 37 20 Minor 0 %
Undefined Classes Analyze, All 547 109 Major 91 %
Undefined Class Constants Analyze, All, CI-checks 6 3 Major 53 %
Undefined Parent Analyze, All, Simple 5 4 Minor 63 %
Undefined static:: Or self:: Analyze, All, Simple 653 30 Minor 33 %
Unresolved Classes Analyze, All 199 37 Major 86 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 4 2 Major 48 %
Unused Classes Dead code, All, Simple, Analyze 11 11 Major 72 %
Unused Methods Dead code, All, Simple 525 109 Minor 95 %
Unused Private Methods Dead code, OneFile, All, Simple 4 2 Minor 45 %
Unused Protected Methods Dead code, All 4 3 Major 72 %
Use Class Operator All, Analyze, Performances, Simple, CI-checks 3 2 Minor 74 %
Use Instanceof Analyze, All, Simple, CI-checks 1 1 Major 63 %
Used Once Property All, Analyze 14 6 Minor 72 %
Weak Typing All, Analyze 1 1 Minor 41 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks 4 2 Minor 57 %
Constants With Strange Names Analyze, All, Simple, CI-checks 1 1 Minor 1 %
Multiple Constant Definition Analyze, All, Simple, CI-checks 4 2 Minor 32 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks 2 1 Minor 54 %
Forgotten Thrown All, Analyze 1 1 Major 30 %
Uncaught Exceptions Analyze, All 1 1 Minor 81 %
Missing Include All, Analyze 10 2 Critical 61 %
Aliases Usage Analyze, ClearPHP, OneFile, All, Simple, Level 1, CI-checks 1 1 Minor 42 %
Use Named Boolean In Argument Definition All, Analyze 14 7 Minor 84 %
Callback Needs Return All, Analyze, CI-checks 2 1 Major 51 %
Could Make A Function All, Analyze, Suggestions 166 45 Minor 75 %
Empty Function Analyze, All, Simple 28 15 Minor 71 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 9 8 Major 61 %
Mismatch Parameter Name All, Analyze, CompatibilityPHP80 1 1 Minor 0 %
Mismatched Default Arguments All, Analyze, Typechecks 3 2 Minor 33 %
Modified Typed Parameter All, Analyze, ClassReview 3 2 Minor 0 %
Never Used Parameter All, Analyze, Suggestions 36 15 Minor 47 %
No Boolean As Default All, Analyze 14 7 Minor 84 %
No Return Used All, Analyze, Suggestions, Level 4 6 3 Minor 41 %
Relay Function Analyze, All 23 18 Major 83 %
Too Many Local Variables All, Analyze 4 4 Minor 65 %
Typehinted References All, Analyze, CI-checks 5 2 Minor 12 %
Undefined Functions Analyze, All, CI-checks 134 46 Major 71 %
Unused Arguments Analyze, All, Simple 154 67 Major 89 %
Useless Referenced Argument All, Analyze 80 24 Minor 57 %
Uses Default Values Analyze, All, Simple, CI-checks 267 68 Minor 97 %
Methods Without Return All, Analyze 266 69 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks 13 7 Major 38 %
Forgotten Interface All, Analyze 1 1 Minor 52 %
Undefined Interfaces Analyze, All, CI-checks 109 41 Major 67 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks 1 1 Minor 57 %
Unresolved Use Analyze, ClearPHP, All, Simple 198 99 Major 65 %
Unused Use Dead code, ClearPHP, All, Simple 2 2 Major 54 %
Logical To in_array All, Analyze, Level 2 1 1 Minor 66 %
Pre-increment Analyze, Performances, All, Simple, Level 4, CI-checks 7 4 Minor 74 %
Assumptions All, Analyze 16 10 Minor 0 %
Avoid set_error_handler $context Argument All, CompatibilityPHP72 1 1 Major 16 %
Don't Pollute Global Space All, Analyze 16 8 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks 1 1 Minor 52 %
List With Keys CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, Appcontent, Appinfo, All 7 2 Major 32 %
No Class In Global All, Analyze, CI-checks 11 5 Minor 78 %
PHP Keywords As Names Analyze, All, Simple 198 31 Major 89 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks 21 1 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks 10 8 Major 71 %
Use Nullable Type All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 18 5 Major 21 %
Usort Sorting In PHP 7.0 CompatibilityPHP70, All 1 1 Major 46 %
Wrong Type For Native PHP Function All, Analyze, CI-checks 28 16 Minor 0 %
Configure Extract All, Security 1 1 Minor 22 %
Direct Injection Security, All 1 1 Major 41 %
Don't Echo Error All, Analyze, Security, Simple, Level 1, CI-checks 1 1 Critical 32 %
filter_input() As A Source All, Security 1 1 Minor 6 %
Indirect Injection Security, All 2 1 Critical 21 %
Should Use session_regenerateid() All, Security 1 1 Major 82 %
Unserialize Second Arg Security, All 2 2 Critical 49 %
Adding Zero Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 1 1 Minor 33 %
Array_merge Needs Array Of Arrays All, Analyze 5 4 Minor 0 %
Assign And Compare All, Analyze, CI-checks 2 2 Minor 17 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 2 2 Minor 92 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks 44 17 Minor 76 %
Buried Assignation Analyze, All 85 26 Minor 82 %
Casting Ternary All, Analyze, OneFile, CI-checks 1 1 Major 0 %
Check All Types All, Analyze 3 1 Major 68 %
Common Alternatives Analyze, All, Simple 90 23 Major 61 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks 1 1 Minor 60 %
Dangling Array References PHP recommendations, Analyze, ClearPHP, All, Simple, Level 1, Top10, CI-checks 19 11 Major 40 %
Dont Change The Blind Var All, Analyze 2 2 Minor 72 %
Dont Mix ++ All, Analyze 1 1 Minor 43 %
Double Assignation Analyze, All 2 2 Major 55 %
Double Instructions Analyze, All, Simple 1 1 Minor 57 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks 3 3 Minor 70 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions 15 11 Minor 58 %
Empty Instructions Dead code, Analyze, All, Simple 1252 80 Minor 43 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks 4 4 Major 60 %
Foreach Reference Is Not Modified Analyze, All, Simple, CI-checks 1 1 Minor 24 %
Forgotten Whitespace Analyze, All, CI-checks 24 24 Minor 15 %
Global Usage Analyze, Appinfo, ClearPHP, All 3 1 Minor 52 %
Htmlentities Calls Analyze, All, Simple, CI-checks 20 6 Major 39 %
Identical Consecutive Expression All, Analyze 1 1 Minor 58 %
Iffectations Analyze, All 119 35 Minor 80 %
Inconsistent Elseif All, Analyze 8 7 Major 73 %
Infinite Recursion All, Analyze 4 1 Major 0 %
Long Arguments All, Analyze 23 14 Minor 67 %
Max Level Of Nesting All, Analyze 4 4 Minor 0 %
Merge If Then All, Analyze, CI-checks 6 5 Minor 0 %
Mismatched Ternary Alternatives All, Analyze, Suggestions, Level 4 6 3 Major 62 %
Mixed Concat And Interpolation All, Coding Conventions, Analyze 3 3 Minor 43 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 10 7 Minor 56 %
Multiple Type Variable All, Analyze, Level 4 2 2 Minor 43 %
Nested Ifthen Analyze, All, RadwellCodes 5 4 Major 87 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks 1 1 Major 43 %
No Need For Else All, Analyze 3 3 Minor 74 %
Variable Is Not A Condition All, Analyze 83 48 Minor 57 %
Objects Don't Need References Analyze, ClearPHP, OneFile, All, Simple, Level 2, Top10, CI-checks 73 26 Minor 31 %
include_once() Usage Analyze, Appinfo, All 16 5 Minor 73 %
Several Instructions On The Same Line Analyze, All 83 44 Major 57 %
Print And Die Analyze, All, Simple, CI-checks 2 2 Minor 29 %
Same Conditions In Condition Analyze, All, Simple, CI-checks 4 4 Critical 49 %
Should Make Ternary All, Analyze, OneFile, Simple, CI-checks 12 10 Minor 85 %
Preprocessable Analyze, All, Rector 20 8 Minor 86 %
Static Loop Analyze, All, Simple, Level 4 2 2 Minor 65 %
Strpos()-like Comparison Analyze, PHP recommendations, ClearPHP, All, Simple, Level 2, Top10, CI-checks 1 1 Major 54 %
Switch To Switch Analyze, All, RadwellCodes, Simple 3 3 Minor 79 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks 1 1 Major 49 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80 11 5 Minor 0 %
Use Positive Condition All, Analyze, OneFile, Simple 8 8 Minor 81 %
Useless Casting All, PHP recommendations, Analyze, OneFile, RadwellCodes, Simple, Level 4, CI-checks 1 1 Minor 37 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 1 1 Minor 58 %
Useless Parenthesis Analyze, All, Simple, CI-checks 8 7 Minor 81 %
Useless Unset Analyze, OneFile, ClearPHP, All, Simple, Level 2, CI-checks 1 1 Major 28 %
One Variable String Analyze, All, RadwellCodes, Simple, CI-checks 3 1 Minor 29 %
Strings With Strange Space All, Analyze, CI-checks 1 1 Minor 15 %
Assigned Twice All, Analyze 12 2 Minor 78 %
Overwritten Literals Analyze, All 12 2 Major 78 %
Undefined Variable All, Analyze, CI-checks 582 92 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 41 21 Minor 87 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4 359 146 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple 126 44 Minor 78 %