PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Weak Type With Array All, Analyze 1 1 Minor 0 %
Method Could Be Static All, Analyze, ClassReview 18 1 Minor 92 %
Make Global A Property Analyze, All, Simple 1 1 Minor 37 %
Should Use Local Class Analyze, ClearPHP, All, Simple 19 1 Minor 95 %
Static Methods Called From Object Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 1 1 Minor 50 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 1 1 Major 91 %
Unresolved Classes Analyze, All, Stubs 1 1 Major 76 %
Use ::Class Operator All, Analyze, Performances, Simple, CI-checks, CE 1 1 Minor 71 %
Use const Analyze, Coding Conventions, All, Top10, CI-checks, CE 1 1 Minor 54 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 5 1 Minor 71 %
Missing Include All, Analyze 17 1 Critical 65 %
Could Make A Function All, Analyze, Suggestions 24 1 Minor 66 %
Empty Function Analyze, All, Simple 1 1 Minor 74 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 199 1 Major 68 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 16 1 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 1 1 Major 81 %
Don't Pollute Global Space All, Analyze 3 1 Minor 0 %
No Class In Global All, Analyze, CI-checks, CE 2 1 Minor 77 %
Bail Out Early All, Analyze, OneFile, Simple, Level 4 2 1 Minor 64 %
Check JSON All, Analyze, CI-checks, CE 2 1 Major 65 %
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 2 1 Major 56 %
Empty Instructions Dead code, Analyze, All, Simple 1 1 Minor 57 %
Global Usage Analyze, Appinfo, ClearPHP, All, CE 1 1 Minor 52 %
Iffectations Analyze, All 3 1 Minor 80 %
Long Arguments All, Analyze 2 1 Minor 68 %
Merge If Then All, Analyze, CI-checks, CE 3 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 1 1 Minor 63 %
Nested Ifthen Analyze, All, RadwellCodes 1 1 Major 84 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks, CE 1 1 Minor 62 %
Variable Is Not A Condition All, Analyze 3 1 Minor 93 %
include_once() Usage Analyze, Appinfo, All, CE 15 1 Minor 73 %
Preprocessable Analyze, All, Rector 11 1 Minor 85 %
Use Constant Instead Of Function PHP recommendations, All, Analyze, php-cs-fixable, CI-checks, CE 2 1 Minor 61 %
Useless Global Analyze, OneFile, All, Simple, Level 2 1 1 Minor 27 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks, CE 2 1 Minor 63 %
Assigned Twice All, Analyze 2 1 Minor 79 %
Overwritten Literals Analyze, All 2 1 Major 79 %
Written Only Variables Analyze, OneFile, All, Simple, Unused 2 1 Minor 87 %