Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼0.50ms] Passed 4 tests
Analyzing server-side resources used by Bulk Mail Send
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 37.55 ▼0.13 |
Dashboard /wp-admin | 3.50 ▲0.20 | 45.08 ▼5.12 |
Posts /wp-admin/edit.php | 3.61 ▲0.26 | 44.52 ▲1.59 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 90.38 ▲11.13 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 37.88 ▲1.68 |
Bulk Mail Send /wp-admin/admin.php?page=bulkmailsend | 3.39 | 32.45 |
Select Users /wp-admin/admin.php?page=bulkmailsend-user-selector | 3.40 | 31.78 |
Settings /wp-admin/admin.php?page=bulkmailsend-settings | 3.39 | 30.94 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Bulk Mail Send
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,845 ▲84 | 14.07 ▲0.01 | 1.73 ▲0.19 | 37.98 ▲0.01 |
Dashboard /wp-admin | 2,229 ▲51 | 5.60 ▼0.13 | 79.95 ▼40.70 | 37.05 ▼4.83 |
Posts /wp-admin/edit.php | 2,128 ▲25 | 2.00 ▲0.05 | 34.24 ▼12.62 | 34.02 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,551 ▲23 | 23.13 ▲0.08 | 588.93 ▼28.62 | 54.90 ▲7.81 |
Media Library /wp-admin/upload.php | 1,431 ▲31 | 4.13 ▼0.00 | 126.62 ▲24.61 | 52.12 ▲5.08 |
Bulk Mail Send /wp-admin/admin.php?page=bulkmailsend | 854 | 2.02 | 24.88 | 29.86 |
Select Users /wp-admin/admin.php?page=bulkmailsend-user-selector | 1,139 | 2.04 | 26.63 | 28.47 |
Settings /wp-admin/admin.php?page=bulkmailsend-settings | 837 | 2.02 | 22.93 | 24.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-mail-send/lib/class-tt-bulkmailsenduser-list-table.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-mail-send/lib/class-bulkmailsend.php:38
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/bulk-mail-send/lib/class-tt-bulkmailsendorder-list-table.php on line 26
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-screen.php): failed to open stream: No such file or directory in wp-content/plugins/bulk-mail-send/lib/class-tt-bulkmailsendorder-list-table.php on line 26
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-screen.php' (include_path='.:/usr/share/php') in wp-content/plugins/bulk-mail-send/lib/class-tt-bulkmailsendorder-list-table.php on line 26
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-screen.php): failed to open stream: No such file or directory in wp-content/plugins/bulk-mail-send/lib/class-tt-bulkmailsenduser-list-table.php on line 26
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-mail-send/lib/class-bulkmailsend.php:38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bulk-mail-send/lib/class-bulkmailsendadmin.php:36
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-screen.php' (include_path='.:/usr/share/php') in wp-content/plugins/bulk-mail-send/lib/class-tt-bulkmailsenduser-list-table.php on line 26
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: mail, users, customers, orders
bulk-mail-send/bulkmailsend.php 85% from 13 tests
The main file in "Bulk Mail Send" v. 1.11 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "3.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("bulk-mail-send.php" instead of "bulkmailsend.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin971 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 161 | 487 | 971 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 32.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 4.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 30 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 11.76% |
Functions | 3 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 3 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin