Subroutine Coverage

blib/lib/MediaWiki/Bot.pm
Criterion Covered Total %
subroutine 64 76 84.2
pod 58 58 100.0


line count pod subroutine
2 50 n/a BEGIN
3 50 n/a BEGIN
7 50 n/a BEGIN
8 50 n/a BEGIN
9 50 n/a BEGIN
10 50 n/a BEGIN
11 50 n/a BEGIN
12 50 n/a BEGIN
14 50 n/a BEGIN
22 47 Yes new
108 47 Yes set_wiki
162 1 Yes login
269 0 n/a _do_sul
325 0 Yes logout
336 8 Yes edit
442 0 Yes move
464 5 Yes get_history
509 23 Yes get_text
537 1 Yes get_id
558 2 Yes get_pages
627 0 Yes get_image
656 1 Yes revert
673 1 Yes undo
699 3 Yes get_last
720 1 Yes update_rc
755 5 Yes recentchanges
807 2 Yes what_links_here
844 2 Yes list_transclusions
881 12 Yes get_pages_in_category
925 12 Yes get_all_pages_in_category
963 2 Yes get_all_categories
988 2 Yes linksearch
1021 0 Yes purge_page
1049 5 Yes get_namespace_names
1065 3 Yes image_usage
1111 3 Yes global_image_usage
1156 1 Yes links_to_image
1164 4 Yes is_blocked
1192 2 Yes test_blocked
1199 4 Yes test_image_exists
1269 4 Yes get_pages_in_namespace
1291 2 Yes count_contributions
1308 0 Yes timed_count_contributions
1325 2 Yes last_active
1341 1 Yes recent_edit_to_page
1358 1 Yes get_users
1395 4 Yes was_blocked
1426 2 Yes test_block_hist
1433 2 Yes expandtemplates
1455 2 Yes get_allusers
1481 1 Yes db_to_domain
1506 1 Yes domain_to_db
1529 1 Yes diff
1568 1 Yes prefixindex
1613 2 Yes search
1649 1 Yes get_log
1682 1 Yes is_g_blocked
1703 2 Yes was_g_blocked
1739 2 Yes was_locked
1779 3 Yes get_protection
1816 1 Yes is_protected
1824 0 Yes patrol
1871 0 Yes email
1905 0 Yes top_edits
1934 3 Yes contributions
1968 0 Yes upload
1998 0 Yes upload_from_url
2025 1 Yes usergroups
2061 9 n/a _get_edittoken
2080 3 n/a _handle_api_error
2096 1 n/a _is_loggedin
2105 1 n/a _whoami
2116 0 n/a _do_autoconfig
2163 1 n/a _get_sitematrix
2230 15 n/a _get_ns_data
2245 2 n/a _get_ns_alias_data