PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Avoid Optional Properties All, Analyze, ChangedBehavior 1 1 Major 84 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 10 10 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 6 5 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 0 %
No Public Access Analyze, All, ChangedBehavior 5 2 Minor 61 %
Same Name For Property And Method All, Analyze, ClassReview, Semantics, ChangedBehavior 2 1 Minor 0 %
Property Used In One Method Only All, Analyze, ChangedBehavior 11 4 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 19 9 Minor 95 %
Too Many Dereferencing All, Analyze, ChangedBehavior 2 1 Minor 0 %
Undefined Classes Analyze, All, Stubs, Undefined 137 13 Major 91 %
Undefined static:: Or self:: Analyze, All, Simple, Undefined, ChangedBehavior 2 1 Minor 35 %
Unfinished Object All, Analyze, ClassReview, ChangedBehavior 3 1 Major 0 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 7 2 Major 76 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10, ChangedBehavior 6 1 Major 48 %
Unused Classes Dead code, All, Simple, Analyze, Unused, ChangedBehavior 2 2 Major 67 %
Unused Public Methods All, Analyze, ChangedBehavior 22 12 Minor 0 %
Throw Raw Exceptions All, Analyze, Suggestions, ChangedBehavior 4 3 Minor 0 %
Uncaught Exceptions Analyze, All, ChangedBehavior 4 3 Minor 84 %
Use Named Boolean In Argument Definition All, Analyze, ChangedBehavior 6 3 Minor 84 %
Could Make A Function All, Analyze, Suggestions, ChangedBehavior 9 4 Minor 66 %
Empty Function Analyze, All, Simple, ChangedBehavior 9 2 Minor 74 %
Insufficient Type All, Analyze, Typechecks, ChangedBehavior 2 1 Major 43 %
Method Is Not An If All, Analyze 1 1 Minor 0 %
Mismatched Default Arguments All, Analyze, Typechecks, ChangedBehavior 1 1 Minor 80 %
Mismatched Type All, Analyze, Typechecks, ChangedBehavior 2 1 Major 66 %
Never Called Parameter All, Analyze, Suggestions, Rector, Unused 1 1 Minor 92 %
No Boolean As Default All, Analyze 6 3 Minor 84 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 28 8 Major 68 %
Unused Parameter Analyze, All, Simple, Unused 6 2 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 44 6 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, ChangedBehavior, CE 2 1 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 18 6 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 8 4 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE 17 6 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 1 1 Minor 59 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, ChangedBehavior, CE 2 2 Minor 44 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 49 13 Major 69 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE 1 1 Major 59 %
Wrong Parameter Type Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 1 1 Major 76 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks, ChangedBehavior, CE 2 1 Minor 53 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 4 3 Minor 0 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks, ChangedBehavior, CE 2 1 Minor 0 %
Should Use Coalesce Analyze, All, Simple, Suggestions, Level 3, CI-checks, ChangedBehavior, CE 3 2 Major 71 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, ChangedBehavior, CE 4 3 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4, ChangedBehavior 4 3 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, ChangedBehavior, CE 4 3 Minor 77 %
Check All Types All, Analyze, ChangedBehavior 5 2 Major 69 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, ChangedBehavior, CE 1 1 Minor 63 %
Don't Change The Blind Var All, Analyze, ChangedBehavior 1 1 Minor 73 %
Drop Else After Return All, Analyze, OneFile, Simple, Suggestions, Level 4, CI-checks, ChangedBehavior, CE 1 1 Minor 70 %
Mismatched Ternary Alternatives All, Analyze, Suggestions, Level 4, ChangedBehavior 2 2 Major 64 %
Missing Assignation In Branches All, Analyze, ChangedBehavior 3 3 Minor 0 %
Nested Ternary Analyze, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 1 1 Major 50 %
No Choice Analyze, All, Simple, Level 2, Top10, CI-checks, Rector, ChangedBehavior, CE 3 2 Major 42 %
No Need For Else All, Analyze, ChangedBehavior 1 1 Minor 74 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 21 6 Minor 93 %
Should Use Ternary Operator All, Analyze, OneFile, Simple, CI-checks, ChangedBehavior, CE 6 3 Minor 86 %
Static Loop Analyze, All, Simple, Level 4, ChangedBehavior 1 1 Minor 67 %
Unconditional Break In Loop All, Analyze, Level 3, CI-checks, CE 1 1 Major 48 %
Useless Coalesce All, Analyze, ChangedBehavior 1 1 Minor 0 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, ChangedBehavior, CE 3 2 Minor 63 %
Useless Null Coalesce All, Analyze, Typehints, ChangedBehavior 1 1 Minor 0 %
Useless Short Ternary All, Analyze, ChangedBehavior 1 1 Minor 0 %
Dependant Trait Analyze, All, Level 3, ChangedBehavior 1 1 Minor 28 %
Trait Is Not A Type All, Analyze, ClassReview, Typehints 2 1 Minor 0 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, Undefined, ChangedBehavior, CE 9 3 Critical 15 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE 4 2 Minor 49 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, ChangedBehavior, CE 6 4 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 17 4 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 11 3 Minor 0 %
Assigned Twice All, Analyze, ChangedBehavior 1 1 Minor 79 %
Overwritten Literals Analyze, All, ChangedBehavior 2 1 Major 79 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 92 6 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused, ChangedBehavior 6 1 Minor 87 %