Introduction to automated, static code analysis in PHP

Static analysis of a PHP project by a CIP such as Jenkins requires optimization of the rules for excluding directories that are not part of the developed code. In the following article I want to introduce the most common methods and tools addressing static code analysis in PHP.

Static analysis tools

Beside the usual checks like manual code review, training (e.g. using XP programming sessions) and automated unit tests using PHPUnit, there are some metrics that can be measured automatically making my work easier and helping to reduce error rates in the review process.

So, I want indicators that can measure the quality of my code. These indicators are produced by third-party tools (for the most part, it is a port – for the PHP – of analysis tools from the Java world) such as:

 

Read more from original source: Introduction to automated, static code analysis in PHP

References:

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s