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
Installer ran successfully
Server metrics [RAM: ▼0.60MB] [CPU: ▼16.02ms] Passed 4 tests
A check of server-side resources used by WooCommerce Email Marketing & Cart Abandonment Recovery
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 47.68 ▲4.46 |
Dashboard /wp-admin | 3.37 ▲0.07 | 57.33 ▲4.74 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 47.43 ▼7.89 |
Add New Post /wp-admin/post-new.php | 3.25 ▼2.63 | 38.45 ▼59.35 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.66 ▼1.30 |
Conditions list /wp-admin/edit.php?post_type=wcmm | 3.32 | 35.27 |
Add New /wp-admin/post-new.php?post_type=wcmm | 3.32 | 42.27 |
Server storage [IO: ▲2.60MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 95 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Email Marketing & Cart Abandonment Recovery
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.31 ▼0.25 | 2.05 ▲0.26 | 43.62 ▼0.43 |
Dashboard /wp-admin | 2,222 ▲45 | 5.63 ▼0.05 | 85.09 ▼6.31 | 38.90 ▼5.12 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.02 ▲0.03 | 34.98 ▼6.44 | 34.45 ▼6.01 |
Add New Post /wp-admin/post-new.php | 1,558 ▲32 | 18.48 ▼4.52 | 649.03 ▼34.14 | 67.29 ▲15.67 |
Media Library /wp-admin/upload.php | 1,427 ▲30 | 4.25 ▲0.06 | 95.88 ▼13.55 | 43.96 ▼2.42 |
Conditions list /wp-admin/edit.php?post_type=wcmm | 763 | 1.51 | 7.81 | 16.03 |
Add New /wp-admin/post-new.php?post_type=wcmm | 774 | 1.52 | 7.00 | 37.89 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/conditional-marketing-mailer/admin/cron.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/conditional-marketing-mailer/woo-conditional-marketing-mailer.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/conditional-marketing-mailer/admin/setting.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/conditional-marketing-mailer/admin/post_type.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/conditional-marketing-mailer/admin/metaBox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/conditional-marketing-mailer/admin/testing-massage.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: abandonment, conditions, woocommerce, campaign, cart abandonment recovery...
conditional-marketing-mailer/woo-conditional-marketing-mailer.php 85% from 13 tests
Analyzing the main PHP file in "WooCommerce Email Marketing & Cart Abandonment Recovery" version 2.6
It is important to fix the following:
- Domain Path: The domain path folder was not found ("/languages")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("conditional-marketing-mailer.php" instead of "woo-conditional-marketing-mailer.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin16,602 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 65 | 2,579 | 783 | 9,768 |
CSS | 9 | 376 | 46 | 5,060 |
PHP | 8 | 332 | 76 | 1,774 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 20.57 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 58 | |
▷ Static methods | 2 | 3.45% |
▷ Public methods | 55 | 94.83% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 5.17% |
Functions | 12 | |
▷ Named functions | 8 | 66.67% |
▷ Anonymous functions | 4 | 33.33% |
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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
notifications/icon-128x128.png | 2.95KB | 2.74KB | ▼ 7.24% |