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: ▲0.00MB] [CPU: ▼2.16ms] Passed 4 tests
An overview of server-side resources used by Sip Advanced Email Notification For WC Free
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.05 ▼1.69 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.51 ▼7.80 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.55 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.66 ▲2.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.08 ▼1.11 |
Server storage [IO: ▲8.52MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 240 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_sip_aenwc_queue |
wp_sip_aenwc_email_chain |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
recovery_mode_email_last_sent |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Sip Advanced Email Notification For WC Free
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.28 ▼1.15 | 1.62 ▼0.24 | 40.90 ▼7.43 |
Dashboard /wp-admin | 2,206 ▲18 | 5.86 ▼0.04 | 108.75 ▼4.03 | 39.17 ▼5.35 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.02 | 39.49 ▲4.59 | 35.29 ▼0.40 |
Add New Post /wp-admin/post-new.php | 1,514 ▼28 | 17.40 ▼0.62 | 623.76 ▼23.72 | 53.79 ▲4.18 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▼0.00 | 97.07 ▼10.64 | 40.84 ▼3.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_sip_aenwc_email_chain
- wp_sip_aenwc_queue
- Zombie WordPress options detected upon uninstall: 7 options
- recovery_mode_email_last_sent
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
- 25× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/ui/help.php:3
- > PHP Warning
Use of undefined constant SIP_AENWCF_VERSION - assumed 'SIP_AENWCF_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/ui/themes.php on line 7
- > PHP Warning
Use of undefined constant SIP_SPWCF_PLUGIN - assumed 'SIP_SPWCF_PLUGIN' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/ui/plugin.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/includes/class-sip-advanced-email-notification-for-woocommerce-post-tab.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/sip-advanced-email-notification-for-woocommerce-admin-post-type.php:58
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/inc/add-action.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/ui/get-pro-version-features.php:4
- > PHP Warning
Use of undefined constant SIP_WPGUMBY_THEME_URL - assumed 'SIP_WPGUMBY_THEME_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/ui/themes.php on line 7
- > PHP Warning
Use of undefined constant SIP_AENWCF_VERSION - assumed 'SIP_AENWCF_VERSION' (this will throw an Error in a future version of PHP) in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/ui/plugin.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sip-advanced-email-notifications-for-wc-free/admin/partials/sip-advanced-email-notification-for-woocommerce-admin-email.php:73
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Tags: Too many tags (14 tag instead of maximum 10); only the first 5 tags are used in your directory listing
sip-advanced-email-notifications-for-wc-free/sip-advanced-email-notifications-wc-free.php 77% from 13 tests
The main PHP script in "Sip Advanced Email Notification For WC Free" version 1.0.4 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sip-advanced-email-notifications-for-wc-free.php" instead of "sip-advanced-email-notifications-wc-free.php")
- Requires at least: The required version number must match the one declared in readme.txt ("4.1" instead of "2.6.0")
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
Good job! No executable or dangerous file extensions detected88,988 lines of code in 88 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 16 | 5,453 | 164 | 55,815 |
JavaScript | 32 | 3,919 | 3,495 | 25,187 |
PHP | 35 | 1,235 | 1,514 | 5,494 |
SVG | 1 | 0 | 3 | 2,087 |
HTML | 4 | 84 | 0 | 405 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 33.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 8 | 6.72% |
▷ Public methods | 73 | 61.34% |
▷ Protected methods | 4 | 3.36% |
▷ Private methods | 42 | 35.29% |
Functions | 74 | |
▷ Named functions | 74 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 35 | |
▷ Global constants | 24 | 68.57% |
▷ Class constants | 11 | 31.43% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
19 PNG files occupy 0.12MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/back_disabled.png | 1.33KB | 0.60KB | ▼ 55.11% |
admin/partials/assets/images/icon-wpgumby.png | 32.42KB | 34.75KB | 0.00% |
admin/partials/assets/images/mec-mini-logo.png | 1.60KB | 1.05KB | ▼ 34.51% |
admin/partials/assets/images/mini-logo.png | 1.72KB | 1.13KB | ▼ 34.58% |
admin/images/forward_disabled.png | 1.33KB | 0.58KB | ▼ 56.42% |