PHP Static analysis for tt-microapp

Label Recipes Issues Files Severity Frequence
Ambiguous Static All, Analyze 2 2 Minor 64 %
Class Could Be Final All, Analyze, ClassReview 16 16 Minor 95 %
Method Could Be Static All, Analyze, ClassReview 4 4 Minor 95 %
Incompatible Signature Methods With Covariance All, Analyze 2 1 Critical 0 %
Locally Unused Property Dead code, All, Simple 5 3 Minor 76 %
Method Signature Must Be Compatible All, Analyze, LintButWontExec 1 1 Critical 50 %
Never Used Properties Analyze, All, Simple 3 2 Minor 72 %
Property Used In One Method Only All, Analyze 1 1 Minor 84 %
Could Use self Analyze, All, Simple, Suggestions, Level 3, ClassReview 3 1 Minor 57 %
Should Use Local Class Analyze, ClearPHP, All, Simple 6 4 Minor 94 %
Undefined Classes Analyze, All 11 5 Major 91 %
Undefined Class Constants Analyze, All 4 1 Major 53 %
Undefined Properties Analyze, ClearPHP, All, Simple 10 2 Major 58 %
Unresolved Classes Analyze, All 1 1 Major 86 %
Unresolved Instanceof Analyze, Dead code, ClearPHP, All, Simple, Top10 1 1 Major 48 %
Unused Classes Dead code, All, Simple, Analyze 2 2 Major 72 %
Unused Class Constant All, Analyze, ClassReview 4 1 Minor 0 %
Unused Methods Dead code, All, Simple 24 15 Minor 95 %
Used Once Property All, Analyze 1 1 Minor 72 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72 2 2 Minor 54 %
Uncaught Exceptions Analyze, All 7 5 Minor 81 %
Could Make A Function All, Analyze, Suggestions 9 7 Minor 75 %
Insufficient Typehint All, Analyze, Typechecks 1 1 Major 24 %
Mismatched Typehint All, Analyze, Typechecks 3 2 Major 5 %
Never Used Parameter All, Analyze, Suggestions 6 6 Minor 47 %
Undefined Functions Analyze, All 10 2 Major 71 %
Unused Arguments Analyze, All, Simple 2 1 Major 89 %
Uses Default Values Analyze, All, Simple 17 11 Minor 97 %
Methods Without Return All, Analyze 6 4 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple 1 1 Major 38 %
Undefined Interfaces Analyze, All 2 2 Major 67 %
Unresolved Use Analyze, ClearPHP, All, Simple 5 5 Major 65 %
Unused Use Dead code, ClearPHP, All, Simple 2 2 Major 54 %
Use With Fully Qualified Name Analyze, Coding Conventions, PHP recommendations, All, Simple 1 1 Minor 16 %
Wrong Parameter Type Analyze, OneFile, All, Simple 2 2 Major 45 %
PHP 7.0 Scalar Typehints All, CompatibilityPHP53, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 13 9 Critical 31 %
PHP Keywords As Names Analyze, All, Simple 2 1 Major 89 %
Scalar Are Not Arrays All, Analyze, CompatibilityPHP74 2 1 Minor 0 %
Use Nullable Type All, Appinfo, CompatibilityPHP53, CompatibilityPHP70, CompatibilityPHP54, CompatibilityPHP55, CompatibilityPHP56 4 4 Major 21 %
Wrong Type For Native PHP Function All, Analyze 27 12 Minor 0 %
Avoid Those Hash Functions Security, All 1 1 Major 60 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2 1 1 Minor 76 %
Buried Assignation Analyze, All 3 3 Minor 82 %
Check All Types All, Analyze 1 1 Major 68 %
Check JSON All, Analyze 11 8 Major 64 %
Could Use Short Assignation Analyze, OneFile, Performances, All, Simple 2 1 Minor 60 %
Identical Consecutive Expression All, Analyze 8 1 Minor 58 %
Missing New ? All, Analyze 2 2 Critical 5 %
Variable Is Not A Condition All, Analyze 3 3 Minor 57 %
@ Operator Appinfo, ClearPHP, All, Analyze, Performances 2 2 Minor 66 %
Should Make Ternary All, Analyze, OneFile, Simple 2 2 Minor 85 %
Preprocessable Analyze, All, Rector 1 1 Minor 86 %
Use Positive Condition All, Analyze, OneFile, Simple 1 1 Minor 81 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4 3 2 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple 10 2 Minor 78 %