Agent/Permission/Result.pm

filter: Statementstmt 86.6% 13 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 100% 1 / 1 totaltotal 86.3% 19 / 22 CC 1 SCAR 1.5
CC
1
Cov
87%
to_hash
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Agent/MCP/SSEServer.pm ↑ Summary Agent/Error.pm »
1 package Claude::Agent::Permission::Result;
2  
3 10 ▶use 5.020;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 10 ▶use Object::Proto ();
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 10 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
10 10 Object::Proto::define('Claude::Agent::Permission::Result',
11 'behavior:Str',
12 );
13 }
14  
15 0 ▶sub to_hash {
Subroutine to_hash: not called CC=1 SCAR=6.9
Pod documented
16 0 my ($self) = @_;
17 0 return { behavior => $self->behavior };
18 }
19  
20 10 1;
21  
22 __END__
« Agent/MCP/SSEServer.pm ↑ Summary Agent/Error.pm »