Condition Coverage

blib/lib/Woothee/Crawler.pm
Criterion Covered Total %
condition 45 51 88.2


or 3 conditions

line l !l&&r !l&&!r condition
32 6 6 0 index($ua, 'compatible; Mediapartners-Google') > -1 or $ua eq 'Mediapartners-Google'
56 36 24 1356 index($ua, 'Yahoo') > -1 or index($ua, 'help.yahoo.co.jp/help/jp/') > -1
60 6 1350 index($ua, 'Yahoo') > -1 or index($ua, 'help.yahoo.co.jp/help/jp/') > -1 or index($ua, 'listing.yahoo.co.jp/support/faq/') > -1
6 6 1176 index($ua, 'livedoor FeedFetcher') > -1 or index($ua, 'Fastladder FeedFetcher') > -1
6 6 1146 index($ua, 'mixi-check') > -1 or index($ua, 'mixi-crawler') > -1
12 6 1140 index($ua, 'mixi-check') > -1 or index($ua, 'mixi-crawler') > -1 or index($ua, 'mixi-news-crawler') > -1
59 6 6 42 index($ua, 'YahooFeedSeekerJp') > -1 or index($ua, 'YahooFeedSeekerBetaJp') > -1
6 12 24 index($ua, 'crawler (http://listing.yahoo.co.jp/support/faq/') > -1 or index($ua, 'crawler (http://help.yahoo.co.jp/help/jp/') > -1
6 6 12 index($ua, 'Y!J-BRZ/YATSHA crawler') > -1 or index($ua, 'Y!J-BRY/YATSH crawler') > -1
96 6 6 6 index($ua, 'compatible; Baiduspider') > -1 or index($ua, 'Baiduspider+') > -1
12 6 0 index($ua, 'compatible; Baiduspider') > -1 or index($ua, 'Baiduspider+') > -1 or index($ua, 'Baiduspider-image+') > -1
102 6 6 6 index($ua, 'http://help.naver.com/robots') > -1 or index($ua, 'http://help.naver.com/support/robots.html') > -1
12 6 0 index($ua, 'http://help.naver.com/robots') > -1 or index($ua, 'http://help.naver.com/support/robots.html') > -1 or index($ua, 'http://naver.me/bot') > -1
123 6 6 0 index($ua, 'http://help.goo.ne.jp/door/crawler.html') > -1 or index($ua, 'compatible; ichiro/mobile goo;') > -1
161 6 6 6 index($ua, 'Hatena Antenna') > -1 or index($ua, 'Hatena Pagetitle Agent') > -1
12 6 0 index($ua, 'Hatena Antenna') > -1 or index($ua, 'Hatena Pagetitle Agent') > -1 or index($ua, 'Hatena Diary RSS') > -1
192 12 0 9 $ua =~ m[^(?:Rome Client |UnwindFetchor/|ia_archiver |Summify |PostRank/)]o or index($ua, 'ASP-Ranker Feed Crawler') > -1