| 1 | package Compress::Zstd::CompressionDictionary; | ||||||||||||
| 2 | 1 | ▶ | use 5.008001; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 1 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 1 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | 1 | ▶ | use Compress::Zstd (); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 1 | ▶ | sub new_from_file { | ||||||||||
|
Subroutine
new_from_file: called CC=3 SCAR=11.2
Pod
documented
| |||||||||||||
| 9 | 1 | my ($class, $file, $level) = @_; | |||||||||||
| 10 | 1 | ▶ | open my $fh, '<', $file or die $!; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 11 | 1 | local $/; | |||||||||||
| 12 | 1 | my $dict = <$fh>; | |||||||||||
| 13 | 1 | close $fh; | |||||||||||
| 14 | 1 | ▶ | $class->new($dict, $level || 1); | ||||||||||
|
Condition50%1/2
$level || 1
MC/DC0%0/1
$level || 1
$level
Truth table50%1/2
A
A= $level
| |||||||||||||
| 15 | } | ||||||||||||
| 16 | |||||||||||||
| 17 | 1 | 1; | |||||||||||
| 18 | __END__ | ||||||||||||