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: ▲2.86MB] [CPU: ▲16.85ms] Passed 4 tests
This is a short check of server-side resources used by Email Reminders
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.30 ▲2.83 | 59.04 ▲19.07 |
Dashboard /wp-admin | 6.22 ▲2.91 | 63.47 ▲13.23 |
Posts /wp-admin/edit.php | 6.27 ▲2.91 | 69.44 ▲22.74 |
Add New Post /wp-admin/post-new.php | 8.74 ▲2.85 | 102.53 ▲17.52 |
Media Library /wp-admin/upload.php | 6.08 ▲2.85 | 52.19 ▲17.57 |
Rules /wp-admin/admin.php?page=oper-rules | 6.20 | 62.94 |
Contacts /wp-admin/admin.php?page=oper-contacts | 6.12 | 53.27 |
Reminders /wp-admin/admin.php?page=oper-reminders | 6.11 | 49.12 |
Settings /wp-admin/admin.php?page=oper-settings | 6.22 | 59.13 |
Server storage [IO: ▲2.77MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 170 new files
Database: 5 new tables, 25 new options
New tables |
---|
wp_o_er_reminders |
wp_o_er_rules |
wp_o_er_contacts |
wp_o_er_log |
wp_o_er_contacts_meta |
New WordPress options |
---|
oper_force_xls2csv_import |
oper_user_role_reminders |
oper_contact_form__custom_forms |
oper_reminders_email_field_name |
widget_recent-comments |
oper_contacts_editing_via |
theysaidso_admin_options |
oper_date_format |
oper_activation_process |
oper_protected_directory_name_level1 |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Email Reminders
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,008 ▲261 | 13.46 ▼0.89 | 8.31 ▲6.52 | 36.74 ▼7.54 |
Dashboard /wp-admin | 2,270 ▲90 | 5.56 ▼0.09 | 85.08 ▼18.98 | 38.51 ▼14.20 |
Posts /wp-admin/edit.php | 2,175 ▲72 | 1.99 ▲0.01 | 37.90 ▲0.50 | 33.41 ▲1.47 |
Add New Post /wp-admin/post-new.php | 1,574 ▲48 | 22.87 ▼0.14 | 687.99 ▼37.63 | 58.41 ▲10.62 |
Media Library /wp-admin/upload.php | 1,476 ▲76 | 4.21 ▲0.07 | 102.85 ▼0.01 | 40.47 ▼3.25 |
Rules /wp-admin/admin.php?page=oper-rules | 1,719 | 6.07 | 118.10 | 79.37 |
Contacts /wp-admin/admin.php?page=oper-contacts | 1,871 | 5.93 | 105.40 | 59.03 |
Reminders /wp-admin/admin.php?page=oper-reminders | 1,844 | 5.87 | 80.16 | 59.58 |
Settings /wp-admin/admin.php?page=oper-settings | 1,993 | 5.60 | 64.65 | 56.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% 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 5 tables in the database
- wp_o_er_contacts
- wp_o_er_rules
- wp_o_er_reminders
- wp_o_er_contacts_meta
- wp_o_er_log
- The uninstall procedure has failed, leaving 25 options in the database
- oper_is_delete_if_deactive
- oper_force_xls2csv_import
- theysaidso_admin_options
- oper_user_role_contacts
- oper_activation_process
- widget_recent-comments
- oper_reminders_email_field_name
- oper_protected_directory_name_level1
- oper_contacts_labels
- widget_theysaidso_widget
- ...
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
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=oper-reminders
- > Notice in wp-content/plugins/email-reminders/includes/cron/includes/opera-view-reminders.php+208
Undefined index: opera_cron_hook__reminders_send
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=oper-reminders
- > Notice in wp-content/plugins/email-reminders/includes/cron/includes/opera-view-reminders.php+208
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'OPER_JS_CSS' not found in wp-content/plugins/email-reminders/includes/load-js.php:13
- > PHP Fatal error
Uncaught Error: Class 'OPER_JS_CSS' not found in wp-content/plugins/email-reminders/includes/load-css.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/email-reminders/includes/csv-parser/csv_css_js.php:11
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
email-reminders/email-reminders.php Passed 13 tests
This is the main PHP file of "Email Reminders" version 2.0.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
75 characters long description:
Sending friendly email reminders or follow-up emails based on custom rules.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin33,577 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 67 | 5,780 | 9,533 | 15,282 |
CSS | 50 | 576 | 647 | 12,818 |
JavaScript | 29 | 1,136 | 1,473 | 5,170 |
SVG | 1 | 0 | 0 | 288 |
Markdown | 1 | 4 | 0 | 19 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 20.20 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 142.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 5 | 12.20% |
▷ Concrete classes | 36 | 87.80% |
▷ Final classes | 4 | 11.11% |
Methods | 372 | |
▷ Static methods | 26 | 6.99% |
▷ Public methods | 302 | 81.18% |
▷ Protected methods | 2 | 0.54% |
▷ Private methods | 68 | 18.28% |
Functions | 253 | |
▷ Named functions | 253 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
7 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/arrows.png | 0.24KB | 0.24KB | 0.00% |
assets/img/icon-16x16.png | 0.61KB | 0.75KB | 0.00% |
assets/vendors/chosen/chzn-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
assets/vendors/chosen/chzn-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/img/arrows-2x.png | 0.84KB | 0.88KB | 0.00% |