Permalink
Browse files

documented

  • Loading branch information...
1 parent 3a24028 commit f64c977e3629dd2536c3a4723862cd66131f12e4 Xavier Caron committed Mar 27, 2012
Showing with 21 additions and 6 deletions.
  1. +21 −6 lib/Devel/Cover/Test.pm
View
@@ -21,6 +21,27 @@ use Devel::Cover::Inc;
my $Test;
+=head1 NAME
+
+Devel::Cover::Test - Internal module for testing
+
+=head1 FUNCTIONS
+
+=cut
+
+=head2 new
+
+ my $test = Devel::Cover::Test->new($test, criteria => $string)
+
+Constructor.
+
+"criteria" parameter (optional, defaults to "statement branch condition subroutine") is a space separated list of tokens.
+Supported tokens are "statement", "branch", "condition", "subroutine" and "pod".
+
+More optional parameters are supported. Refer to L</get_params> sub.
+
+=cut
+
sub new
{
my $class = shift;
@@ -504,9 +525,3 @@ END
1
__END__
-
-=head1 NAME
-
-Devel::Cover::Test - Internal module for testing
-
-=cut

0 comments on commit f64c977

Please sign in to comment.