| line |
true |
false |
branch |
|
44
|
0 |
19 |
if (not defined $$self{'contact'} or $$self{'contact'} eq '') |
|
59
|
0 |
0 |
if (defined $self->first_name and length $self->first_name > 40) |
|
65
|
0 |
0 |
if (defined $self->last_name and length $self->last_name > 40) |
|
71
|
0 |
0 |
if (not defined $self->contact or $self->contact eq '') |
|
77
|
0 |
0 |
if (defined $self->speed_index and !($self->speed_index =~ /^\d*$/) || $self->speed_index < 1 || $self->speed_index > 9999) |
|
86
|
0 |
0 |
if (defined $self->ring_type and !($self->ring_type =~ /^\d*$/) || $self->ring_type < 1 || $self->ring_type > 21) |
|
95
|
0 |
0 |
if (defined $self->auto_divert and not $self->auto_divert =~ /^[01]?$/) |
|
101
|
0 |
0 |
if (defined $self->auto_reject and not $self->auto_reject =~ /^[01]?$/) |
|
107
|
0 |
0 |
if (defined $self->buddy_watching and not $self->buddy_watching =~ /^[01]?$/) |
|
113
|
0 |
0 |
if (defined $self->buddy_block and not $self->buddy_block =~ /^[01]?$/) |
|
151
|
0 |
0 |
defined $$self{$attr} ? : |
|
152
|
0 |
0 |
defined $$other{$attr} ? : |
|
155
|
0 |
0 |
if ($attr eq 'auto_reject' or $attr eq 'auto_divert' or $attr eq 'buddy_watching') |
|
165
|
0 |
0 |
if ($mine ne $theirs) |