Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.18MB] [CPU: ▼7.68ms] Passed 4 tests
A check of server-side resources used by WP JV Custom Email Settings
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 40.87 ▲0.26 |
Dashboard /wp-admin | 3.49 ▲0.15 | 50.03 ▼14.79 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 51.43 ▲4.56 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.21 | 89.80 ▼20.20 |
Media Library /wp-admin/upload.php | 3.41 ▲0.19 | 39.49 ▲4.01 |
JV CES Email Log /wp-admin/edit.php?page=wp_jv_ces_notification_log_menu_page | 3.36 | 32.79 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_jv_notification_log |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-posts |
wp_jv_ces_db_version |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP JV Custom Email Settings
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,798 ▲52 | 14.24 ▼0.04 | 1.71 ▲0.08 | 41.83 ▼1.06 |
Dashboard /wp-admin | 2,204 ▲27 | 5.60 ▼0.00 | 88.36 ▼6.63 | 40.35 ▼0.57 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 1.99 ▼0.01 | 36.35 ▼1.55 | 35.82 ▲1.17 |
Add New Post /wp-admin/post-new.php | 6,403 ▲4,874 | 27.46 ▲3.79 | 963.85 ▲287.53 | 76.99 ▲23.48 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▼0.01 | 103.49 ▼3.92 | 42.22 ▼7.99 |
JV CES Email Log /wp-admin/edit.php?page=wp_jv_ces_notification_log_menu_page | 992 | 2.05 | 25.15 | 26.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?page=wp_jv_ces_notification_log_menu_page
- > Notice in wp-admin/includes/class-wp-list-table.php+1615
Trying to access array offset on value of type null
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wp-jv-custom-email-settings/wp-jv-custom-email-settings.php
- > /wp-content/plugins/wp-jv-custom-email-settings/uninstall.php
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
wp-jv-custom-email-settings/wp-jv-custom-email-settings.php Passed 13 tests
The entry point to "WP JV Custom Email Settings" version 2.6 is a PHP file that has certain tags in its header comment area
86 characters long description:
Notify users about new posts published and customize your e-mail notification settings
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,285 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 118 | 183 | 778 |
PO File | 3 | 251 | 361 | 464 |
JavaScript | 2 | 4 | 27 | 43 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 3.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 40 | |
▷ Named functions | 40 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin