Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.37ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce to Autoresponders Email Syncing
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.75 ▼2.45 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.69 ▼7.19 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.60 ▼1.38 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 105.60 ▲15.54 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 40.54 ▲1.55 |
Server storage [IO: ▲2.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 144 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce to Autoresponders Email Syncing
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲65 | 14.05 ▼0.57 | 2.09 ▲0.43 | 43.89 ▲3.83 |
Dashboard /wp-admin | 2,217 ▲40 | 5.74 ▲0.12 | 94.67 ▲2.93 | 88.70 ▲52.45 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.06 ▲0.06 | 35.57 ▼3.32 | 34.01 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 22.99 ▲0.15 | 749.01 ▲56.60 | 52.58 ▼1.35 |
Media Library /wp-admin/upload.php | 1,437 ▲37 | 4.29 ▲0.09 | 101.55 ▼13.75 | 76.40 ▲29.21 |
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
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 9× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/debugger/index.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/client/client.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/debugger/action.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/debugger/controller.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/client/mail.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/phpinfo.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/test/verify_compat.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/client/agesort.php
- > /wp-content/plugins/woocommerce-to-autoresponders-woar/ajax_set_up_aweber.php
- 71× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
include(xmlrpc_wrappers.inc): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/server/server.php on line 23
- > PHP Notice
Undefined variable: xmlrpcString in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/server/discuss.php on line 6
- > PHP Warning
include(xmlrpc.inc): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/client/introspect.php on line 8
- > PHP Warning
include(xmlrpc.inc): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/client/zopetest.php on line 7
- > PHP Warning
require_once(xmlrpc.inc): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/test/parse_args.php on line 17
- > PHP Fatal error
require_once(): Failed opening required 'PHPUnit/Assert.php' (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/test/PHPUnit/TestCase.php on line 23
- > PHP Notice
Undefined variable: xmlrpcString in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/server/discuss.php on line 60
- > PHP Warning
include(): Failed opening 'xmlrpcs.inc' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/server/discuss.php on line 4
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/woocommerce-to-autoresponders-woar/aweber_api/oauth_application.php:56
- > PHP Warning
include(xmlrpc.inc): failed to open stream: No such file or directory in wp-content/plugins/woocommerce-to-autoresponders-woar/infusionsoft_src/xmlrpc-3.0/demo/client/comment.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (23 tag instead of maximum 10)
woocommerce-to-autoresponders-woar/init.php 92% from 13 tests
The entry point to "WooCommerce to Autoresponders Email Syncing" version 1.0.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woocommerce-to-autoresponders-woar.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin19,745 lines of code in 111 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 1,794 | 6,018 | 12,536 |
XML | 1 | 903 | 21 | 3,330 |
CSS | 4 | 45 | 225 | 1,854 |
HTML | 47 | 0 | 0 | 1,471 |
SVG | 1 | 0 | 0 | 339 |
make | 2 | 44 | 44 | 115 |
JavaScript | 1 | 9 | 4 | 44 |
Perl | 1 | 16 | 5 | 31 |
Python | 1 | 10 | 2 | 25 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 14.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 24.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 474 | |
▷ Static methods | 7 | 1.48% |
▷ Public methods | 445 | 93.88% |
▷ Protected methods | 24 | 5.06% |
▷ Private methods | 5 | 1.05% |
Functions | 59 | |
▷ Named functions | 59 | 100.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
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/deactivated.png | 1.45KB | 0.53KB | ▼ 63.84% |
img/btn_bg.png | 0.13KB | 0.29KB | 0.00% |
img/gh_bg.png | 0.96KB | 0.08KB | ▼ 91.22% |
img/selected_tab.png | 0.99KB | 0.21KB | ▼ 79.01% |
img/activated.png | 1.49KB | 0.53KB | ▼ 64.55% |