Condition Coverage

blib/lib/SVN/Notify.pm
Criterion Covered Total %
condition 77 112 68.7


and 3 conditions

line !l l&&!r l&&r condition
747 2848 0 210 $params{'language'} and not $ENV{'LANG'}
760 2723 335 0 $params{'revision_url'} and not $params{'revision_url'} =~ /%s/
1047 2 0 1 -f $file and -x _
1130 231 75 0 $$self{'to_regex_map'} && $$self{'to_email_map'}
1176 144 156 0 $$self{'subject_cx'} and $$self{'verbose'} > 1
1261 32699 11658 2404 $2 ne ' ' and $1 ne '_'
1265 2477 97 51 $$self{'subject_cx'} and $. == 1
1336 2580 0 45 $$self{'max_sub_length'} and length $$self{'subject'} > $$self{'max_sub_length'}
1547 0 1523 62 $start and @$start
1685 0 1514 62 $end and @$end

or 2 conditions

line l !l condition
696 944 2116 $params{'filters'} ||= {}
703 0 568 $$filts{$k} ||= []
713 62 707 $$filts{$k} ||= []
735 3 3055 $params{'verbose'} ||= 0
736 0 2746 $params{'charset'} || 'UTF-8'
739 0 2830 $params{'diff_content_type'} || 'text/plain'
964 0 4 $$opts{'encoding'} || 'UTF-8'
1950 0 156 $$self{'ticket_map'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
722 963 0 3 $params{'to'} || ()
733 0 0 0 $ENV{'SVNLOOK'} || $class->find_exe('svnlook')
3058 0 0 $params{'svnlook'} ||= $ENV{'SVNLOOK'} || $class->find_exe('svnlook')
734 674 181 2203 $params{'with_diff'} ||= $params{'attach_diff'}
736 312 2746 0 $params{'encoding'} ||= $params{'charset'} || 'UTF-8'
737 257 2801 0 $params{'svn_encoding'} ||= $params{'encoding'}
738 257 2801 0 $params{'diff_encoding'} ||= $params{'svn_encoding'}
739 228 2830 0 $params{'diff_content_type'} ||= $params{'diff_content_type'} || 'text/plain'
740 0 0 0 $ENV{'SENDMAIL'} || $class->find_exe('sendmail')
3050 0 0 $params{'sendmail'} ||= $ENV{'SENDMAIL'} || $class->find_exe('sendmail')
743 3050 8 0 $params{'sendmail'} or $params{'smtp'}
758 94 179 2723 delete $params{'svnweb_url'} || delete $params{'viewcvs_url'}
62 273 2723 $params{'revision_url'} ||= delete $params{'svnweb_url'} || delete $params{'viewcvs_url'}
1083 2713 0 1 @{$$self{'to'};} or $$self{'to_regex_map'}
2713 0 1 @{$$self{'to'};} or $$self{'to_regex_map'} or $$self{'to_email_map'}
1115 75 160 2564 $$self{'to_regex_map'} or $$self{'subject_cx'}
235 71 2493 $$self{'to_regex_map'} or $$self{'subject_cx'} or $$self{'to_email_map'}
1172 1751 362 0 $cx ||= $_
1173 206 1907 1339 not $cx or m[^\Q$cx\E(?:$|/|\\)]
1518 73 86 0 $$self{'boundary'} ||= join('', (('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'), ('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'), 0..9)[map {rand 62;} 0..10])
1620 130 0 104 $2 || $1
1766 241 91 0 $_ticket_regexen{$regex} || $regex