Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.91MB] [CPU: ▼30.69ms] Passed 4 tests
Server-side resources used by Bubok Publisher
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.76 ▼8.66 |
Dashboard /wp-admin | 3.03 ▼0.27 | 22.06 ▼25.85 |
Posts /wp-admin/edit.php | 3.03 ▼0.32 | 23.72 ▼21.75 |
Add New Post /wp-admin/post-new.php | 3.03 ▼2.85 | 25.03 ▼62.70 |
Media Library /wp-admin/upload.php | 3.03 ▼0.20 | 20.80 ▼12.44 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_bubok_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bubok Publisher
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.58 ▼0.81 | 1.77 ▼0.05 | 40.82 ▼3.80 |
Dashboard /wp-admin | 2,215 ▲27 | 4.85 ▼0.96 | 99.44 ▼26.04 | 37.96 ▼6.28 |
Posts /wp-admin/edit.php | 2,101 ▲15 | 2.04 ▲0.05 | 39.02 ▲2.55 | 34.43 ▼0.96 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 23.15 ▼0.04 | 621.24 ▼33.59 | 61.19 ▼4.87 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.21 ▲0.00 | 99.77 ▼1.20 | 42.16 ▼2.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Uninstall procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function add_utility_page is deprecated since version 4.5.0! Use add_menu_page() instead.
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_bubok_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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 text when accessed directly:
- > /wp-content/plugins/bubok-publisher/bubok.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bubok-publisher/admin.php:5
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/bubok-publisher/widget.php:5
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
bubok-publisher/bubok.php 92% from 13 tests
The main PHP file in "Bubok Publisher" ver. 1.5 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bubok-publisher.php" instead of "bubok.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected502 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 135 | 35 | 502 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
There were not PNG files found in your plugin