| 1 | package POE::Component::DirWatch::Unmodified; | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | 1 | ▶ | use POE; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 4 | 1 | ▶ | use Moose; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 5 | |||||||||||||||||||||||||||||
| 6 | 1 | our $VERSION = "0.300004"; | |||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||
| 8 | 1 | extends 'POE::Component::DirWatch'; | |||||||||||||||||||||||||||
| 9 | 1 | with 'POE::Component::DirWatch::Role::Signatures'; | |||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||
| 11 | #--------#---------#---------#---------#---------#---------#---------#--------- | ||||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||
| 13 | 0 | ▶ | around _file_callback => sub { | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=3 SCAR=24.8
| |||||||||||||||||||||||||||||
| 14 | 0 | my $orig = shift; | |||||||||||||||||||||||||||
| 15 | 0 | my ($self, $kernel, $file) = @_[OBJECT, KERNEL, ARG0]; | |||||||||||||||||||||||||||
| 16 | 0 | my $sig = delete $self->signatures->{"$file"}; | |||||||||||||||||||||||||||
| 17 | 0 | ▶ | return unless defined $sig && $sig->is_same; | ||||||||||||||||||||||||||
|
Branch: 1 branch
Condition0%0/3
defined $sig and $sig->is_same
MC/DC0%0/2
defined $sig and $sig->is_same
defined $sig
$sig->is_same
Truth table0%0/3
A and B
A= defined $sigB= $sig->is_same
| |||||||||||||||||||||||||||||
| 18 | 0 | $orig->(@_); | |||||||||||||||||||||||||||
| 19 | 1 | }; | |||||||||||||||||||||||||||
| 20 | |||||||||||||||||||||||||||||
| 21 | 1 | __PACKAGE__->meta->make_immutable; | |||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||
| 23 | 1 | 1; | |||||||||||||||||||||||||||
| 24 | |||||||||||||||||||||||||||||
| 25 | __END__; | ||||||||||||||||||||||||||||