line |
l |
!l&&r |
!l&&!r |
condition |
110
|
0 |
0 |
0 |
$self->{'disp_length'} ||= sub {
return unless defined $self->{'length'};
my $length = $self->{'length'};
if ($length >= 1024) {
return sprintf('%.1fKB', $length / 1024);
};
return "${length}B";
}
->() |
119
|
0 |
0 |
0 |
$self->{'disp_expire'} ||= sub {
return unless defined $self->{'expire'};
return strftime('%F %T', localtime $self->{'expire'});
}
->() |
128
|
0 |
0 |
0 |
$self->{'disp_max_value_length'} || $DISPLAY_DATA_LENGTH |
145
|
0 |
0 |
0 |
$self->{'value_text'} ||= sub {
return unless defined $self->{'value'};
unless ($self->{'value'} =~ /^[\x21-\x7e\s]/) {
return '(Not ASCII)';
};
return $self->{'value'};
}
->() |