MCP/Net/Reset/DoNothing.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 72.7% 16 / 22 CC 1 SCAR 2.2
CC
1
Cov
76%
reset_host
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« MCP/Net/Reset/Exec.pm ↑ Summary MCP/Plugin/Test/All.pm »
1 package Tapper::MCP::Net::Reset::DoNothing;
2 3 our $AUTHORITY = 'cpan:TAPPER';
3 3 $Tapper::MCP::Net::Reset::DoNothing::VERSION = '5.0.9';
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 extends 'Tapper::Base';
9  
10  
11 sub reset_host
12 0 ▶{
Subroutine reset_host: not called CC=1 SCAR=6.9
Pod undocumented
13 0 my ($self, $host, $options) = @_;
14  
15 0 $self->log->info("Just a fake-reboot, not real.");
16 0 my ($error, $retval) = (1, "$host"."-".$options->{some_dummy_return_message});
17 0 return ($error, $retval);
18 }
19  
20 3 1;
21  
22 __END__
« MCP/Net/Reset/Exec.pm ↑ Summary MCP/Plugin/Test/All.pm »