Auth/test.pl

filter: Statementstmt 66.6% 4 / 6 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 72.7% 8 / 11 CC 2 SCAR 5.0
CC
2
Cov
62%
END
2.1
BEGIN
1.3
BEGIN
1.0
CRAP 1.6
« blib/lib/Apache/AuthenSecurID/Auth.pm ↑ Summary blib/lib/Apache/AuthenSecurID.pm »
1 # $Id: test.pl,v 1.1 2001/06/22 19:09:04 root Exp $
2  
3 # Before `make install' is performed this script should be runnable with
4 # `make test'. After `make install' it should work as `perl test.pl'
5  
6 ######################### We start with some black magic to print on failure.
7  
8 # Change 1..1 below to 1..last_test_to_print .
9 # (It may become useful if the test is moved to ./t subdirectory.)
10  
11 1 ▶BEGIN { $| = 1; print "1..1\n"; }
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 ▶END {print "not ok 1\n" unless $loaded;}
Subroutine END: called CC=2 SCAR=7.6
Branch: 1 branch
BranchTrueFalseTotal
unless $loaded 1 0 1
13 0 ▶use Apache::AuthenSecurID;
Subroutine BEGIN: called CC=1 SCAR=2.6
14 $loaded = 1;
15 print "ok 1\n";
16  
17 ######################### End of black magic.
18  
19 # Insert your test code below (better if it prints "ok 13"
20 # (correspondingly "not ok 13") depending on the success of chunk 13
21 # of the test code):
22  
« blib/lib/Apache/AuthenSecurID/Auth.pm ↑ Summary blib/lib/Apache/AuthenSecurID.pm »