PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Weak Type With Array All, Analyze, ChangedBehavior 9 2 Minor 0 %
Abstract Or Implements All, Analyze, LintButWontExec, ChangedBehavior 3 3 Major 24 %
Class Could Be Final All, Analyze, ClassReview, ChangedBehavior 8 8 Minor 96 %
Method Could Be Static All, Analyze, ClassReview, ChangedBehavior 3 1 Minor 92 %
Could Inject Parameter All, Analyze, ClassReview, ChangedBehavior 3 3 Minor 0 %
Empty Classes Analyze, All, Simple, ChangedBehavior 1 1 Minor 60 %
Make Global A Property Analyze, All, Simple, ChangedBehavior 1 1 Minor 37 %
New Object Then Immediate Call All, Analyze, ClassReview 3 3 Minor 0 %
No Public Access Analyze, All, ChangedBehavior 1 1 Minor 61 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 14 2 Minor 42 %
Property Could Be Local All, Analyze, ClassReview, ChangedBehavior 1 1 Minor 76 %
Property Used In One Method Only All, Analyze, ChangedBehavior 3 3 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple, ChangedBehavior 8 2 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined 54 7 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, ChangedBehavior, CE 7 1 Major 62 %
Unresolved Classes Analyze, All, Stubs, ChangedBehavior 9 5 Major 76 %
Unused Classes Dead code, All, Simple, Analyze, Unused, ChangedBehavior 1 1 Major 67 %
Unused Public Methods All, Analyze, ChangedBehavior 3 2 Minor 0 %
Useless Constructor Analyze, All, Simple, Level 3, ChangedBehavior 1 1 Minor 41 %
Wrong Typed Property Default All, Analyze, LintButWontExec, ClassReview, CI-checks, CE 4 2 Minor 0 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, ChangedBehavior, CE 3 2 Minor 71 %
Catch With Undefined Variable All, Analyze, Undefined, ChangedBehavior 2 1 Minor 0 %
Useless Try All, Analyze, ChangedBehavior 4 2 Minor 0 %
Empty Function Analyze, All, Simple, ChangedBehavior 3 2 Minor 74 %
Method Is Not An If All, Analyze 1 1 Minor 0 %
No Return Used All, Analyze, Suggestions, Level 4, ChangedBehavior 1 1 Minor 69 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, CE 15 6 Major 68 %
Unused Returned Value All, Analyze, OneFile, Dead code, Simple, Unused 3 1 Minor 41 %
Uses Default Values Analyze, All, Simple, CI-checks, ChangedBehavior, CE 18 3 Minor 98 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, ChangedBehavior, CE 3 1 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, ChangedBehavior, CE 15 2 Minor 0 %
Empty Interfaces Analyze, All, Simple, ChangedBehavior 1 1 Minor 41 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, ChangedBehavior, CE 10 5 Major 72 %
Useless Interfaces Analyze, ClearPHP, All, Simple, ClassReview, Typechecks, ChangedBehavior 1 1 Minor 59 %
Should Make Alias Analyze, OneFile, All, Simple, CI-checks, ChangedBehavior, CE 2 1 Minor 46 %
Unresolved Use Analyze, ClearPHP, All, Simple, ChangedBehavior 22 8 Major 69 %
strpos() Too Much All, Analyze, CI-checks, ChangedBehavior, CE 1 1 Minor 49 %
Use random_int() Analyze, Security, All, CompatibilityPHP71, Simple, Level 2, CI-checks, ChangedBehavior, CE 1 1 Major 59 %
False To Array Conversion All, LintButWontExec, CompatibilityPHP81, CompatibilityPHP82, Analyze, ChangedBehavior 10 1 Minor 0 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated, ChangedBehavior 2 2 Minor 0 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74, CI-checks, ChangedBehavior, CE 6 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 3 3 Minor 0 %
Check JSON All, Analyze, CI-checks, CE 1 1 Major 65 %
Could Be A Static Variable Analyze, OneFile, All, ClassReview, ChangedBehavior 1 1 Major 23 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks, CE 4 2 Minor 66 %
Empty Try Catch Analyze, All, Level 3 3 2 Minor 49 %
Global Usage Analyze, Appinfo, ClearPHP, All, ChangedBehavior, CE 1 1 Minor 52 %
Max Level Of Nesting All, Analyze, ChangedBehavior 1 1 Minor 0 %
Missing Assignation In Branches All, Analyze, ChangedBehavior 2 2 Minor 0 %
Maybe Missing New All, Analyze, ChangedBehavior 2 1 Critical 57 %
Nested Ifthen Analyze, All, RadwellCodes, ChangedBehavior 2 2 Major 84 %
Variable Is Not A Condition All, Analyze, ChangedBehavior 3 2 Minor 93 %
Preprocessable Analyze, All, Rector, ChangedBehavior 1 1 Minor 85 %
Timestamp Difference Analyze, All, Simple, Level 3, CI-checks, ChangedBehavior, CE 1 1 Major 49 %
Unsupported Types With Operators All, Analyze, CompatibilityPHP80, ChangedBehavior, CE 2 2 Minor 0 %
Useless Global Analyze, OneFile, All, Simple, Level 2, ChangedBehavior 1 1 Minor 27 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, ChangedBehavior, CE 1 1 Minor 49 %
StandaloneType True False Null All, Appcontent, Analyze, ChangedBehavior 3 1 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview, ChangedBehavior 12 2 Minor 0 %
Used Once Variables Analyze, OneFile, All, Simple, Top10, ChangedBehavior 1 1 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, ChangedBehavior, CE 31 4 Minor 95 %