Server/Error.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 82.3% 14 / 17 CC 1 SCAR 2.2
CC
1
Cov
83%
run
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Server/Command/Examine.pm ↑ Summary
1 package Net::IMAP::Server::Error;
2  
3 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 13 ▶use base qw/Net::IMAP::Server::Command/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 Net::IMAP::Server::Error - A command which failed catastrophically
11  
12 =head1 DESCRIPTION
13  
14 A subclass of L<Net::IMAP::Server::Command> used when the true command
15 fails to compile or load, for whatever reason. This is intentionally
16 not C<Net::IMAP::Server::Command::Error>, as that would make it
17 available to clients as the C<ERROR> command.
18  
19 =head1 METHODS
20  
21 =head2 run
22  
23 Produces a server error.
24  
25 =cut
26  
27 sub run {
28 0 ▶ my $self = shift;
Subroutine run: not called CC=1 SCAR=6.9
Pod documented
29  
30 0 $self->no_command("Server error");
31 }
32  
33 13 1;
« Server/Command/Examine.pm ↑ Summary