Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- Install procedure had errors
- > Notice in wp-content/plugins/shopp-mailchimp/shopp-mailchimp.php+46
Accessing static property Shopp_MailChimp::$api_key as non static
Server metrics [RAM: ▼1.96MB] [CPU: ▼51.45ms] Passed 4 tests
A check of server-side resources used by Shopp + MailChimp
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 9.43 ▼30.78 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.38 ▼41.40 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.66 ▼43.56 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.41 ▼90.04 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.53 ▼26.85 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Shopp + MailChimp
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲30 | 14.72 ▲0.44 | 1.87 ▲0.27 | 44.41 ▲8.56 |
Dashboard /wp-admin | 2,197 ▲17 | 5.61 ▼0.00 | 94.61 ▲6.08 | 41.23 ▼2.88 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.03 ▲0.07 | 33.61 ▼6.93 | 35.53 ▼0.10 |
Add New Post /wp-admin/post-new.php | 1,530 ▼8 | 23.30 ▲0.24 | 639.28 ▲53.35 | 46.33 ▼1.64 |
Media Library /wp-admin/upload.php | 1,399 ▼4 | 4.22 ▼0.07 | 95.23 ▼10.46 | 45.02 ▼2.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
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/shopp-mailchimp/shopp-mailchimp.php+46
Accessing static property Shopp_MailChimp::$api_key as non static
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/shopp-mailchimp/shopp-mailchimp.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 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
Please fix the following attributes:
- Tags: You are using too many tags: 12 tag instead of maximum 10
- Screenshots: These screenshots do not have images: #1 (The Shopp + MailChimp WordPress admin page.), #2 (An additional view of the Shopp + MailChimp WordPress admin page.)
shopp-mailchimp/shopp-mailchimp.php Passed 13 tests
Analyzing the main PHP file in "Shopp + MailChimp" version 1.3
134 characters long description:
Customers who opt-in to email marketing from your WordPress ecommerce site during checkout are added to a specified list on MailChimp.
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
Good job! No executable or dangerous file extensions detected1,037 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 183 | 1,649 | 1,024 |
CSS | 1 | 3 | 0 | 13 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 109 | |
▷ Static methods | 1 | 0.92% |
▷ Public methods | 109 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
3 PNG files occupy 0.34MB with 0.23MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 188.93KB | 63.50KB | ▼ 66.39% |
images/shopp-email-marketing-opt-in.png | 25.97KB | 7.39KB | ▼ 71.54% |
screenshot-1.png | 131.02KB | 45.96KB | ▼ 64.92% |