lib/Rex/Hardware/Network/Darwin.pm

filter: Statementstmt 72.7% 16 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 5 / 10 Podpod 0.0% 0 / 5 totaltotal 56.7% 21 / 37 CC 1 SCAR 4.1
CC
1
Cov
73%
get_network_devices
2.0
get_network_configuration
2.0
route
2.0
CRAP 1.5
« lib/Rex/Constants.pm ↑ Summary lib/Rex/Hardware/Network/NetBSD.pm »
1 #
2 # (c) Jan Gehring <jan.gehring@gmail.com>
3 #
4  
5 package Rex::Hardware::Network::Darwin;
6  
7 1 ▶use v5.14.4;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 our $VERSION = '1.16.1'; # VERSION
11  
12 1 ▶use Rex::Logger;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 1 ▶use Rex::Helper::Array;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use Rex::Hardware::Network::OpenBSD;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 0 ▶sub get_network_devices {
Subroutine get_network_devices: not called CC=1 SCAR=6.9
Pod undocumented
17  
18 0 return Rex::Hardware::Network::OpenBSD::get_network_devices();
19  
20 }
21  
22 0 ▶sub get_network_configuration {
Subroutine get_network_configuration: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 0 return Rex::Hardware::Network::OpenBSD::get_network_configuration();
25  
26 }
27  
28 0 ▶sub route {
Subroutine route: not called CC=1 SCAR=6.9
Pod undocumented
29 0 return Rex::Hardware::Network::OpenBSD->route();
30 }
31  
32 0 ▶sub default_gateway {
Subroutine default_gateway: not called CC=1 SCAR=6.9
Pod undocumented
33 0 shift;
34 0 return Rex::Hardware::Network::OpenBSD->default_gateway(@_);
35 }
36  
37 0 ▶sub netstat {
Subroutine netstat: not called CC=1 SCAR=6.9
Pod undocumented
38 0 return Rex::Hardware::Network::OpenBSD->netstat();
39 }
40  
41 1 1;
« lib/Rex/Constants.pm ↑ Summary lib/Rex/Hardware/Network/NetBSD.pm »