> Zipfstats wordpress plugin resources analysis

Zipfstats wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name Zipfstats
Version 1.1
Author James Luberda
Rating 80
Last updated 2014-12-30 03:32:00
Downloads
91
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
Zipfstats plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

Zipfstats plugin added 3 bytes of resources to the Home page and 6 bytes of resources to the sample Post page.

Zipfstats plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! Zipfstats plugin ads no tables to your Wordpress blog database.

(if you are not familiar with Zipf's law, you may wish to look at the screenshots first, as they provide a visual context for the following)

Zipfstats is built around Zipf's law, which states that given some corpus (in this case, a post/page) of natural language, the frequency of any word is inversely proportional to its rank in the frequency table. In a perfect Zipfian distribution, this would mean that the most frequent word in the corpus will occur twice as often as the second most frequent word, three times as often as the third most frequent word and so on. Any given real world corpus, if large enough, will tend to approximate a Zipfian distribution (this also works for cities as ranked by population, though that observation is less useful in this context).

The Zipfstats widget analyzes and reports word frequency by rank of a given single post or page (aka the corpus). The widget shows a small graph that plots the actual frequency-rank distribution of the content against a perfect Zipfian distribution, thus illustrating the degree to which the content follows Zipf's law. It also provides for a table of the top-ranked words.

Zipfstats only analyzes the core content of a given post/page. It does not incorporate comments into its calculations. By default, it removes shortcode-generated content from its analysis, though you may optionally enable it. Filters, other than do_shortcode() (in the aforementioned case), are not affected in terms of the analysis. Actual output of the original content is unchanged, regardless of the options selected.

Options

  • Show Only to Admin Users (default = on): only admin-level users see Zipfstats output. If unchecked, all users, logged or non-logged, will see it.
  • Strip Shortcode Content from Analysis (default = on): skips processing of and removes all shortcodes from the content of the post or page prior to analysis. Actual content remains unaffected.
  • Include Wordlist (default = on): in addition to the Zipf plot, this option includes a table of the top n words in rank order as well as the frequency of their occurrences in raw terms. A clickable header allows the user to toggle between showing/hiding the wordlist.
  • Expand Wordlist Table by Default (default = on): if expand is selected, the wordlist (if also selected) will be displayed on initial page load. Unchecked, the user will have to toggle its display manually via a clickable header.
  • Number of Words to Show (default = 10, max 25): this determines the number of words to appear in the "top n" wordlist table, if the latter is enabled. This option does not affect any calculations.

Some things to note:

  • No site data is modified or stored. Widget results are generated on the fly. Zipfstats does not directly initiate any database activity, but merely uses the the $post object to analyze content, and the WordPress widgets API to store a handful of options.
  • Post/page content will be displayed as normal. If the widget is added to a sidebar, it will appear where placed, again, without any change to existing post/page content.

Future Enhancements

  • Add site-wide/category-wide/author-wide analyses
  • Add to admin post/page edit
  • Add recommendations to approximate a Zipfian fit

Screenshots

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Plainly screenshot

Plainly

by: chrisrudzki

1379
0%
Pangea screenshot

Pangea

by: Joen

7947
0%