| 1 | package Bio::Coordinate::MapperI; | ||||||||||||
| 2 | 10 | our $AUTHORITY = 'cpan:BIOPERLML'; | |||||||||||
| 3 | 10 | $Bio::Coordinate::MapperI::VERSION = '1.007001'; | |||||||||||
| 4 | 10 | ▶ | use utf8; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | 10 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | 10 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | 10 | ▶ | use parent qw(Bio::Root::RootI); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 8 | |||||||||||||
| 9 | # ABSTRACT: Interface describing coordinate mappers. | ||||||||||||
| 10 | # AUTHOR: Heikki Lehvaslaiho <heikki@bioperl.org> | ||||||||||||
| 11 | # OWNER: Heikki Lehvaslaiho | ||||||||||||
| 12 | # LICENSE: Perl_5 | ||||||||||||
| 13 | |||||||||||||
| 14 | |||||||||||||
| 15 | |||||||||||||
| 16 | 0 | ▶ | sub in { | ||||||||||
|
Subroutine
in: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 17 | 0 | my ($self,$value) = @_; | |||||||||||
| 18 | |||||||||||||
| 19 | 0 | $self->throw_not_implemented(); | |||||||||||
| 20 | |||||||||||||
| 21 | } | ||||||||||||
| 22 | |||||||||||||
| 23 | |||||||||||||
| 24 | 0 | ▶ | sub out { | ||||||||||
|
Subroutine
out: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 25 | 0 | my ($self,$value) = @_; | |||||||||||
| 26 | |||||||||||||
| 27 | 0 | $self->throw_not_implemented(); | |||||||||||
| 28 | } | ||||||||||||
| 29 | |||||||||||||
| 30 | |||||||||||||
| 31 | 0 | ▶ | sub swap { | ||||||||||
|
Subroutine
swap: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 32 | 0 | my ($self) = @_; | |||||||||||
| 33 | |||||||||||||
| 34 | 0 | $self->throw_not_implemented(); | |||||||||||
| 35 | |||||||||||||
| 36 | } | ||||||||||||
| 37 | |||||||||||||
| 38 | |||||||||||||
| 39 | 0 | ▶ | sub test { | ||||||||||
|
Subroutine
test: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 40 | 0 | my ($self) = @_; | |||||||||||
| 41 | |||||||||||||
| 42 | 0 | $self->throw_not_implemented(); | |||||||||||
| 43 | } | ||||||||||||
| 44 | |||||||||||||
| 45 | |||||||||||||
| 46 | 0 | ▶ | sub map { | ||||||||||
|
Subroutine
map: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 47 | 0 | my ($self,$value) = @_; | |||||||||||
| 48 | |||||||||||||
| 49 | 0 | $self->throw_not_implemented(); | |||||||||||
| 50 | |||||||||||||
| 51 | } | ||||||||||||
| 52 | |||||||||||||
| 53 | |||||||||||||
| 54 | 3 | ▶ | sub return_match { | ||||||||||
|
Subroutine
return_match: called CC=4 SCAR=14.2
Pod
documented
| |||||||||||||
| 55 | 3 | my ($self,$value) = @_; | |||||||||||
| 56 | 3 | ▶ | if( defined $value) { | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 57 | $value ? ( $self->{'_return_match'} = 1 ) : | ||||||||||||
| 58 | 2 | ▶ | ( $self->{'_return_match'} = 0 ); | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 59 | } | ||||||||||||
| 60 | 3 | ▶ | return $self->{'_return_match'} || 0 ; | ||||||||||
|
Condition50%1/2
$self->{'_return_match'} || 0
MC/DC0%0/1
$self->{'_return_match'} || 0
$self->{'_return_match'}
Truth table50%1/2
A
A= $self->{'_return_match'}
| |||||||||||||
| 61 | } | ||||||||||||
| 62 | |||||||||||||
| 63 | 10 | 1; | |||||||||||
| 64 | |||||||||||||
| 65 | __END__ | ||||||||||||