PhpED: PHP IDE
new features
features
version comparison
features: php tools
php debugger
php profiler
php frameworks
php scripts
features tour
licensing
php testing
PhpED difference
PhpED on Mac/Linux
testimonials
PhpDock
Nu-Coder
PhpExpress
TechPlatform

PHP Code Coverage in IDE

If you are using phpUnit to test your project PHP IDE will show you the percent of your code base covered by tests

How to setup Code Coverage in PHP IDE?

To setup the thresholds for Code Coverage user can navigate to Tools->Settigns->Misc and select Code Coverage tab there.
Setup Lower bound (red) and Upper bound(green) - these values will be used by PHP IDE to display the coverage. For example if there is a function with 10 lines of executable code with 7 of them flexed by the tests, the resulting coverage will be 70%. If this number is above Upper Bound it will be displayed in Green, if it is below it will be Red and in between will be shown in Yellow
Php Code Coverage Setup

How to check Code Coverage in PHP IDE?

PhpED provides Code Coverage automatically when phpUnit is used. phpUnit is tightly integrated with PHP IDE phpUnit tests in PHP IDE phpUnit tests code

When DBGSESID is passed in the URL php debugger will connect back to PHP IDE and show detected code coverage in Tools->Code coverage window.
It should be noted that Code Coverage is a stand alone independent feature and can be launched without phpUnit using, for example Tools-> Open URL or in LaunchPad or using "r" parameter with DBGSESSID (see this link for more info)
Php Code Coverage Display in IDE

 Download NuSphere PHP IDE

Download a free trial of the fast PHP EDitor and robust Integrated Development Environment for PHP.

 Buy NuSphere PhpED® now

Best PHP Editor and complete PHP IDE.
NuSphere PhpED 20.0 is available from our online store front.
"To be honest its bloody awesome, I have looked at loads of PHP editors and this is THE only one that actual works straight out of the box!!! Brilliant, well done."
Andrew Breward,
Director of Technology
caboodal.com

 Guide

Walk through NuSphere PhpED interface
PhpED video tutorial: Webservices
Learn how to add webservices to your code in less than 5 minutes (a flash demo).

 Special Team4 Offer

Get 4 copies of PhpED for the price of 3!

Optimum solution for development teams.
PhpED 20.0 Team4
Need more than 4 licenses? Contact Us for more quantity discounts, please use "Ordering/Payment issue" subject on the form.

 Dr. Dobb's

Dr. Dobb's

Dr. Dobb's Magazine covers NuSphere PhpED in New and Noteworthy section.

 InfoWorld

infoworld.com
PhpED is a proper, world-class IDE for PHP code. It is the only IDE worth considering if PHP development is your primary job