blib/lib/POSIX/strptime.pm

filter: Statementstmt 100% 19 / 19 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 96.0% 24 / 25 CC 1 SCAR 0.0
CC
1
Cov
95%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« strptime.xs ↑ Summary
1 package POSIX::strptime;
2  
3 1 ▶use 5.000;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use XSLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use vars qw($VERSION @ISA @EXPORT_OK);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 $VERSION = '0.13';
10  
11 1 require Exporter;
12 1 @ISA = qw(Exporter);
13 1 @EXPORT_OK = qw(strptime);
14  
15 1 XSLoader::load __PACKAGE__, $VERSION;
16  
17 1 ▶if (not defined &POSIX::strptime) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined &POSIX::strptime) 1 0 1
18 1 *POSIX::strptime = \&strptime;
19 }
20  
21 # Preloaded methods go here.
22  
23 1 1;
24 __END__
« strptime.xs ↑ Summary