Branch Coverage

blib/lib/Finance/Bank/Wachovia/Account.pm
Criterion Covered Total %
branch 19 32 59.3


line true false branch
34 0 4 unless $self->number
45 0 25 unless grep /$attr/, @attrs
48 17 8 unless @_
57 0 147 unless $t->isa('Finance::Bank::Wachovia::Transaction')
66 1 1 unless (ref $transactions eq 'ARRAY')
71 0 3 unless $t->isa('Finance::Bank::Wachovia::Transaction')
85 0 0 if (@_)
86 0 0 if $$self[_posted_balance()]
95 4 2 if $$self[_transactions()]
100 0 146 unless my $t = 'Finance::Bank::Wachovia::Transaction'->new(%$_)
109 0 2 if (@_)
110 0 2 if $$self[_name()]
117 1 2 if (@_)
118 1 1 if $$self[_type()]
125 0 1 if (@_)
126 0 1 if $$self[_available_balance()]