Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.25ms] Passed 4 tests
Server-side resources used by WP Butler
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 40.75 ▲1.19 |
Dashboard /wp-admin | 3.39 ▲0.05 | 53.81 ▼10.32 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 46.83 ▼7.29 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 84.72 ▼16.58 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 39.62 ▲4.00 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Butler
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 13.63 ▼0.50 | 2.18 ▲0.01 | 42.51 ▲2.41 |
Dashboard /wp-admin | 2,253 ▲71 | 5.28 ▲0.40 | 111.78 ▲10.33 | 38.75 ▼7.28 |
Posts /wp-admin/edit.php | 2,139 ▲47 | 2.68 ▲0.65 | 44.69 ▲4.37 | 33.25 ▼2.26 |
Add New Post /wp-admin/post-new.php | 1,564 ▲45 | 18.55 ▼4.67 | 609.41 ▲11.49 | 34.89 ▼14.11 |
Media Library /wp-admin/upload.php | 1,443 ▲55 | 4.72 ▲0.39 | 103.84 ▼2.30 | 41.76 ▼9.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-butler/wp-butler.php:606
- > 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 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: actions, automate, butler, admin, autocomplete
wp-butler/wp-butler.php 92% from 13 tests
The primary PHP file in "WP Butler" version 2.0.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 179 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin1,331 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 68 | 342 | 781 |
PHP | 2 | 90 | 172 | 350 |
PO File | 5 | 27 | 27 | 138 |
Markdown | 1 | 15 | 0 | 32 |
JavaScript | 2 | 7 | 3 | 30 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 4.86 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 9.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 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 Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 compressed PNG files occupy 0.02MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jquery-ui-css/images/ui-icons_cc0000_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
jquery-ui-css/images/ui-icons_999999_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
jquery-ui-css/images/ui-icons_333333_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
jquery-ui-css/images/ui-icons_21759b_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |