Subroutine Coverage

blib/lib/MediaWiki/Bot.pm
Criterion Covered Total %
subroutine 62 78 79.4
pod 58 58 100.0


line count pod subroutine
2 44 n/a BEGIN
3 44 n/a BEGIN
7 44 n/a BEGIN
8 44 n/a BEGIN
9 44 n/a BEGIN
10 44 n/a BEGIN
11 44 n/a BEGIN
12 44 n/a BEGIN
13 44 n/a BEGIN
15 44 n/a BEGIN
19 44 n/a BEGIN
27 43 Yes new
120 43 Yes set_wiki
174 1 Yes login
286 0 n/a _do_sul
342 0 Yes logout
350 1 Yes edit
451 0 Yes move
474 2 Yes get_history
519 10 Yes get_text
543 1 Yes get_id
560 2 Yes get_pages
629 0 Yes get_image
658 0 Yes revert
675 0 Yes undo
701 3 Yes get_last
722 1 Yes update_rc
758 5 Yes recentchanges
810 2 Yes what_links_here
847 2 Yes list_transclusions
884 14 Yes get_pages_in_category
924 14 Yes get_all_pages_in_category
962 2 Yes get_all_categories
982 2 Yes linksearch
1014 0 Yes purge_page
1042 5 Yes get_namespace_names
1055 3 Yes image_usage
1096 3 Yes global_image_usage
1141 1 Yes links_to_image
1149 4 Yes is_blocked
1177 2 Yes test_blocked
1184 7 Yes test_image_exists
1254 4 Yes get_pages_in_namespace
1276 2 Yes count_contributions
1293 0 Yes timed_count_contributions
1310 2 Yes last_active
1326 1 Yes recent_edit_to_page
1343 1 Yes get_users
1373 4 Yes was_blocked
1404 2 Yes test_block_hist
1411 2 Yes expandtemplates
1436 2 Yes get_allusers
1458 1 Yes db_to_domain
1485 1 Yes domain_to_db
1510 1 Yes diff
1549 1 Yes prefixindex
1590 2 Yes search
1621 1 Yes get_log
1654 1 Yes is_g_blocked
1675 2 Yes was_g_blocked
1710 2 Yes was_locked
1750 3 Yes get_protection
1787 1 Yes is_protected
1795 0 Yes patrol
1823 0 Yes email
1857 0 Yes top_edits
1884 3 Yes contributions
1918 0 Yes upload
1948 0 Yes upload_from_url
1975 1 Yes usergroups
2011 1 n/a _get_edittoken
2033 3 n/a _handle_api_error
2051 0 n/a _is_loggedin
2060 0 n/a _whoami
2071 0 n/a _do_autoconfig
2118 1 n/a _get_sitematrix
2185 17 n/a _get_ns_data
2200 3 n/a _get_ns_alias_data