PHP Static analysis for swagger

Label Recipes Issues Files Severity Frequence
String Initialization All, CompatibilityPHP71 2 1 Minor 33 %
Too Many Array Dimensions All, Analyze 6 1 Minor 0 %
Ambiguous Visibilities All, Analyze 2 2 Minor 70 %
Class Could Be Final All, Analyze, ClassReview 9 9 Minor 95 %
Method Could Be Static All, Analyze, ClassReview 4 2 Minor 95 %
Locally Unused Property Dead code, All, Simple 5 4 Minor 76 %
No Public Access Analyze, All 4 1 Minor 60 %
Never Used Properties Analyze, All, Simple 5 4 Minor 72 %
Should Use Local Class Analyze, ClearPHP, All, Simple 7 3 Minor 94 %
Undefined Classes Analyze, All 34 5 Major 91 %
Undefined ::class All, Analyze, CI-checks 10 3 Major 34 %
Unresolved Classes Analyze, All 1 1 Major 86 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 7 2 Major 48 %
Unused Classes Dead code, All, Simple, Analyze 1 1 Major 72 %
Unused Methods Dead code, All, Simple 9 5 Minor 95 %
Unused Private Methods Dead code, OneFile, All, Simple 1 1 Minor 45 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks 2 2 Minor 54 %
Uncaught Exceptions Analyze, All 2 2 Minor 81 %
Use Named Boolean In Argument Definition All, Analyze 1 1 Minor 84 %
Callback Needs Return All, Analyze, CI-checks 1 1 Major 51 %
Never Used Parameter All, Analyze, Suggestions 2 1 Minor 47 %
No Boolean As Default All, Analyze 1 1 Minor 84 %
Too Many Local Variables All, Analyze 1 1 Minor 65 %
Undefined Functions Analyze, All, CI-checks 1 1 Major 71 %
Unused Arguments Analyze, All, Simple 3 2 Major 89 %
Unused Functions Dead code, All, Simple 3 1 Minor 53 %
Uses Default Values Analyze, All, Simple, CI-checks 35 4 Minor 97 %
Methods Without Return All, Analyze 2 1 Minor 0 %
Undefined Interfaces Analyze, All, CI-checks 9 2 Major 67 %
Unresolved Use Analyze, ClearPHP, All, Simple 30 8 Major 65 %
Unused Use Dead code, ClearPHP, All, Simple 2 1 Major 54 %
Don't Pollute Global Space All, Analyze 3 1 Minor 0 %
List Short Syntax Internal, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Appinfo 1 1 Major 10 %
No Class In Global All, Analyze, CI-checks 3 1 Minor 78 %
PHP 7.0 Scalar Typehints All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 1 1 Critical 31 %
PHP 7.2 Scalar Typehints All, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP71, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 1 1 Critical 0 %
Php7 Relaxed Keyword CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56, All, Appinfo 1 1 Major 25 %
PHP Keywords As Names Analyze, All, Simple 9 3 Major 89 %
Use Nullable Type All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 2 2 Major 21 %
Wrong Type For Native PHP Function All, Analyze, CI-checks 4 1 Minor 0 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks 3 1 Minor 76 %
Buried Assignation Analyze, All 3 1 Minor 82 %
Check All Types All, Analyze 5 1 Major 68 %
Common Alternatives Analyze, All, Simple 3 1 Major 61 %
Dont Change The Blind Var All, Analyze 1 1 Minor 72 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks 5 2 Major 29 %
Max Level Of Nesting All, Analyze 1 1 Minor 0 %
Merge If Then All, Analyze, CI-checks 1 1 Minor 0 %
Nested Ifthen Analyze, All, RadwellCodes 2 1 Major 87 %
Variable Is Not A Condition All, Analyze 11 3 Minor 57 %
Preprocessable Analyze, All, Rector 2 2 Minor 86 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 5 1 Minor 58 %
String May Hold A Variable Analyze, All, Simple 15 1 Minor 58 %
Assigned Twice All, Analyze 5 1 Minor 78 %
Overwritten Literals Analyze, All 6 1 Major 78 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4 5 2 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple 1 1 Minor 78 %