Practical Code Coverage

Practical Code Coverage

By Paul Johnson (‎pjcj‎) from Z├╝
Date: Friday, 22 March 2013 15:15
Duration: 20 minutes
Language: English

The culture of testing is now well established within the Perl community as a whole. It has a similar status within a number of other development communities, or at least it is moving in that direction. Similarly, code coverage has become well established as an important testing tool.

I'll provide a brief introduction to code coverage and then focus on how to effectively use the Perl code coverage tool, Devel::Cover. Devel::Cover is one of the more fully featured and unobtrusive coverage tools of any software language.

Topics to be covered include:

- an introduction to code coverage
- how to run Devel::Cover
- how to view and interpret the results
- how to integrate Devel::Cover into the build process

I'd also like to take a look at some of the work I have recently completed in association with my grant from The Perl Foundation to work on Devel::Cover, and then take a look at potential future developments.