blib/lib/FormValidator/LazyWay/Rule/Net.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 14 | 57.1 |
line | true | false | branch |
---|---|---|---|
9 | 3 | 1 | Data::Validate::URI::is_uri($uri) ? : |
14 | 2 | 1 | Data::Validate::URI::is_web_uri($url) ? : |
19 | 1 | 3 | Data::Validate::URI::is_http_uri($url) ? : |
24 | 1 | 3 | Data::Validate::URI::is_https_uri($url) ? : |
30 | 0 | 0 | $url =~ m[^https?://[-_.!~*'()a-zA-Z0-9;/?:\@&=+\$,%#]+$] ? : |
35 | 0 | 0 | $url =~ m[^http://[-_.!~*'()a-zA-Z0-9;/?:\@&=+\$,%#]+$] ? : |
40 | 0 | 0 | $url =~ m[^https://[-_.!~*'()a-zA-Z0-9;/?:\@&=+\$,%#]+$] ? : |