Benchmarks
Plugin footprint 83% 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: ▼8.00ms] Passed 4 tests
Server-side resources used by WooCommerce - ActiveCampaign
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 33.94 ▼7.34 |
Dashboard /wp-admin | 3.32 ▼0.03 | 48.51 ▼14.66 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.62 ▲0.68 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 86.94 ▼10.66 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.49 ▲1.66 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WooCommerce - ActiveCampaign: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.60 ▼0.14 | 1.56 ▼0.12 | 37.27 ▼6.70 |
Dashboard /wp-admin | 2,198 ▲17 | 5.62 ▼0.08 | 92.51 ▼13.72 | 40.72 ▼4.41 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.01 ▼0.00 | 39.19 ▲1.01 | 36.40 ▲3.51 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.26 ▼0.00 | 646.80 ▼10.17 | 48.47 ▼5.35 |
Media Library /wp-admin/upload.php | 1,397 ▲3 | 4.22 ▲0.02 | 123.53 ▲23.65 | 45.50 ▲1.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% 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 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 items
- 19× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Group.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Design.class.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/es-woocommerce-activecampaign/es-woocommerce-activecampaign.php:14
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Auth.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Deal.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Campaign.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Segment.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Account.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Form.class.php:4
- > PHP Fatal error
Uncaught Error: Class 'ESWC\\AC\\ActiveCampaign' not found in wp-content/plugins/es-woocommerce-activecampaign/includes/Tag.class.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
2 plugin tags: activecampaign, woocommerce
es-woocommerce-activecampaign/es-woocommerce-activecampaign.php 92% from 13 tests
The main PHP script in "WooCommerce - ActiveCampaign" version 2.1.3 is automatically included on every request by WordPress
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.4" instead of "3.6")
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
Everything looks great! No dangerous files found in this plugin2,406 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 539 | 351 | 2,406 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 53.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 183 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 183 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin