Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.21ms] Passed 4 tests
An overview of server-side resources used by Webmaster Tools
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 37.03 ▼2.46 |
Dashboard /wp-admin | 3.34 ▲0.04 | 43.45 ▼6.27 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 47.90 ▲1.22 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 90.15 ▼13.32 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.49 ▲2.02 |
Dashboard /wp-admin/admin.php?page=lionscripts-dashboard | 3.23 | 30.53 |
Webmaster Tools /wp-admin/admin.php?page=lionscripts-webmaster-tools | 3.23 | 33.57 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
lionscripts_wt_db_version |
Browser metrics Passed 4 tests
An overview of browser requirements for Webmaster Tools
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,859 ▲113 | 13.22 ▼1.45 | 1.79 ▲0.10 | 41.19 ▼2.52 |
Dashboard /wp-admin | 2,232 ▲41 | 5.84 ▼0.06 | 106.77 ▼9.67 | 76.71 ▲32.52 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.00 ▼0.02 | 37.97 ▼3.31 | 37.00 ▲2.20 |
Add New Post /wp-admin/post-new.php | 1,690 ▲158 | 22.24 ▼1.10 | 689.75 ▲71.34 | 57.39 ▲10.05 |
Media Library /wp-admin/upload.php | 1,411 ▲20 | 4.15 ▼0.02 | 104.45 ▲4.75 | 44.01 ▲0.60 |
Dashboard /wp-admin/admin.php?page=lionscripts-dashboard | 949 | 2.04 | 25.80 | 30.33 |
Webmaster Tools /wp-admin/admin.php?page=lionscripts-webmaster-tools | 1,136 | 1.77 | 26.98 | 29.46 |
Uninstaller [IO: ▲0.53MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following itemsThe uninstall procedure has failed, leaving 7 options in the database
- The plugin did not uninstall gracefully
- > Error in wp-content/plugins/webmaster-tools/plg.settings.php+84
Uncaught Error: Call to a member function deactivate() on null in wp-content/plugins/webmaster-tools/plg.settings.php:84
Stack trace:
#0 wp-includes/class-wp-hook.php(310): lionscripts_wt_uninstall()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(1269): do_action()
#4 wp-admin/includes/plugin.php(960): uninstall_plugin() - The plugin did not uninstall successfully, leaving 17 files (0.53MB) in the plugin directory
- (new file) assets/images/socialize2.png
- (new file) assets/images/socialize.png
- (new file) assets/images/icon-delete-16.png
- (new file) assets/images/ls-icon-32.png
- (new file) assets/images/logo.png
- (new file) assets/images/pro.png
- (new file) assets/images/ls-icon-16.png
- (new file) assets/css/style.css
- (new file) assets/images/icon-32.png
- (new file) assets/images/icon-16.png
- ...
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- recovery_mode_email_last_sent
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/webmaster-tools/index.php
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'lionscripts_plg' not found in wp-content/plugins/webmaster-tools/lib/lionscripts_plg_wt.class.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/webmaster-tools/lib/lionscripts_plg_wt.class.php:31
- > PHP Fatal error
Uncaught Error: Call to undefined function get_admin_url() in wp-content/plugins/webmaster-tools/lib/lionscripts_plg_wt.class.php:31
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add an image for screenshot #1 (Main Page (Settings Page))
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
webmaster-tools/webmaster-tools.php 92% from 13 tests
The principal PHP file in "Webmaster Tools" v. 2.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 202 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin793 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 106 | 21 | 572 |
CSS | 1 | 34 | 2 | 221 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 19.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 38.00 |
Average method complexity | 3.06 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 18 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 18 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
9 PNG files occupy 0.37MB with 0.15MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/socialize.png | 154.03KB | 59.31KB | ▼ 61.49% |
assets/images/ls-icon-16.png | 1.14KB | 0.63KB | ▼ 44.34% |
assets/images/icon-16.png | 0.86KB | 0.95KB | 0.00% |
assets/images/logo.png | 3.29KB | 2.16KB | ▼ 34.51% |
assets/images/socialize2.png | 154.36KB | 58.84KB | ▼ 61.88% |