MachineInfo/Distribution.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
get
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 =head1 NAME
2  
3 Probe::MachineInfo::Distribution - Distribution Name
4  
5 =head1 SYNOPSIS
6  
7 blah
8  
9 =head1 DESCRIPTION
10  
11 blah
12  
13 =head1 PUBLIC INTERFACE
14  
15 =cut
16  
17 package Probe::MachineInfo::Distribution;
18  
19  
20 # pragmata
21 use base qw(Probe::MachineInfo::Metric);
22 use strict;
23 use warnings;
24  
25  
26 # Standard Perl Library and CPAN modules
27 use English;
28 use Linux::Distribution qw(distribution_name);
29  
30 #
31 # CLASS ATTRIBUTES
32 #
33  
34 #
35 # CONSTRUCTOR
36 #
37  
38  
39 =head2 get
40  
41 get()
42  
43 =cut
44  
45 sub get {
46 my ($self) = @_;
47  
48 return distribution_name();
49 }
50  
51 1;
52  
53 =head1 AUTHOR
54  
55 Sagar R. Shah
56  
57 =cut