convert indents to spaces
reformatting code step 1
reformatting code step 2: use elseif isntead else if
reduce code complexity at get_img()
reformat code step3: remove dead codes and move inline comments into single lines from the end of the lines
move widget form into template file to get a cleaner class
add DocBlock define variables after extract, so modern IDEs will not report for undefined variables
reformatting jQuery code
reduce code complexity
replace apostrophes round HTML attribute to quotes
reformatting widget update method
reformatting update DB Queries and use wpdb::prepare
reduce code duplication, refactoring wpp_update functions
refactoring

add should_log_loggedin(), should_log_user() and is_single_or_page() methods
refactoring wpp_clear_data()

Split this function into three. Keep role, token and action check in wpp_clear_data().
Move cache clear DB queries into _wpp_clear_data_cache() method.
Move all cache clear DB Queries into _wpp_clear_data_all() method.
The new functions return with message string. The old one collects message, print it
and exit;
refactoring: reduce code duplication

Move wpp_install() into include/update.php. TODO: move wpp_update into this file too.
Reduce code duplications with move duplicated code int _wpp_update_check_missing_columns().
define wpp_query_posts filter
refactoring get_popular_posts()

Split this huge method into many smaller functions. We have now many
_get_*() methods for get datas about rendering post.
reduce code duplications