Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
Server metrics [RAM: ▼1.89MB] [CPU: ▼55.24ms] Passed 4 tests
This is a short check of server-side resources used by TagGator
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.41 ▼35.49 |
Dashboard /wp-admin | 2.12 ▼1.18 | 6.89 ▼46.16 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.36 ▼45.03 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 5.76 ▼94.27 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 4.69 ▼33.15 |
TagGator /wp-admin/options-general.php?page=taggator/taggator.php | 2.13 | 6.07 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
taggatorcs |
widget_theysaidso_widget |
widget_recent-comments |
taggatortags |
widget_recent-posts |
db_upgraded |
taggatormhw |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for TagGator
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.21 ▼0.41 | 1.70 ▼0.19 | 44.77 ▲1.43 |
Dashboard /wp-admin | 2,199 ▲22 | 5.51 ▼0.14 | 91.64 ▼4.81 | 42.26 ▼1.35 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.94 ▼0.00 | 33.70 ▼6.29 | 34.75 ▼3.04 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.96 ▼0.14 | 668.12 ▼17.07 | 58.52 ▲2.92 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.27 ▲0.08 | 101.32 ▼9.73 | 47.07 ▲1.81 |
TagGator /wp-admin/options-general.php?page=taggator/taggator.php | 955 | 2.13 | 23.45 | 31.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
- Zombie WordPress options were found after uninstall: 9 options
- widget_theysaidso_widget
- theysaidso_admin_options
- taggatorcs
- widget_recent-posts
- taggatormhw
- can_compress_scripts
- taggatortags
- db_upgraded
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > Notice in wp-content/plugins/taggator/taggator.php+47
Undefined index: ftag
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > Notice in wp-content/plugins/taggator/taggator.php+47
Undefined index: sss
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > Notice in wp-content/plugins/taggator/taggator.php+51
Undefined index: xx
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > Notice in wp-content/plugins/taggator/taggator.php+150
Undefined variable: txtmat
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > Notice in wp-content/plugins/taggator/taggator.php+155
Undefined variable: chkdtit
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/taggator/taggator.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=taggator/taggator.php
- > Network (severe)
https://dl.dropbox.com/u/7048593/taggatorinline.png - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== taggator ===
) - Tags: Please delete some tags, you are using 16 tag instead of maximum 10
taggator/taggator.php 92% from 13 tests
The main file in "TagGator" v. 1.54 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 181 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin334 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 37 | 20 | 182 |
PHP | 1 | 38 | 14 | 139 |
JavaScript | 2 | 0 | 10 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
13 PNG files occupy 0.08MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/drop-shadow.png | 1.03KB | 2.00KB | 0.00% |
images/content_bg.png | 0.12KB | 0.09KB | ▼ 18.64% |
images/nav_bg.png | 0.20KB | 0.27KB | 0.00% |
images/document_icon.png | 4.74KB | 3.17KB | ▼ 33.24% |
images/picture-frame.png | 4.45KB | 2.06KB | ▼ 53.71% |