PHP Static analysis for public

Label Recipes Issues Files Severity Frequence
Could Be Abstract Class All, Analyze, ClassReview 1 1 Minor 65 %
Class Could Be Final All, Analyze, ClassReview 23 23 Minor 96 %
Method Could Be Static All, Analyze, ClassReview 8 6 Minor 92 %
Could Inject Param All, Analyze, ClassReview 2 1 Minor 0 %
No Direct Call To Magic Method Analyze, All, Level 2, CI-checks, CE 6 6 Major 43 %
No Public Access Analyze, All 9 3 Minor 61 %
Property Could Be Local All, Analyze, ClassReview 2 2 Minor 76 %
Never Used Properties Analyze, All, Simple, Unused 23 13 Minor 71 %
Property Used In One Method Only All, Analyze 10 9 Minor 84 %
Should Use Local Class Analyze, ClearPHP, All, Simple 9 7 Minor 95 %
Undefined Classes Analyze, All, Stubs, Undefined, IsPHP, IsStub, IsExt 107 30 Major 91 %
Undefined Class Constants Analyze, All, CI-checks, Stubs, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 5 1 Major 62 %
Undefined Properties Analyze, ClearPHP, All, Simple, CI-checks, CompatibilityPHP82, Undefined, ChangedBehavior, CE 1 1 Major 61 %
Undefined ::class All, Analyze, CI-checks, Undefined, CE 48 7 Major 36 %
Unfinished Object All, Analyze, ClassReview 18 12 Major 0 %
Unresolved Classes Analyze, All, Stubs 2 2 Major 76 %
Unused Classes Dead code, All, Simple, Analyze, Unused 1 1 Major 67 %
Unused Public Method All, Analyze 11 8 Minor 0 %
Used Once Property All, Analyze 8 8 Minor 74 %
Useless Constructor Analyze, All, Simple, Level 3 8 8 Minor 41 %
Throw Raw Exceptions All, Analyze, Suggestions 5 3 Minor 0 %
Uncaught Exceptions Analyze, All 6 4 Minor 84 %
Missing Include All, Analyze 3 3 Critical 65 %
Empty Function Analyze, All, Simple 13 12 Minor 74 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 1 1 Major 70 %
Method Is Not An If All, Analyze 1 1 Minor 0 %
Mismatched Typehint All, Analyze, Typechecks 1 1 Major 66 %
Relay Function Analyze, All 2 2 Major 84 %
Undefined Functions Analyze, All, CI-checks, Stubs, Undefined, IsPHP, IsStub, IsExt, CE 162 24 Major 68 %
Unknown Parameter Name All, Analyze, CI-checks, CE 3 1 Minor 0 %
Unused Parameter Analyze, All, Simple, Unused 2 2 Major 90 %
Uses Default Values Analyze, All, Simple, CI-checks, IsPHP, IsStub, IsExt, CE 27 8 Minor 98 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks, Stubs, IsPHP, IsStub, IsExt, CE 1 1 Major 81 %
Wrong Type Returned All, Analyze, ClassReview, CI-checks, LintButWontExec, CE 3 3 Minor 0 %
Wrong Type With Call All, Analyze, Typechecks, CI-checks, CE 3 3 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks, LintButWontExec, Undefined, IsPHP, IsStub, IsExt, CE 20 13 Major 72 %
Multiple Alias Definitions Analyze, All, Simple, CI-checks, CE 12 12 Minor 44 %
Unresolved Use Analyze, ClearPHP, All, Simple, IsPHP, IsStub, IsExt 81 40 Major 69 %
Don't Pollute Global Space All, Analyze 1 1 Minor 0 %
No Null For Native PHP Functions All, Analyze, CompatibilityPHP81, Deprecated 3 1 Minor 0 %
Wrong Type For Native PHP Function All, Analyze, CI-checks, CE 1 1 Minor 0 %
Comparison Is Always The Same All, Analyze 1 1 Minor 0 %
Buried Assignation Analyze, All 2 1 Minor 84 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple, CI-checks, Rector, CE 1 1 Minor 63 %
Empty Instructions Dead code, Analyze, All, Simple 1 1 Minor 57 %
Htmlentities Using Default Flag All, Analyze, Simple, CI-checks, ChangedBehavior 1 1 Minor 0 %
include_once() Usage Analyze, Appinfo, All, CE 1 1 Minor 73 %
Preprocessable Analyze, All, Rector 4 1 Minor 85 %
Useless Parenthesis Analyze, All, Simple, CI-checks, CE 1 1 Minor 81 %
Undefined Trait Analyze, All, LintButWontExec, CI-checks, Undefined, IsPHP, IsStub, IsExt, CE 8 3 Critical 15 %
Missing Some Returntype All, Typehints, Analyze, CI-checks, CE 2 2 Minor 0 %
StandaloneType True False Null All, Appcontent, Analyze 2 1 Minor 0 %
Wrong Type With Default All, Analyze, LintButWontExec, ClassReview 1 1 Minor 0 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4, CE 19 13 Minor 95 %