File Coverage

blib/lib/Acme/Marvel/CinematicUniverse/Character/Instance/Tony_Stark.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 18 19 94.7


line stmt bran cond sub pod time code
1 1     1   965 use 5.008;
  1         4  
2 1     1   6 use strict;
  1         1  
  1         20  
3 1     1   5 use warnings;
  1         2  
  1         55  
4              
5             package Acme::Marvel::CinematicUniverse::Character::Instance::Tony_Stark;
6              
7             our $AUTHORITY = 'cpan:TOBYINK';
8             our $VERSION = '0.002';
9              
10 1     1   16 use Acme::Marvel::CinematicUniverse::Character;
  1         3  
  1         99  
11              
12             my $tony = Acme::Marvel::CinematicUniverse::Character->new(
13             real_name => 'Tony Stark',
14             hero_name => 'Iron Man',
15             intelligence => 6,
16             strength => 6,
17             speed => 5,
18             durability => 6,
19             energy_projection => 6,
20             fighting_ability => 4,
21             );
22              
23             sub init {
24 1     1 0 3 my ( $me, $collector ) = ( shift, @_ );
25 1         3 $collector->load_character( $tony );
26             }
27              
28             1;
29