File Coverage

lib/Rex/Inventory/DMIDecode/Bios.pm
Criterion Covered Total %
statement 16 16 100.0
branch n/a
condition 1 3 33.3
subroutine 5 5 100.0
pod 0 1 0.0
total 22 25 88.0


line stmt bran cond sub pod time code
1             #
2             # (c) Jan Gehring
3             #
4              
5             package Rex::Inventory::DMIDecode::Bios;
6              
7 39     39   505 use v5.12.5;
  39         144  
8 39     39   307 use warnings;
  39         93  
  39         1614  
9              
10             our $VERSION = '1.14.3'; # VERSION
11              
12 39     39   250 use Rex::Inventory::DMIDecode::Section;
  39         120  
  39         2162  
13 39     39   305 use base qw(Rex::Inventory::DMIDecode::Section);
  39         111  
  39         6723  
14              
15             __PACKAGE__->section("BIOS Information");
16              
17             __PACKAGE__->has( [ 'Vendor', 'Version', 'Release Date', ] );
18              
19             sub new {
20 3     3 0 5 my $that = shift;
21 3   33     10 my $proto = ref($that) || $that;
22 3         9 my $self = $that->SUPER::new(@_);
23              
24 3         7 bless( $self, $proto );
25              
26 3         7 return $self;
27             }
28              
29             1;