Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.21ms] Passed 4 tests
This is a short check of server-side resources used by XPandable Author Tab
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 48.44 ▲6.28 |
Dashboard /wp-admin | 3.41 ▲0.11 | 56.86 ▲9.98 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 51.74 ▼7.40 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 89.24 ▼21.62 |
Media Library /wp-admin/upload.php | 3.33 ▲0.11 | 41.52 ▲1.90 |
Registration /wp-admin/admin.php?page=XPATRegistration | 3.30 | 36.12 |
XP Author Tab /wp-admin/admin.php?page=XPandableAuthorTabSettings | 3.30 | 35.61 |
Help /wp-admin/admin.php?page=XPATHelp | 3.30 | 36.89 |
Effects Settings /wp-admin/admin.php?page=XPATEffectsSettings | 3.30 | 39.65 |
Shortcode /wp-admin/admin.php?page=XPATShortcodes | 3.30 | 33.77 |
Stylesheet /wp-admin/admin.php?page=XPATStylesheet | 3.28 | 33.35 |
Tech Support /wp-admin/admin.php?page=XPATTechSupport | 3.30 | 35.66 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by XPandable Author Tab
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲81 | 14.35 ▲0.00 | 1.78 ▲0.05 | 41.99 ▼3.89 |
Dashboard /wp-admin | 2,246 ▲66 | 5.56 ▼0.11 | 92.87 ▲2.78 | 94.74 ▲54.40 |
Posts /wp-admin/edit.php | 2,148 ▲48 | 1.97 ▼0.01 | 33.91 ▼2.63 | 34.80 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,590 ▲64 | 22.88 ▼0.07 | 732.03 ▲41.12 | 60.99 ▼5.16 |
Media Library /wp-admin/upload.php | 1,445 ▲48 | 4.11 ▼0.03 | 97.40 ▼22.75 | 81.53 ▲33.36 |
Registration /wp-admin/admin.php?page=XPATRegistration | 888 | 2.19 | 25.92 | 25.23 |
XP Author Tab /wp-admin/admin.php?page=XPandableAuthorTabSettings | 876 | 2.15 | 24.37 | 25.98 |
Help /wp-admin/admin.php?page=XPATHelp | 1,509 | 8.27 | 205.33 | 65.38 |
Effects Settings /wp-admin/admin.php?page=XPATEffectsSettings | 854 | 2.17 | 26.82 | 28.08 |
Shortcode /wp-admin/admin.php?page=XPATShortcodes | 824 | 2.00 | 27.16 | 26.46 |
Stylesheet /wp-admin/admin.php?page=XPATStylesheet | 851 | 1.99 | 24.03 | 30.43 |
Tech Support /wp-admin/admin.php?page=XPATTechSupport | 831 | 1.99 | 24.19 | 27.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=XPATStylesheet
- > Notice in wp-content/plugins/xpandable-author-tab/pages.php+134
Undefined index: Restore
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=XPATTechSupport
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/xpandable-author-tab/xpandable-author-tab.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/xpandable-author-tab/xpandable-author-tab-widget.php:15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=XPATTechSupport
- > Network (severe)
http://buildautomate.com/favicon.ico - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
- > GET request to /wp-admin/admin.php?page=XPandableAuthorTabSettings
- > Network (severe)
http://i1.wp.com/www.buildautomate.com/en/wp-content/uploads/2013/04/8.png?resize=300%2C50 - Failed to load resource: the server responded with a status of 400 (Bad Request)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (User Display), #2 (CSS/Stylesheet Settings), #3 (Effects Settings for Drop Down), #4 (Built-in Help Support), #5 (Widget Configuration), #6 (Collapsed Widget State), #7 (Expanded Widget State)
xpandable-author-tab/xpandable-author-tab.php 92% from 13 tests
Analyzing the main PHP file in "XPandable Author Tab" version 2.0
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 825 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin714 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 105 | 64 | 597 |
CSS | 1 | 11 | 6 | 117 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.64 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 7 | 63.64% |
▷ Public methods | 8 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 27.27% |
Functions | 22 | |
▷ Named functions | 22 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
14 PNG files occupy 0.72MB with 0.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-7.png | 173.30KB | 54.23KB | ▼ 68.71% |
screenshot-6.png | 155.78KB | 48.34KB | ▼ 68.97% |
images/yahoo.png | 1.80KB | 0.97KB | ▼ 45.90% |
screenshot-2.png | 90.42KB | 26.60KB | ▼ 70.58% |
images/facebook.png | 0.36KB | 0.29KB | ▼ 19.03% |