Subroutine Coverage

blib/lib/MediaWiki/Bot.pm
Criterion Covered Total %
subroutine 66 78 84.6
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
13 50 n/a BEGIN
15 50 n/a BEGIN
19 50 n/a BEGIN
27 47 Yes new
120 47 Yes set_wiki
174 1 Yes login
281 0 n/a _do_sul
337 0 Yes logout
345 8 Yes edit
446 0 Yes move
469 5 Yes get_history
514 22 Yes get_text
538 1 Yes get_id
555 2 Yes get_pages
624 0 Yes get_image
653 1 Yes revert
670 1 Yes undo
696 3 Yes get_last
717 1 Yes update_rc
753 5 Yes recentchanges
805 2 Yes what_links_here
842 2 Yes list_transclusions
879 12 Yes get_pages_in_category
919 12 Yes get_all_pages_in_category
957 2 Yes get_all_categories
977 2 Yes linksearch
1009 0 Yes purge_page
1037 5 Yes get_namespace_names
1050 3 Yes image_usage
1091 3 Yes global_image_usage
1136 1 Yes links_to_image
1144 4 Yes is_blocked
1172 2 Yes test_blocked
1179 7 Yes test_image_exists
1249 4 Yes get_pages_in_namespace
1271 2 Yes count_contributions
1288 0 Yes timed_count_contributions
1305 2 Yes last_active
1321 1 Yes recent_edit_to_page
1338 1 Yes get_users
1368 4 Yes was_blocked
1399 2 Yes test_block_hist
1406 2 Yes expandtemplates
1431 2 Yes get_allusers
1453 1 Yes db_to_domain
1478 1 Yes domain_to_db
1501 1 Yes diff
1540 1 Yes prefixindex
1581 2 Yes search
1612 1 Yes get_log
1645 1 Yes is_g_blocked
1666 2 Yes was_g_blocked
1701 2 Yes was_locked
1741 3 Yes get_protection
1778 1 Yes is_protected
1786 0 Yes patrol
1814 0 Yes email
1848 0 Yes top_edits
1875 3 Yes contributions
1909 0 Yes upload
1939 0 Yes upload_from_url
1966 1 Yes usergroups
2002 9 n/a _get_edittoken
2024 4 n/a _handle_api_error
2042 1 n/a _is_loggedin
2051 1 n/a _whoami
2062 0 n/a _do_autoconfig
2109 1 n/a _get_sitematrix
2176 15 n/a _get_ns_data
2191 3 n/a _get_ns_alias_data