Email-POP3-Markdown-0.01/t/01_accessors.t

filter: Statementstmt 67.7% 21 / 31 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 73.6% 28 / 38 CC 1 SCAR 0.6
CC
1
Cov
68%
BEGIN
1.2
BEGIN
1.2
BEGIN
1.0
CRAP 1.1
« blib/lib/Image/Resize/Path.pm ↑ Summary Email-POP3-Markdown-0.01/t/02_public_methods.t »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶use lib './lib';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Test::More tests => 6;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 my $class= 'Image::Resize::Path';
8  
9 0 ▶BEGIN{ use_ok('Image::Resize::Path'); }
Subroutine BEGIN: called CC=1 SCAR=2.0
Subroutine BEGIN: called CC=1 SCAR=2.0
10  
11 1 my $test_obj = Image::Resize::Path->new;
12  
13 1 isa_ok($test_obj, $class);
14  
15 1 $test_obj->src_path('foo');
16  
17 0 is($test_obj->src_path, 'foo');
18  
19 0 my $images_hr = $test_obj->supported_images(['png']);
20  
21 0 is_deeply($images_hr, { png => 1 } );
22  
23 0 $images_hr = $test_obj->supported_images('png');
24  
25 0 is_deeply($images_hr, undef );
26  
27 0 $test_obj->dest_path('foo');
28  
29 0 is($test_obj->dest_path, 'foo');
« blib/lib/Image/Resize/Path.pm ↑ Summary Email-POP3-Markdown-0.01/t/02_public_methods.t »