Storage/t/file.t

filter: Statementstmt 100% 9 / 9 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 92.3% 12 / 13 CC 1 SCAR 0.0
CC
1
Cov
91%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/QWizard/Storage/Memory.pm ↑ Summary Storage/t/memory.t »
1 # This is -*- perl -*-
2  
3 1 ▶use QWizard::Storage::File;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 $stobj = new QWizard::Storage::File(file => 'testfile.dat');
6  
7 1 do "t/tests.pl";
8  
9 1 ▶if ($stobj) {
Branch: 1 branch
BranchTrueFalseTotal
if ($stobj) 1 0 1
10 # noop: avoid perl warnings about var not being used again
11 }
« blib/lib/QWizard/Storage/Memory.pm ↑ Summary Storage/t/memory.t »