This module provides code coverage metrics for Perl.
If you can't guess by the version number this is an alpha release.
Code coverage data are collected using a pluggable runops function which counts how many times each op is executed. These data are then mapped back to reality using the B compiler modules. There is also a statement profiling facility which needs a better backend to be really useful.
The cover program can be used to generate coverage reports.
Statement, branch, condition, subroutine, pod and time coverage information is reported. Statement coverage data should be reasonable, although there may be some statements which are not reported. Branch and condition coverage data should be mostly accurate too, although not always what one might initially expect. Subroutine coverage should be as accurate as statement coverage. Pod coverage comes from Pod::Coverage. Coverage data for path coverage are not yet collected.
The gcov2perl program can be used to convert gcov files to Devel::Cover databases.
You may find that the results don't match your expectations. I would imagine that at least one of them is wrong.
* Perl 5.6.1 or greater Perl 5.7.0 is unsupported. Perl 5.8.1 or greater is recommended. Whilst Perl 5.6 should work you will probably miss out on coverage information which would be available using a more modern version.
* The ability to compile XS extensions. This means a working compiler and make program at least.
* Storable and Digest::MD5 Both are in the core in Perl 5.8.0 and above.
* Pod::Coverage if you want Pod coverage.
* Test::Differences if the tests fail and you would like nice output telling you why.
Have a peek at what happened when I ran Devel::Cover on some CPAN modules. Note that this link may not always be available, and that all the results should be seasoned to taste. This is an automated process, and there are probably bugs at all the stages.
Download Devel-Cover-0.46.tar.gz (91k).
The Church of Jesus Christ of Latter-Day Saints. Information about Gedcom is available as an exe file at familysearch.org. Unfortunately, this is only usable if you can access a PC running Windows of some description. Part of the reason I wrote this module is because I don't do that. Well, I didn't. I can now although I prefer not to...
The Gedcom format is specified in a grammar. Gedcom.pm parses the grammar which is then used to validate and allow manipulation of the Gedcom file. I have only used Gedcom.pm with version 5.5 of the Gedcom grammar, which I had to modify slightly to correct a few errors. The advantage of this approach is that Gedcom.pm should be useful if the Gedcom grammar is ever updated. It also made the software easier to write, and probably more dependable too. I suppose this is the virtue of laziness shining through.
Download Gedcom-1.14.tar.gz (95k).
An old ppd for ActivePerl users is at http://homepage.swissonline.ch/pjcj/Gedcom.ppd
People kept asking about generating HTML using Gedcom.pm, and I kept saying that Gedcom.pm was too resource intensive to be used for CGI work and that I hadn't done anything about it. Well, now I have. royal92 contains about 3000 individuals and just under half that many families. Of course, the HTML is pretty minimal, but it's just hacked together for proof of concept.
Shell::Source allows arbitrary shell scripts, or other programs for that matter, to be run and their environment to be inherited into a Perl program.
Download Shell-Source-0.01.tar.gz (4k).
podgenThe podgen program automatically generates documentation stubs for Perl programs. The stub generated is in a standard format, with space to describe the overall working of the program or module as well as descriptions of all the subroutines found.
Download podgen-0.04.tar.gz (4k).
SureSpellSureSpell is a program I have written in Perl/Tk that is currently being used by the Farnborough Dyslexia & Learning Centre with DysCypher exercises to teach children and adults who are achieving below their potential, especially those that are dyslexic."
© Paul Johnson 1996-2004.