Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.14MB] [CPU: ▲2.74ms] Passed 4 tests
This is a short check of server-side resources used by Sender by BestWebSoft
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.64 ▲1.18 | 48.94 ▲11.88 |
Dashboard /wp-admin | 4.49 ▲1.14 | 59.52 ▼0.82 |
Posts /wp-admin/edit.php | 4.54 ▲1.18 | 53.88 ▲3.74 |
Add New Post /wp-admin/post-new.php | 7.02 ▲1.14 | 84.46 ▼3.83 |
Media Library /wp-admin/upload.php | 4.35 ▲1.12 | 48.44 ▲16.03 |
Priorities /wp-admin/admin.php?page=sndr_priorities | 4.31 | 40.18 |
Settings /wp-admin/admin.php?page=sndr_settings | 4.71 | 53.14 |
Add New /wp-admin/admin.php?page=sndr_send_user | 4.32 | 40.74 |
Lists /wp-admin/admin.php?page=sndr_distribution_list | 4.31 | 38.86 |
Campaigns /wp-admin/admin.php?page=view_mail_send | 4.33 | 41.81 |
BWS Panel /wp-admin/admin.php?page=sndr-bws-panel | 4.64 | 46.72 |
Templates /wp-admin/admin.php?page=sndr_letter_templates | 4.31 | 47.08 |
Letters /wp-admin/admin.php?page=sndr_letters_list | 4.31 | 40.33 |
Server storage [IO: ▲4.91MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 123 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_sndr_mail_send |
wp_sndr_users |
wp_sndr_mail_users_info |
New WordPress options |
---|
theysaidso_admin_options |
bstwbsftwppdtplgns_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
sndr_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sender by BestWebSoft
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,860 ▲125 | 14.84 ▲0.47 | 2.00 ▲0.23 | 42.67 ▼7.57 |
Dashboard /wp-admin | 2,263 ▲72 | 4.89 ▲0.01 | 115.33 ▲14.41 | 44.27 ▲3.51 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.06 ▲0.02 | 36.15 ▲2.28 | 37.24 ▲1.55 |
Add New Post /wp-admin/post-new.php | 1,563 ▲30 | 23.13 ▼0.07 | 711.65 ▲9.82 | 59.36 ▲6.61 |
Media Library /wp-admin/upload.php | 1,448 ▲57 | 4.18 ▼0.10 | 101.47 ▲3.05 | 42.22 ▼2.14 |
Priorities /wp-admin/admin.php?page=sndr_priorities | 1,213 | 1.79 | 23.20 | 28.69 |
Settings /wp-admin/admin.php?page=sndr_settings | 1,921 | 2.25 | 36.37 | 43.68 |
Add New /wp-admin/admin.php?page=sndr_send_user | 970 | 1.97 | 34.17 | 44.12 |
Lists /wp-admin/admin.php?page=sndr_distribution_list | 1,117 | 1.80 | 24.62 | 29.39 |
Campaigns /wp-admin/admin.php?page=view_mail_send | 1,159 | 1.97 | 28.18 | 30.65 |
BWS Panel /wp-admin/admin.php?page=sndr-bws-panel | 3,044 | 1.98 | 33.96 | 76.02 |
Templates /wp-admin/admin.php?page=sndr_letter_templates | 1,173 | 1.80 | 24.63 | 28.98 |
Letters /wp-admin/admin.php?page=sndr_letters_list | 1,122 | 1.88 | 28.49 | 27.37 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/sender/sender.php:2508
- > PHP Fatal error
Uncaught Error: Class 'Bws_Settings_Tabs' not found in wp-content/plugins/sender/includes/class-sndr-settings.php:7
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/sender/sender.php on line 597
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sender/bws_menu/class-bws-settings.php:1452
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/sender/bws_menu/product_list.php:9
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/columns-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/contact-form-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/captcha-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/custom-admin-page/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/custom-search-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/contact-form-to-db/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/error-log-viewer/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/donate-button/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/facebook-button-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/gallery-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/bws-google-2-step-verification/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/google-captcha/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/bws-google-maps/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/bws-google-analytics/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/google-shortlink/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/google-sitemap-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/htaccess/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/job-board/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/limit-attempts/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/bws-linkedin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/multilanguage/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/pagination/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/bws-pinterest/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/portfolio/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/pdf-print/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/post-to-csv/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/profile-extra-fields/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/promobar/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/quotes-and-tips/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/rating-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/relevant/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/realty/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/bws-smtp/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/sender/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/slider-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/social-login-bws/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/social-buttons-pack/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/subscriber/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/bws-testimonials/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/timesheet/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/updater/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/twitter-plugin/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/user-role/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=sndr-bws-panel
- > Network (severe)
http://ps.w.org/visitors-online/assets/icon-256x256.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Sender Settings page.), #2 (Plugin "Add New" page.), #3 (Plugin "Campaigns" page.), #4 (Plugin "Campaigns" page with subscribers list.)
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
sender/sender.php Passed 13 tests
The principal PHP file in "Sender by BestWebSoft" v. 1.3.7 is loaded by WordPress automatically on each request
102 characters long description:
Send bulk email messages to WordPress users. Custom templates, advanced settings and detailed reports.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin21,516 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 3,830 | 5,744 | 8,353 |
PHP | 9 | 551 | 787 | 6,583 |
CSS | 10 | 195 | 286 | 5,809 |
JavaScript | 7 | 32 | 123 | 621 |
SVG | 4 | 0 | 0 | 150 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 78.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 210.00 |
Average method complexity | 8.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 79.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 | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 34 | 85.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 15.00% |
Functions | 79 | |
▷ Named functions | 79 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
63 PNG files occupy 3.14MB with 0.48MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
bws_menu/css/jquery-ui-styles/1.11.4/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
bws_menu/css/jquery-ui-styles/1.9.2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.15KB | 0.14KB | ▼ 6.62% |
bws_menu/css/jquery-ui-styles/1.10.4/images/ui-icons_cd0a0a_256x240.png | 4.49KB | 4.20KB | ▼ 6.46% |