File Coverage

blib/lib/NexposeSimpleXML/Parser/Vulnerability.pm
Criterion Covered Total %
statement 3 7 42.8
branch n/a
condition n/a
subroutine 1 2 50.0
pod 0 1 0.0
total 4 10 40.0


line stmt bran cond sub pod time code
1             # $sslversion: Cipher.pm 18 2008-05-05 23:55:18Z jabra $
2             package NexposeSimpleXML::Parser::Vulnerability;
3             {
4 1     1   1237 use Object::InsideOut;
  1         2  
  1         7  
5              
6             my @id : Field : Arg(id) : Get(id);
7             my @result_code : Field : Arg(result_code) : Get(result_code);
8             my @references : Field : All(references) :
9             Type(List(NexposeSimpleXML::Parser::Reference));
10              
11             sub get_all_references {
12 0     0 0   my ($self) = @_;
13 0           my @all_references = @{ $self->references };
  0            
14 0           return @all_references;
15             }
16             }
17             1;