Static code analysis
During code development (modules, libraries, themes) it is important to integrate objective tools that measure the state of the code and provide information to know its quality and thus be able to detect and prevent problems: duplicate functions, excessively complex methods, low quality code, non-standard coding style...
These tests are automated by our continuous integration system (Jenkins) and are executed in each new version of the software allowing to have a history of its evolution.
We focus on
- Drupal Coding Standard (phpcs)
- Duplicated code (phpcpd)
- Complex code (phpmd)