Branch Coverage

blib/lib/FusionInventory/Agent/Storage.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
16 1 9 unless $params{'directory'}
17 5 4 unless (-d $params{'directory'})
24 0 5 if $FusionInventory::Agent::Storage::EVAL_ERROR
27 0 9 unless (-w $params{'directory'})
51 4 20 unless $params{'name'}
69 0 8 unless store($params{'data'}, $file)
77 5 4 unless -f $file
83 0 4 if ($FusionInventory::Agent::Storage::EVAL_ERROR)
96 0 1 unless unlink $file