Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.32MB] [CPU: ▲3.63ms] Passed 4 tests
This is a short check of server-side resources used by Melabu WP Author Box Pro
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 42.07 ▲3.43 |
Dashboard /wp-admin | 3.66 ▲0.36 | 53.32 ▲3.03 |
Posts /wp-admin/edit.php | 3.71 ▲0.36 | 60.51 ▲19.37 |
Add New Post /wp-admin/post-new.php | 6.17 ▲0.29 | 90.66 ▼1.34 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 41.69 ▲9.41 |
MB ABP /wp-admin/admin.php?page=melibu-plugin-author | 3.55 | 45.83 |
Options /wp-admin/admin.php?page=melibu-plugin-author-admin-control-menu-1 | 3.59 | 43.07 |
About /wp-admin/admin.php?page=melibu-plugin-author-admin-control-menu-2 | 3.55 | 39.89 |
Server storage [IO: ▲4.98MB] [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: 68 new files
Database: 1 new table, 10 new options
New tables |
---|
wp_melibu_ab |
New WordPress options |
---|
theysaidso_admin_options |
mb-author-box-pro-version |
widget_melibu-author-box-pro-widget-id |
mb-author-admin-colors |
mb-author-box-pro-db-version |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Melabu WP Author Box Pro: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,994 ▲248 | 14.82 ▲0.07 | 1.47 ▼0.36 | 40.07 ▼3.43 |
Dashboard /wp-admin | 2,378 ▲187 | 6.48 ▲1.60 | 125.04 ▲18.85 | 88.30 ▲43.11 |
Posts /wp-admin/edit.php | 2,299 ▲210 | 3.54 ▲1.53 | 57.39 ▲17.87 | 71.37 ▲36.43 |
Add New Post /wp-admin/post-new.php | 1,559 ▲25 | 23.38 ▲0.23 | 665.49 ▼15.99 | 38.84 ▼14.08 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.23 ▲0.08 | 81.67 ▼26.99 | 82.98 ▲37.76 |
MB ABP /wp-admin/admin.php?page=melibu-plugin-author | 1,346 | 3.15 | 39.25 | 119.16 |
Options /wp-admin/admin.php?page=melibu-plugin-author-admin-control-menu-1 | 2,926 | 6.69 | 122.79 | 123.21 |
About /wp-admin/admin.php?page=melibu-plugin-author-admin-control-menu-2 | 1,445 | 3.09 | 40.15 | 91.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-includes/option.php+2520
Trying to access array offset on value of type null
- The uninstall procedure has failed, leaving 8 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_melibu-author-box-pro-widget-id
- db_upgraded
- mb-author-admin-colors
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 15× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/author-box-pro/classes/class.MelibuWidget.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/author-box-pro/html/panel/social.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/author-box-pro/classes/class.MelibuAuthor.php:450
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/author-box-pro/html/panel/display.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/author-box-pro/html/panel/optionsobj.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/author-box-pro/html/panel/customcss.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/author-box-pro/html/panel/widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/author-box-pro/html/panel/permission.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_plugin_data() in wp-content/plugins/author-box-pro/html/panel.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/author-box-pro/html/panel/tabs.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: box, profile, colors, plugin, shortcode...
author-box-pro/author-box-pro.php Passed 13 tests
The principal PHP file in "Melabu WP Author Box Pro" v. 1.0.1.1 is loaded by WordPress automatically on each request
140 characters long description:
The utimative tool for Authors. Must have plugin for all powerfull blogs with Authors. This powerfull Author Box has more than a Pro plugin.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin4,607 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 23 | 360 | 646 | 2,426 |
PO File | 2 | 864 | 1,662 | 1,011 |
SVG | 1 | 0 | 0 | 685 |
JavaScript | 6 | 67 | 159 | 480 |
CSS | 5 | 0 | 3 | 5 |
PHP code 50% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Method cyclomatic complexity should be reduced to less than 100 (currently 122)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 26.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 137.00 |
Average method complexity | 5.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 122.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 2 | 20.00% |
▷ Concrete classes | 8 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 6 | 10.71% |
▷ Public methods | 50 | 89.29% |
▷ Protected methods | 4 | 7.14% |
▷ Private methods | 2 | 3.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 6 | 75.00% |
▷ Class constants | 2 | 25.00% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 3.20MB with 1.87MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/other/googleplus.png | 8.06KB | 3.65KB | ▼ 54.74% |
screenshot-1.png | 585.97KB | 185.30KB | ▼ 68.38% |
img/other/twitter.png | 4.30KB | 2.89KB | ▼ 32.80% |
img/other/sss.png | 314.70KB | 99.54KB | ▼ 68.37% |
img/other/author-box.png | 585.97KB | 185.30KB | ▼ 68.38% |