2.3.46. Top10¶

This ruleset is a selection of analysis, with the top 10 most common. Actually, it is a little larger than that.

Total : 28 analysis

  • For Using Functioncall

  • Strpos()-like Comparison

  • Used Once Variables

  • Dangling Array References

  • Queries In Loops

  • Use const

  • Logical Should Use Symbolic Operators

  • Repeated print()

  • Objects Don’t Need References

  • No Real Comparison

  • No array_merge() In Loops

  • Unresolved Instanceof

  • Avoid Substr() One

  • No Choice

  • Failed Substr() Comparison

  • Unitialized Properties

  • Could Use str_repeat()

  • Logical Operators Favorite

  • Avoid Concat In Loop

  • Next Month Trap

  • Substring First

  • Use List With Foreach

  • Don’t Unset Properties

  • Avoid Real

  • Should Yield With Key

  • fputcsv() In Loops

  • Possible Missing Subpattern

  • Concat And Addition

2.3.46.1. Specs¶

Short name

Top10

Available in

Entreprise Edition, Exakat Cloud

Reports

Top10

Exakat

Navigation

  • Introduction
  • Release Note

GETTING STARTED

  • Standard installation
  • Docker installation
  • Tutorials

USER GUIDE

  • Overview
  • PHP Version
  • Library & Framework Support
  • Configuration
  • Scoping analysis
  • Rule
  • Report
  • Cobbler

REFERENCE GUIDE

  • 1. Rules
  • 2. Rulesets
  • 3. Reports
  • 4. Cobblers
  • 5. Real Code Cases

ADMINISTRATOR GUIDE

  • Installation
  • Upgrading
  • Configuration
  • Commands

OTHERS

  • Frequently Asked Questions
  • Glossary
  • Annex

Related Topics

  • Documentation overview
    • 2. Rulesets
      • Previous: 2.3.45. Surprising
      • Next: 2.3.47. Typechecks
©2015-2025, Damien Seguy - Exakat. | Powered by Sphinx 8.2.3 & Alabaster 1.0.0 | Page source