Branch Coverage

blib/lib/Net/Kotonoha.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
23 0 0 unless $args{'mail'} and $args{'password'}
37 0 0 if $$self{'loggedin'}
47 0 0 if ($res->is_success and $$self{'mech'}->uri =~ m[/home$])
52 0 0 $user ? :
53 0 0 if ($link =~ m[^/user/(\w+)])
58 0 0 unless $$self{'loggedin'}
67 0 0 unless defined $$self{'loggedin'}
70 0 0 unless $res->is_success
71 0 0 unless $res->is_success
79 0 0 if ($item->attr('href') =~ m[^/no/(\d+)])
81 0 0 if ($item->as_text =~ /^(.*)\s*\(([^\)]+)\)$/)
99 0 0 unless defined $$self{'loggedin'}
102 0 0 unless $res->is_success
103 0 0 unless $res->is_success
112 0 0 if ($html =~ m[([^<]+)[^<]+([^<]+)([^ ]+)(?: [^ ]+ (.+))?$])
157 0 0 unless defined $$self{'loggedin'}