Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.05ms] Passed 4 tests
Analyzing server-side resources used by NS Sending Update Email for Woocommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 35.68 ▼4.16 |
Dashboard /wp-admin | 3.41 ▲0.06 | 45.41 ▼17.11 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 45.93 ▼9.26 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 87.59 ▼1.65 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.20 ▲3.98 |
Sending Update Email /wp-admin/admin.php?page=ns-sending-update-email/ns-admin-options/ns_admin_option_dashboard.php | 3.30 | 30.83 |
/wp-admin/admin.php?page=plugineye209 | 3.30 | 44.03 |
Join the NS CLUB /wp-admin/admin.php?page=join-the-club | 3.12 | 25.57 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 29 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NS Sending Update Email for Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲104 | 13.32 ▼1.36 | 1.76 ▼0.19 | 42.41 ▼10.49 |
Dashboard /wp-admin | 2,245 ▲57 | 4.93 ▲0.06 | 110.74 ▼4.52 | 70.39 ▲21.69 |
Posts /wp-admin/edit.php | 2,131 ▲42 | 2.14 ▲0.12 | 41.28 ▲5.75 | 39.06 ▲5.02 |
Add New Post /wp-admin/post-new.php | 1,550 ▲7 | 23.11 ▲4.86 | 776.88 ▲154.40 | 59.32 ▲1.93 |
Media Library /wp-admin/upload.php | 1,427 ▲45 | 4.35 ▲0.17 | 104.49 ▼0.88 | 49.16 ▲8.40 |
Sending Update Email /wp-admin/admin.php?page=ns-sending-update-email/ns-admin-options/ns_admin_option_dashboard.php | 1,381 | 10.02 | 293.44 | 55.62 |
/wp-admin/admin.php?page=plugineye209 | 903 | 1.78 | 28.78 | 25.01 |
Join the NS CLUB /wp-admin/admin.php?page=join-the-club | 3,269 | 10.66 | 405.14 | 144.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-sending-update-email/ajax-services/ns-sue-update-status-ajax.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-sending-update-email/plugineye/plugineye-ajax/plugineye_on_deactivation_function.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ns-sending-update-email/inc/ns-sue-check-woocommerce-version.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=join-the-club
- > Deprecation (warning) in unknown
https://www.nsthemes.com/wp-content/themes/flatsome/assets/js/flatsome.js?ver=295a0d1d1e8168b25a51f884bffa7b33 0 Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead.
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (How to enable notification email .), #2 (Email example.)
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
ns-sending-update-email/ns-plugin-home.php 85% from 13 tests
The principal PHP file in "NS Sending Update Email for Woocommerce" v. 1.2.4 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ns-sending-update-email.php" instead of "ns-plugin-home.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 149 characters long)
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
No dangerous file extensions were detected1,632 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 122 | 213 | 771 |
CSS | 3 | 102 | 22 | 680 |
JavaScript | 2 | 33 | 29 | 181 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.23 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 26.32% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 73.68% |
Functions | 26 | |
▷ Named functions | 16 | 61.54% |
▷ Anonymous functions | 10 | 38.46% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
5 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 20.02KB | 6.72KB | ▼ 66.45% |
ns-admin-options/img/ns_banner_membership-500.png | 24.95KB | 26.27KB | 0.00% |
ns-admin-options/img/ns-theme-promo.png | 36.29KB | 11.62KB | ▼ 67.99% |
ns-admin-options/img/backend-sidebar-icon.png | 1.48KB | 0.54KB | ▼ 63.47% |
screenshot-2.png | 47.87KB | 11.94KB | ▼ 75.06% |