Branch Coverage

blib/lib/Toolforge/MixNMatch/Diff.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
18 0 4 if ($catalog1->type ne $catalog2->type)
22 0 4 if ($catalog1->count != $catalog2->count)
33 1 0 if ($user_iter->username eq $new_cat_user->username)
35 0 1 if ($user_iter->uid ne $new_cat_user->uid)
42 1 2 defined $old_cat_user ? :
45 3 0 if ($count)
56 0 0 unless $a->year <=> $b->year
61 0 0 if ($year_month_iter->year eq $new_cat_year_month->year and $year_month_iter->month eq $new_cat_year_month->month)
68 0 0 defined $old_cat_year_month ? :
71 0 0 if ($count)
104 0 1 if ($warn)
117 0 4 if ($catalog1->count > $catalog2->count) { }
0 4 elsif ($catalog2->count > $catalog1->count) { }
128 1 3 if ($users_count1 > $users_count2) { }
2 1 elsif ($users_count2 > $users_count1) { }