blib/lib/CGI/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
subroutine | 114 | 126 | 90.4 |
pod | 69 | 90 | 76.6 |
line | count | pod | subroutine |
---|---|---|---|
7 | 19 | n/a | BEGIN |
9 | 19 | n/a | BEGIN |
11 | 19 | n/a | BEGIN |
24 | 105 | n/a | _initialize_globals |
78 | 66 | n/a | _use_cgi_pm_global_settings |
93 | 111 | n/a | _store_globals |
110 | 25 | n/a | import |
132 | 21 | n/a | _reset_globals |
143 | 622 | Yes | url_decode |
151 | 568 | Yes | url_encode |
159 | 19 | n/a | BEGIN |
177 | 103 | Yes | new |
198 | 103 | n/a | _mod_perl |
206 | 0 | n/a | _mod_perl_request |
226 | 0 | n/a | _initialize_mod_perl |
264 | 103 | n/a | _initialize |
305 | 14 | n/a | _internal_read |
317 | 73 | n/a | _read_parse |
407 | 102 | n/a | _parse_params |
424 | 388 | n/a | _add_param |
448 | 16 | n/a | _parse_keywordlist |
457 | 2 | n/a | _massage_boundary |
469 | 2 | n/a | _parse_multipart |
552 | 3 | n/a | _save_tmpfile |
606 | 78 | Yes | crlf |
622 | 535 | Yes | param |
652 | 16 | Yes | add_param |
656 | 6 | Yes | param_fetch |
666 | 17 | Yes | url_param |
675 | 19 | Yes | keywords |
685 | 17 | Yes | Vars |
701 | 7 | n/a | TIEHASH |
704 | 6 | n/a | STORE |
710 | 7 | n/a | FETCH |
713 | 0 | n/a | FIRSTKEY |
714 | 0 | n/a | NEXTKEY |
715 | 0 | n/a | EXISTS |
716 | 0 | n/a | DELETE |
717 | 0 | n/a | CLEAR |
720 | 24 | Yes | append |
733 | 15 | Yes | delete |
746 | 8 | No | Delete |
749 | 6 | Yes | delete_all |
754 | 2 | No | Delete_all |
757 | 17 | Yes | upload |
808 | 0 | No | upload_fieldnames |
816 | 3 | Yes | upload_info |
829 | 0 | No | uploadInfo |
833 | 70 | No | query_string |
849 | 2 | Yes | parse_query_string |
858 | 19 | n/a | BEGIN |
859 | 0 | n/a | _init_from_file |
870 | 4 | Yes | save |
886 | 3 | No | save_parameters |
891 | 4 | Yes | parse_keywordlist |
895 | 18 | Yes | escapeHTML |
903 | 135 | Yes | unescapeHTML |
908 | 2 | Yes | put |
913 | 3 | Yes | |
920 | 28 | Yes | cookie |
965 | 12 | Yes | raw_cookie |
979 | 45 | Yes | header |
1093 | 43 | Yes | cache |
1100 | 74 | Yes | no_cache |
1106 | 13 | Yes | redirect |
1139 | 10 | Yes | multipart_init |
1140 | 19 | n/a | BEGIN |
1166 | 6 | Yes | multipart_start |
1167 | 19 | n/a | BEGIN |
1180 | 12 | Yes | multipart_end |
1182 | 2 | Yes | multipart_final |
1187 | 2 | No | read_from_cmdline |
1205 | 10 | Yes | Dump |
1211 | 2 | No | as_string |
1214 | 16 | Yes | cgi_error |
1228 | 17 | n/a | _shift_if_ref |
1231 | 6 | No | ReadParse |
1233 | 19 | n/a | BEGIN |
1244 | 6 | No | SplitParam |
1249 | 2 | No | MethGet |
1251 | 2 | No | MethPost |
1254 | 10 | No | MyBaseUrl |
1261 | 2 | No | MyURL |
1264 | 4 | No | MyFullUrl |
1271 | 2 | No | PrintHeader |
1275 | 3 | No | HtmlTop |
1279 | 2 | No | HtmlBot |
1281 | 2 | No | PrintVariables |
1283 | 2 | Yes | PrintEnv |
1285 | 0 | No | CgiDie |
1288 | 0 | No | CgiError |
1299 | 2 | Yes | version |
1302 | 4 | Yes | nph |
1306 | 4 | Yes | all_parameters |
1309 | 45 | Yes | charset |
1314 | 16 | Yes | globals |
1320 | 2 | Yes | auth_type |
1321 | 2 | Yes | content_length |
1322 | 2 | Yes | content_type |
1323 | 2 | Yes | document_root |
1324 | 2 | Yes | gateway_interface |
1325 | 2 | Yes | path_translated |
1326 | 2 | Yes | referer |
1327 | 2 | Yes | remote_addr |
1330 | 2 | Yes | remote_host |
1333 | 2 | Yes | remote_ident |
1334 | 2 | Yes | remote_user |
1335 | 13 | Yes | request_method |
1336 | 81 | Yes | script_name |
1337 | 38 | Yes | server_name |
1338 | 76 | Yes | server_port |
1339 | 30 | Yes | server_protocol |
1340 | 16 | Yes | server_software |
1343 | 2 | Yes | user_name |
1347 | 6 | Yes | user_agent |
1354 | 2 | Yes | virtual_host |
1360 | 70 | Yes | path_info |
1378 | 8 | Yes | accept |
1398 | 8 | Yes | Accept |
1401 | 45 | Yes | http |
1411 | 8 | Yes | https |
1419 | 32 | Yes | protocol |
1428 | 62 | Yes | url |
1429 | 19 | n/a | BEGIN |
1475 | 17 | Yes | self_url |
1484 | 2 | Yes | state |