Permalink
Browse files

import Devel::Cover 0.26

  • Loading branch information...
1 parent ebc643f commit 69e20fb9e4bdd814e888859032e7a2db9193b679 @pjcj committed Nov 3, 2004
View
@@ -149,3 +149,7 @@ Release 0.24 - 10th October 2003
Release 0.25 - 10th October 2003
- Fix for perl 5.6.1. Cwd::abs_path($d) gets upset if $d doesn't exist.
- Start of some changes to cpancover HTML.
+
+Release 0.26 - 12th October 2003
+ - Decline to output HTML results for conditions containing > 16 terms.
+ - Add titles to HTML output.
View
@@ -1,7 +1,7 @@
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Devel-Cover
-version: 0.25
+version: 0.26
version_from:
installdirs: site
requires:
View
@@ -19,8 +19,8 @@ use ExtUtils::Manifest "maniread";
$| = 1;
-my $Version = "0.25";
-my $Date = "10th October 2003";
+my $Version = "0.26";
+my $Date = "12th October 2003";
my $Author = 'pjcj@cpan.org';
my @perlbug = ("perlbug", "-a", $Author,
View
@@ -12,9 +12,9 @@ require 5.6.1;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
-use Devel::Cover::DB 0.25;
+use Devel::Cover::DB 0.26;
use Getopt::Long;
@@ -32,6 +32,7 @@ my $Options =
sub get_options
{
+ @ARGV = qw( -report html ) unless @ARGV;
die "Bad option" unless
GetOptions($Options, # Store the options in the Options hash.
"write:s" => sub
@@ -202,7 +203,7 @@ See the BUGS file.
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
View
@@ -12,9 +12,9 @@ require 5.6.1;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
-use Devel::Cover::DB 0.25;
+use Devel::Cover::DB 0.26;
use Cwd ();
use File::Find ();
@@ -309,7 +309,7 @@ package Devel::Cover::Cpancover::Template::Provider;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Template::Provider";
@@ -345,7 +345,7 @@ $Templates{html} = <<'EOT';
<!--
-This file was generated by Devel::Cover Version 0.25
+This file was generated by Devel::Cover Version 0.26
Devel::Cover is copyright 2001-2003, Paul Johnson (pjcj@cpan.org)
@@ -454,7 +454,7 @@ The following exit values are returned:
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
View
@@ -12,11 +12,11 @@ require 5.6.1;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use blib;
-use Devel::Cover::Test 0.25;
+use Devel::Cover::Test 0.26;
my @tests = @ARGV;
View
@@ -12,9 +12,9 @@ require 5.6.1;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
-use Devel::Cover::DB 0.25;
+use Devel::Cover::DB 0.26;
use Getopt::Long;
use Pod::Usage;
@@ -128,7 +128,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
View
@@ -11,12 +11,12 @@ use strict;
use warnings;
our @ISA = qw( DynaLoader );
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use DynaLoader ();
-use Devel::Cover::DB 0.25;
-use Devel::Cover::Inc 0.25;
+use Devel::Cover::DB 0.26;
+use Devel::Cover::Inc 0.26;
use B qw( class ppname main_cv main_start main_root walksymtable OPf_KIDS );
use B::Debug;
@@ -694,15 +694,19 @@ Devel::Cover - Code coverage metrics for Perl
=head1 SYNOPSIS
perl -MDevel::Cover yourprog args
- cover cover_db -report html
+ cover
perl -MDevel::Cover=-db,cover_db,-coverage,statement,time yourprog args
To test an uninstalled module:
cover -delete
HARNESS_PERL_SWITCHES=-MDevel::Cover make test
- cover -report html
+ cover
+
+ If the module does not use the t/*.t framework:
+
+ PERL5OPT=-MDevel::Cover make test
=head1 DESCRIPTION
@@ -784,7 +788,7 @@ See the BUGS file.
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,7 +10,7 @@ package Devel::Cover::Branch;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Devel::Cover::Criterion";
@@ -76,7 +76,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,7 +10,7 @@ package Devel::Cover::Condition;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Devel::Cover::Criterion";
@@ -80,7 +80,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,7 +10,7 @@ package Devel::Cover::Condition_and_3;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Devel::Cover::Condition";
@@ -46,7 +46,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,7 +10,7 @@ package Devel::Cover::Condition_or_2;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Devel::Cover::Condition";
@@ -46,7 +46,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,7 +10,7 @@ package Devel::Cover::Condition_or_3;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Devel::Cover::Condition";
@@ -46,7 +46,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,7 +10,7 @@ package Devel::Cover::Condition_xor_4;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Devel::Cover::Condition";
@@ -45,7 +45,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,18 +10,18 @@ package Devel::Cover::Criterion;
use strict;
use warnings;
-our $VERSION = "0.25";
-
-use Devel::Cover::Statement 0.25;
-use Devel::Cover::Branch 0.25;
-use Devel::Cover::Condition 0.25;
-use Devel::Cover::Condition_or_2 0.25;
-use Devel::Cover::Condition_or_3 0.25;
-use Devel::Cover::Condition_and_3 0.25;
-use Devel::Cover::Condition_xor_4 0.25;
-use Devel::Cover::Subroutine 0.25;
-use Devel::Cover::Time 0.25;
-use Devel::Cover::Pod 0.25;
+our $VERSION = "0.26";
+
+use Devel::Cover::Statement 0.26;
+use Devel::Cover::Branch 0.26;
+use Devel::Cover::Condition 0.26;
+use Devel::Cover::Condition_or_2 0.26;
+use Devel::Cover::Condition_or_3 0.26;
+use Devel::Cover::Condition_and_3 0.26;
+use Devel::Cover::Condition_xor_4 0.26;
+use Devel::Cover::Subroutine 0.26;
+use Devel::Cover::Time 0.26;
+use Devel::Cover::Pod 0.26;
sub new
{
@@ -79,7 +79,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,10 +10,10 @@ package Devel::Cover::DB;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
-use Devel::Cover::DB::File 0.25;
-use Devel::Cover::Criterion 0.25;
+use Devel::Cover::DB::File 0.26;
+use Devel::Cover::Criterion 0.26;
use Carp;
use Data::Dumper;
@@ -561,7 +561,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,9 +10,9 @@ package Devel::Cover::DB::File;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
-use Devel::Cover::Criterion 0.25;
+use Devel::Cover::Criterion 0.26;
sub calculate_summary
{
@@ -78,7 +78,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
@@ -10,7 +10,7 @@ package Devel::Cover::Op;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use Devel::Cover qw( -ignore blib -ignore \\wB\\w -indent 1 );
use B::Concise qw( set_style add_callback );
@@ -10,7 +10,7 @@ package Devel::Cover::Pod;
use strict;
use warnings;
-our $VERSION = "0.25";
+our $VERSION = "0.26";
use base "Devel::Cover::Criterion";
@@ -72,7 +72,7 @@ Huh?
=head1 VERSION
-Version 0.25 - 10th October 2003
+Version 0.26 - 12th October 2003
=head1 LICENCE
Oops, something went wrong.

0 comments on commit 69e20fb

Please sign in to comment.