Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-includes/class-wp-hook.php+310
call_user_func_array() expects parameter 1 to be a valid callback, function 'Bmail_install' not found or invalid function name
Server metrics [RAM: ▼0.16MB] [CPU: ▼22.59ms] Passed 4 tests
This is a short check of server-side resources used by Bmail
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 42.26 ▲2.63 |
Dashboard /wp-admin | 3.17 ▼0.18 | 31.31 ▼32.55 |
Posts /wp-admin/edit.php | 3.30 ▼0.06 | 37.01 ▼17.07 |
Add New Post /wp-admin/post-new.php | 5.50 ▼0.40 | 80.00 ▼30.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 24.52 ▼10.41 |
Bmail /wp-admin/options-general.php?page=Bmail | 3.15 | 32.61 |
Server storage [IO: ▲0.02MB] [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: 2 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_Bmail_hotkeys |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Bmail_db_version |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bmail
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,805 ▲19 | 14.68 ▲0.07 | 1.68 ▼0.59 | 43.23 ▲3.69 |
Dashboard /wp-admin | 2,211 ▲37 | 6.36 ▲0.78 | 108.98 ▲18.03 | 40.28 ▼1.48 |
Posts /wp-admin/edit.php | 2,264 ▲167 | 3.09 ▲1.09 | 58.33 ▲23.88 | 35.12 ▼2.78 |
Add New Post /wp-admin/post-new.php | 1,537 ▲8 | 23.19 ▼0.26 | 615.05 ▲0.05 | 55.67 ▲4.37 |
Media Library /wp-admin/upload.php | 1,568 ▲171 | 4.99 ▲0.77 | 119.97 ▲21.10 | 46.59 ▲5.26 |
Bmail /wp-admin/options-general.php?page=Bmail | 1,530 | 6.73 | 131.03 | 88.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_Bmail_hotkeys
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- Bmail_db_version
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=Bmail
- > User deprecated in wp-includes/functions.php+5453
Function wp_tiny_mce is deprecated since version 3.3.0! Use wp_editor() instead.
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
The following issues need your attention
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bmail/Bmail.php:49
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: Too many tags (12 tag instead of maximum 10); only the first 5 tags are used in your directory listing
bmail/Bmail.php 92% from 13 tests
Analyzing the main PHP file in "Bmail" version 1.1
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bmail.php" instead of "Bmail.php")
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
Everything looks great! No dangerous files found in this plugin293 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 69 | 30 | 293 |
PHP code Passed 2 tests
An overview 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.24 |
Average class complexity | 33.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 3.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 2 | |
▷ Named functions | 2 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin