blib/lib/Moose/Meta/Method/Accessor/Native/Bool/not.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 13 | 13 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 18 | 18 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Moose::Meta::Method::Accessor::Native::Bool::not; | ||||||
2 | our $VERSION = '2.2205'; | ||||||
3 | |||||||
4 | 2 | 2 | 1331 | use strict; | |||
2 | 8 | ||||||
2 | 72 | ||||||
5 | 2 | 2 | 12 | use warnings; | |||
2 | 4 | ||||||
2 | 53 | ||||||
6 | |||||||
7 | 2 | 2 | 13 | use Moose::Role; | |||
2 | 5 | ||||||
2 | 19 | ||||||
8 | |||||||
9 | with 'Moose::Meta::Method::Accessor::Native::Reader'; | ||||||
10 | |||||||
11 | 7 | 7 | 26 | sub _maximum_arguments { 0 } | |||
12 | |||||||
13 | sub _return_value { | ||||||
14 | 7 | 7 | 20 | my $self = shift; | |||
15 | 7 | 25 | my ($slot_access) = @_; | ||||
16 | |||||||
17 | 7 | 81 | return '!' . $slot_access; | ||||
18 | } | ||||||
19 | |||||||
20 | 1; |