Introduction to PHP Code Sniffer and Friends

2014 年 10 月 28 日4470

PHP Code Sniffer, PHP Mess Detector (PHPMD), and PHP Copy/Paste Detector are static analysis tools -- they are programs that will examine PHP code without running and flag potential bugs, coding standards violations, or generate various statistics. They can be applied to Drupal code, and invoking the tools can be integrated into the Coder module.

This talk will provide a brief introduction to the tools, show you how to install them, and then we will run them on various Drupal contrib modules and example custom code and look at the results together. The talk will be very hands on, code-demo oriented, and will work well as a BoF also.

0 0
51La
Loading...