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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.15ms] Passed 4 tests
This is a short check of server-side resources used by Cart66 to Mailchimp
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.49 ▼2.06 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.86 ▼4.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 53.30 ▲7.59 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.67 ▼4.11 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.96 ▲2.05 |
Cart66 to Mailchimp /wp-admin/options-general.php?page=cart66-to-mailchimp-plugin | 3.18 | 30.51 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Cart66 to Mailchimp
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲47 | 13.24 ▼1.19 | 1.70 ▼0.57 | 38.49 ▼15.09 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼0.00 | 107.70 ▼3.56 | 40.71 ▼6.74 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.06 ▲0.08 | 39.43 ▲2.66 | 34.88 ▼1.53 |
Add New Post /wp-admin/post-new.php | 1,545 ▲11 | 18.42 ▼4.58 | 621.39 ▼35.04 | 53.65 ▼6.59 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.02 | 97.15 ▼3.42 | 43.60 ▼0.77 |
Cart66 to Mailchimp /wp-admin/options-general.php?page=cart66-to-mailchimp-plugin | 807 | 2.02 | 26.51 | 29.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=cart66-to-mailchimp-plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=cart66-to-mailchimp-plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant WP_PLUGIN_DIR - assumed 'WP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/cart66-to-mailchimp/cart66_to_mailchimp.php on line 38
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cart66-to-mailchimp/cart66_to_mailchimp.php:56
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Cart66 to Mailchimp Settings Page), #2 (Cart66 to Mailchimp Options Page)
cart66-to-mailchimp/cart66_to_mailchimp.php 85% from 13 tests
"Cart66 to Mailchimp" version 1.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("cart66-to-mailchimp.php" instead of "cart66_to_mailchimp.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 152 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin784 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 153 | 1,652 | 784 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.05 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 1.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 100 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 100 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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