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.02MB] [CPU: ▼1.39ms] Passed 4 tests
Analyzing server-side resources used by WP Extend Toolbar
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.09 ▼0.05 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.43 ▼3.68 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 46.23 ▼0.68 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 88.38 ▼1.13 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.30 ▲4.29 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WP Extend Toolbar
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,130 ▲359 | 13.48 ▼0.87 | 10.28 ▲8.65 | 43.99 ▲3.58 |
Dashboard /wp-admin | 2,195 ▲18 | 5.56 ▼0.07 | 90.03 ▼2.04 | 41.01 ▼1.11 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.01 | 41.34 ▲6.45 | 36.02 ▼2.64 |
Add New Post /wp-admin/post-new.php | 1,526 ▼5 | 23.11 ▲0.04 | 654.97 ▼13.61 | 59.31 ▲4.81 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.18 ▲0.01 | 94.76 ▼4.71 | 40.16 ▼4.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 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/wp-extend-toolbar/wp-extend-toolbar.php:117
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: admin bar, custom admin bar, tool bar, custom tool bar, plugin
wp-extend-toolbar/wp-extend-toolbar.php 92% from 13 tests
Analyzing the main PHP file in "WP Extend Toolbar" version 2.1.0
Please take the time to fix the following:
- Domain Path: The domain path folder was not found ("/language")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected189 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 32 | 10 | 78 |
JavaScript | 1 | 13 | 2 | 58 |
CSS | 1 | 5 | 0 | 53 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 1.11MB with 0.63MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 1,133.31KB | 414.86KB | ▼ 63.39% |
img/btn-open.png | 3.04KB | 1.49KB | ▼ 50.93% |
img/btn-close.png | 3.00KB | 1.35KB | ▼ 55.07% |