| 1 | package Khonsu::Text::H5; | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | 2 | ▶ | use parent 'Khonsu::Text'; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | |||||||||||||||||||||
| 5 | sub add { | ||||||||||||||||||||
| 6 | 1 | ▶ | my ($self, $file, %attributes) = @_; | ||||||||||||||||||
|
Subroutine
add: called CC=4 SCAR=15.2
Pod
undocumented
| |||||||||||||||||||||
| 7 | 1 | ▶ | $attributes{font}->{size} ||= 20; | ||||||||||||||||||
|
Condition50%1/2
$attributes{"font"}{"size"} ||= 20
MC/DC0%0/1
$attributes{"font"}{"size"} ||= 20
$attributes{"font"}{"size"}
Truth table50%1/2
A
A= $attributes{"font"}{"size"}
| |||||||||||||||||||||
| 8 | 1 | ▶ | $attributes{font}->{line_height} ||= 16; | ||||||||||||||||||
|
Condition50%1/2
$attributes{"font"}{"line_height"} ||= 16
MC/DC0%0/1
$attributes{"font"}{"line_height"} ||= 16
$attributes{"font"}{"line_height"}
Truth table50%1/2
A
A= $attributes{"font"}{"line_height"}
| |||||||||||||||||||||
| 9 | 1 | ▶ | $attributes{h} ||= %attributes{font}->{line_height}; | ||||||||||||||||||
|
Condition33%1/3
$attributes{"h"} ||= %attributes{"font"}->{"line_height"}
MC/DC0%0/2
$attributes{"h"} ||= %attributes{"font"}->{"line_height"}
$attributes{"h"}
%attributes{"font"}->{"line_height"}
Truth table33%1/3
A ||= B
A= $attributes{"h"}B= %attributes{"font"}->{"line_height"}
| |||||||||||||||||||||
| 10 | 1 | return $self->SUPER::add($file, %attributes); | |||||||||||||||||||
| 11 | } | ||||||||||||||||||||
| 12 | |||||||||||||||||||||
| 13 | 2 | 1; | |||||||||||||||||||