Code
- functions.php ➔ yourls_make_regexp_pattern()
- functions.php ➔ yourls_is_shorturl()
- functions.php ➔ yourls_keyword_is_reserved()
- functions.php ➔ yourls_get_IP()
- functions.php ➔ yourls_get_next_decimal()
- functions.php ➔ yourls_update_next_decimal()
- functions.php ➔ yourls_get_shorturl_charset()
- functions.php ➔ yourls_delete_link_by_keyword()
- functions.php ➔ yourls_insert_link_in_db()
- functions.php ➔ yourls_url_exists()
- functions.php ➔ yourls_add_new_link()
- functions.php ➔ yourls_edit_link()
- functions.php ➔ yourls_edit_link_title()
- functions.php ➔ yourls_keyword_is_free()
- functions.php ➔ yourls_keyword_is_taken()
- functions.php ➔ yourls_xml_encode()
- functions.php ➔ yourls_get_keyword_infos()
- functions.php ➔ yourls_get_keyword_info()
- functions.php ➔ yourls_get_keyword_title()
- functions.php ➔ yourls_get_keyword_longurl()
- functions.php ➔ yourls_get_keyword_clicks()
- functions.php ➔ yourls_get_keyword_IP()
- functions.php ➔ yourls_get_keyword_timestamp()
- functions.php ➔ yourls_update_clicks()
- functions.php ➔ yourls_get_stats()
- functions.php ➔ yourls_get_link_stats()
- functions.php ➔ yourls_get_db_stats()
- functions.php ➔ yourls_get_num_queries()
- functions.php ➔ yourls_get_user_agent()
- functions.php ➔ yourls_redirect()
- functions.php ➔ yourls_status_header()
- functions.php ➔ yourls_redirect_javascript()
- functions.php ➔ yourls_get_HTTP_status()
- functions.php ➔ yourls_log_redirect()
- functions.php ➔ yourls_do_log_redirect()
- functions.php ➔ yourls_geo_ip_to_countrycode()
- functions.php ➔ yourls_geo_countrycode_to_countryname()
- functions.php ➔ yourls_geo_get_flag()
- functions.php ➔ yourls_upgrade_is_needed()
- functions.php ➔ yourls_get_current_version_from_sql()
- functions.php ➔ yourls_get_option()
- functions.php ➔ yourls_get_all_options()
- functions.php ➔ yourls_update_option()
- functions.php ➔ yourls_add_option()
- functions.php ➔ yourls_delete_option()
- functions.php ➔ yourls_maybe_serialize()
- functions.php ➔ yourls_is_serialized()
- functions.php ➔ yourls_maybe_unserialize()
- functions.php ➔ yourls_is_private()
- functions.php ➔ yourls_maybe_require_auth()
- functions.php ➔ yourls_allow_duplicate_longurls()
- functions.php ➔ yourls_get_longurl_keywords()
- functions.php ➔ yourls_check_IP_flood()
- functions.php ➔ yourls_is_installing()
- functions.php ➔ yourls_is_upgrading()
- functions.php ➔ yourls_is_installed()
- functions.php ➔ yourls_set_installed()
- functions.php ➔ yourls_rnd_string()
- functions.php ➔ yourls_salt()
- functions.php ➔ yourls_add_query_arg()
- functions.php ➔ yourls_urlencode_deep()
- functions.php ➔ yourls_remove_query_arg()
- functions.php ➔ yourls_tick()
- functions.php ➔ yourls_create_nonce()
- functions.php ➔ yourls_nonce_field()
- functions.php ➔ yourls_nonce_url()
- functions.php ➔ yourls_verify_nonce()
- functions.php ➔ yourls_link()
- functions.php ➔ yourls_statlink()
- functions.php ➔ yourls_is_API()
- functions.php ➔ yourls_is_Ajax()
- functions.php ➔ yourls_is_GO()
- functions.php ➔ yourls_is_infos()
- functions.php ➔ yourls_is_admin()
- functions.php ➔ yourls_is_windows()
- functions.php ➔ yourls_needs_ssl()
- functions.php ➔ yourls_admin_url()
- functions.php ➔ yourls_site_url()
- functions.php ➔ yourls_is_ssl()
- functions.php ➔ yourls_get_remote_title()
- functions.php ➔ yourls_is_mobile_device()
- functions.php ➔ yourls_get_request()
- functions.php ➔ yourls_match_current_protocol()
- functions.php ➔ yourls_fix_request_uri()
- functions.php ➔ yourls_shutdown()
- functions.php ➔ yourls_favicon()
- functions.php ➔ yourls_check_maintenance_mode()
- functions.php ➔ yourls_current_admin_page()
- functions.php ➔ yourls_is_allowed_protocol()
- functions.php ➔ yourls_get_protocol()
- functions.php ➔ yourls_get_relative_url()
- functions.php ➔ yourls_deprecated_function()
- functions.php ➔ yourls_return_if_not_empty_string()
- functions.php ➔ yourls_return_true()
- functions.php ➔ yourls_return_false()
- functions.php ➔ yourls_return_zero()
- functions.php ➔ yourls_return_empty_array()
- functions.php ➔ yourls_return_null()
- functions.php ➔ yourls_return_empty_string()
- functions.php ➔ yourls_debug_log()
- functions.php ➔ yourls_get_debug_log()
- functions.php ➔ yourls_debug_mode()
- functions.php ➔ yourls_get_protocol_slashes_and_rest()
- functions.php ➔ yourls_set_url_scheme()
- functions.php ➔ yourls_tell_if_new_version()
This check looks for variable assignements that are either overwritten by other assignments or where the variable is not used subsequently.
Both the
$myVar
assignment in line 1 and the$higher
assignment in line 2 are dead. The first because$myVar
is never used and the second because$higher
is always overwritten for every possible time line.