PHP Static analysis for advanced-custom-forms

Label Recipes Issues Files Severity Frequence
Avoid Optional Properties All, Analyze 4 1 Major 83 %
Class Could Be Final All, Analyze, ClassReview 1 1 Minor 95 %
Make Global A Property Analyze, All, Simple 1 1 Minor 33 %
Undefined Classes Analyze, All 1 1 Major 91 %
Unresolved Classes Analyze, All 1 1 Major 86 %
Unused Methods Dead code, All, Simple 1 1 Minor 95 %
Undefined Constants Analyze, All, Simple, CompatibilityPHP72, CI-checks 3 1 Minor 54 %
Missing Include All, Analyze 4 2 Critical 61 %
Could Make A Function All, Analyze, Suggestions 49 3 Minor 75 %
Hardcoded Passwords Analyze, OneFile, Security, All, Simple, Level 3 1 1 Major 61 %
Only Variable Passed By Reference All, Analyze 2 1 Critical 40 %
Too Many Local Variables All, Analyze 1 1 Minor 65 %
Undefined Functions Analyze, All, CI-checks 169 4 Major 71 %
Unused Arguments Analyze, All, Simple 2 1 Major 89 %
Useless Return Analyze, OneFile, All, Simple, Level 4 1 1 Minor 29 %
Uses Default Values Analyze, All, Simple, CI-checks 26 5 Minor 97 %
Methods Without Return All, Analyze 18 3 Minor 0 %
Wrong Number Of Arguments Analyze, OneFile, All, Simple, CI-checks 1 1 Major 38 %
Don't Pollute Global Space All, Analyze 19 3 Minor 0 %
Use === null Analyze, OneFile, All, RadwellCodes, Simple, php-cs-fixable, CI-checks 1 1 Minor 52 %
Logical Should Use Symbolic Operators Analyze, OneFile, ClearPHP, All, Simple, Suggestions, Level 2, Top10, php-cs-fixable, CI-checks 1 1 Minor 42 %
No Class In Global All, Analyze, CI-checks 19 3 Minor 78 %
PHP Keywords As Names Analyze, All, Simple 8 1 Major 89 %
Wrong Type For Native PHP Function All, Analyze, CI-checks 2 1 Minor 0 %
Direct Injection Security, All 1 1 Major 41 %
Indirect Injection Security, All 6 3 Critical 21 %
Alternative Syntax Consistence All, Analyze 3 1 Major 20 %
Strict Comparison With Booleans Analyze, All, Simple, Suggestions, Level 2, CI-checks 1 1 Minor 76 %
Check JSON All, Analyze, CI-checks 1 1 Major 64 %
Common Alternatives Analyze, All, Simple 12 2 Major 61 %
Concat Empty String All, Analyze, OneFile 1 1 Minor 0 %
Could Be Static Analyze, OneFile, All, ClassReview 1 1 Major 20 %
Dont Change The Blind Var All, Analyze 1 1 Minor 72 %
Echo With Concat Performances, Analyze, All, Simple, Suggestions 1 1 Minor 58 %
Else If Versus Elseif Analyze, All, Simple, php-cs-fixable, Rector, CI-checks 1 1 Minor 65 %
Empty Blocks Analyze, All, Simple, CI-checks 1 1 Minor 57 %
Empty Instructions Dead code, Analyze, All, Simple 93 3 Minor 43 %
Exit() Usage Analyze, Appinfo, OneFile, ClearPHP, All, CI-checks 2 2 Major 60 %
Global Usage Analyze, Appinfo, ClearPHP, All 7 4 Minor 52 %
Htmlentities Calls Analyze, All, Simple, CI-checks 2 2 Major 39 %
Iffectations Analyze, All 1 1 Minor 80 %
Implied If Analyze, ClearPHP, All, Simple, CI-checks 1 1 Major 29 %
Inconsistent Elseif All, Analyze 1 1 Major 73 %
Max Level Of Nesting All, Analyze 1 1 Minor 0 %
Merge If Then All, Analyze, CI-checks 2 1 Minor 0 %
Modernize Empty With Expression All, Analyze, OneFile, Simple 1 1 Minor 56 %
Nested Ifthen Analyze, All, RadwellCodes 10 3 Major 87 %
No Parenthesis For Language Construct Analyze, ClearPHP, All, RadwellCodes, Simple, Suggestions, Level 2, CI-checks 4 3 Minor 61 %
Variable Is Not A Condition All, Analyze 2 2 Minor 57 %
include_once() Usage Analyze, Appinfo, All 2 1 Minor 73 %
Several Instructions On The Same Line Analyze, All 10 2 Major 57 %
Should Make Ternary All, Analyze, OneFile, Simple, CI-checks 3 1 Minor 85 %
Preprocessable Analyze, All, Rector 3 1 Minor 86 %
Static Loop Analyze, All, Simple, Level 4 14 3 Minor 65 %
Switch To Switch Analyze, All, RadwellCodes, Simple 1 1 Minor 79 %
Unchecked Resources Analyze, ClearPHP, All, Simple, Level 2, CI-checks 1 1 Major 49 %
Use Positive Condition All, Analyze, OneFile, Simple 5 2 Minor 81 %
Useless Global Analyze, OneFile, All, Simple, Level 2 1 1 Minor 24 %
Useless Instructions Analyze, OneFile, ClearPHP, All, Simple, Level 1, CI-checks 1 1 Minor 58 %
Undefined Variable All, Analyze, CI-checks 5 3 Minor 77 %
Used Once Variables Analyze, OneFile, All, Simple, Top10 4 2 Minor 87 %
Used Once Variables (In Scope) Analyze, ClearPHP, OneFile, All, Simple, Level 4 10 4 Minor 95 %
Written Only Variables Analyze, OneFile, All, Simple 1 1 Minor 78 %