.. _ruleset-top10: 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 * :ref:`for-using-functioncall` * :ref:`strpos()-like-comparison` * :ref:`used-once-variables` * :ref:`dangling-array-references` * :ref:`queries-in-loops` * :ref:`use-const` * :ref:`logical-should-use-symbolic-operators` * :ref:`repeated-print()` * :ref:`objects-don't-need-references` * :ref:`no-real-comparison` * :ref:`no-array\_merge()-in-loops` * :ref:`unresolved-instanceof` * :ref:`avoid-substr()-one` * :ref:`no-choice` * :ref:`failed-substr()-comparison` * :ref:`unitialized-properties` * :ref:`could-use-str\_repeat()` * :ref:`logical-operators-favorite` * :ref:`avoid-concat-in-loop` * :ref:`next-month-trap` * :ref:`substring-first` * :ref:`use-list-with-foreach` * :ref:`don't-unset-properties` * :ref:`avoid-real` * :ref:`should-yield-with-key` * :ref:`fputcsv()-in-loops` * :ref:`possible-missing-subpattern` * :ref:`concat-and-addition` Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Top10 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Reports | :ref:`report-top10` | +--------------+-------------------------------------------------------------------------------------------------------------------------+