PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Weak Type With Array All, Analyze 1 1 Minor 0 %
Class Could Be Final All, Analyze, ClassReview 1 1 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 7 1 Minor 92 %
Assign Default To Properties Analyze, ClearPHP, All, Simple, Level 2 2 1 Minor 71 %
Make Global A Property Analyze, All, Simple 1 1 Minor 37 %
Forgotten Visibility Analyze, ClearPHP, All, Simple, Level 1, CI-checks, CE 16 1 Minor 42 %
Should Use Local Class Analyze, ClearPHP, All, Simple 9 1 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 4 1 Major 91 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 2 1 Major 61 %
Unresolved Classes Analyze, All, Stubs 1 1 Major 76 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, CE 2 1 Minor 71 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 2 1 Minor 71 %
Could Make A Function All, Analyze, Suggestions 14 1 Minor 66 %
Relay Function Analyze, All 1 1 Major 84 %
Too Many Local Variables All, Analyze 1 1 Minor 64 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 65 1 Major 68 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 15 1 Minor 98 %
Don't Pollute Global Space All, Analyze 1 1 Minor 0 %
No Class In Global All, Analyze, CI-checks, CE 1 1 Minor 77 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 1 1 Minor 0 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 3 1 Minor 64 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks, CE 5 1 Minor 77 %
Buried Assignation Analyze, All 1 1 Minor 84 %
Could Be Static Analyze, OneFile, All, ClassReview 1 1 Major 23 %
Could Use __DIR__ Analyze, All, Simple, Suggestions, Level 3, php-cs-fixable, CI-checks, CE 1 1 Major 56 %
Double Assignation Analyze, All 1 1 Major 59 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks, CE 1 1 Major 61 %
Global Usage Analyze, Appinfo, ClearPHP, All, CE 1 1 Minor 52 %
Max Level Of Nesting All, Analyze 1 1 Minor 0 %
Merge If Then All, Analyze, CI-checks, CE 1 1 Minor 0 %
Missing Assignation In Command All, Analyze 2 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 3 1 Minor 63 %
Nested Ifthen Analyze, All, RadwellCodes 3 1 Major 84 %
Variable Is Not A Condition All, Analyze 1 1 Minor 93 %
Several Instructions On The Same Line Analyze, All 5 1 Major 56 %
Use Constant Instead Of Function PHP recommendations, All, Analyze, php-cs-fixable, CI-checks, CE 1 1 Minor 61 %
Useless Global Analyze, OneFile, All, Simple, Level 2 1 1 Minor 27 %
Should Typecast Analyze, OneFile, All, Simple, CI-checks, Rector, CE 3 1 Minor 49 %
Undefined Variable All, Analyze, CI-checks, Undefined, CE 2 1 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 1 1 Minor 74 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 3 1 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 1 1 Minor 87 %