Recipes

Presentation

Analysis are grouped in different standard recipes, that may be run independantly. Each recipe has a focus target,

Recipes runs all its analysis and any needed dependency.

Recipes are configured with the -T option, when running exakat in command line.

php exakat.phar analyze -p <project> -T <Security/DirectInjection>

List of recipes

Here is the list of the current recipes supported by Exakat Engine.

Name Description
Analyze Check for common best practices.
CakePHP Check for code used with the Slim Framework
Dead code Check the unused code or unreachable code.
CompatibilityPHP70 List features that are incompatible with PHP 7.0.
CompatibilityPHP71 List features that are incompatible with PHP 7.1.
CompatibilityPHP72 List features that are incompatible with PHP 7.2. It is also known as php-src.
CompatibilityPHP56 List features that are incompatible with PHP 5.6.
Performances Check the code for slow code.
Security Check the code for common security bad practices, especially in the Web environnement.
Slim Framework Check for code used with the Slim Framework
Wordpress Check for code used with the Wordpress platform
Zend Framework Check for code used with the Zend Framework 3
CompatibilityPHP55 List features that are incompatible with PHP 5.5.
CompatibilityPHP54 List features that are incompatible with PHP 5.4.
CompatibilityPHP53 List features that are incompatible with PHP 5.3.
Coding Conventions List coding conventions violations.

Note : in command line, don’t forget to add quotes to recipes’s names that include white space.

Recipes details

Analyze

Total : 320 analysis

ZendFramework

Total : 237 analysis