Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼6.22ms] Passed 4 tests
An overview of server-side resources used by ActiveCampaign for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 31.98 ▼6.02 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.60 ▼11.40 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.21 ▼3.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.11 ▼3.95 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.07 ▲2.05 |
Server storage [IO: ▲7.64MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 416 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for ActiveCampaign for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲18 | 14.21 ▲0.01 | 1.73 ▼0.17 | 37.36 ▼1.05 |
Dashboard /wp-admin | 2,195 ▲14 | 5.55 ▼0.15 | 90.33 ▼9.31 | 40.29 ▲1.90 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.01 | 39.18 ▲1.78 | 35.29 ▲1.34 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.45 ▲0.33 | 590.96 ▼149.56 | 49.24 ▼0.17 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▲0.10 | 98.16 ▼28.39 | 41.65 ▼14.94 |
Uninstaller [IO: ▲7.64MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attentionThis plugin did not uninstall successfully, leaving 7 options in the database
- The plugin did not uninstall gracefully
- > Error in wp-content/plugins/activecampaign-for-woocommerce/includes/class-activecampaign-for-woocommerce-logger.php+23
Uncaught Error: Class 'WC_Log_Handler_DB' not found in wp-content/plugins/activecampaign-for-woocommerce/includes/class-activecampaign-for-woocommerce-logger.php:23
Stack trace:
#0 wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/composer/ClassLoader.php(478): include()
#1 wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/composer/ClassLoader.php(346): Composer\Autoload\includeFile()
#2 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#3 wp-content/plugins/activecampaign-for-woocommerce/includes/commands/class-activecampaign-for-woocommerce-uninstall-plugin-command.php(39): spl_autoload_call()
#4 wp-content/plugins/activecampaign-for-woocommerce/uninstall.php(27): Activecampaign_For_Woocommerce_Uninstall_Plugin_Command->execute()
#5 wp-content/plugins/activecampaign-for-woocommerce/uninstall.php(30): activecampaign_for_woocommerce_uninstall()
#6 /var/www/wordpre - Incomplete uninstall procedure, leaving 416 files (7.64MB) in the plugin directory
- (new file) ac_vendor/brick/math/src/BigRational.php
- (new file) ac_vendor/brick/math/src/BigInteger.php
- (new file) README.txt
- (new file) CHANGELOG.txt
- (new file) ac_vendor/brick/math/src/Exception/IntegerOverflowException.php
- (new file) ac_vendor/autoload.php
- (new file) LICENSE.txt
- (new file) ac_vendor/brick/math/src/BigDecimal.php
- (new file) ac_vendor/brick/math/src/Exception/DivisionByZeroException.php
- (new file) ac_vendor/brick/math/src/BigNumber.php
- ...
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- recovery_mode_email_last_sent
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/activecampaign-for-woocommerce/public/partials/activecampaign-for-woocommerce-public-display.php
- 212× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Activecampaign_For_Woocommerce_Executable_Interface' not found in wp-content/plugins/activecampaign-for-woocommerce/includes/orders/historical/class-activecampaign-for-woocommerce-historical-sync-contacts.php:28
- > PHP Fatal error
Uncaught Error: Interface 'AcVendor\\DI\\Factory\\RequestedEntry' not found in wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/php-di/php-di/src/Compiler/RequestedEntryHolder.php:10
- > PHP Fatal error
Uncaught Error: Class 'AcVendor\\Brick\\Money\\Exception\\MoneyException' not found in wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/brick/money/src/Exception/CurrencyConversionException.php:9
- > PHP Fatal error
Uncaught Error: Interface 'AcVendor\\DI\\Definition\\Source\\Autowiring' not found in wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/php-di/php-di/src/Definition/Source/NoAutowiring.php:13
- > PHP Fatal error
Trait 'Activecampaign_For_Woocommerce_Admin_Utilities' not found in wp-content/plugins/activecampaign-for-woocommerce/admin/class-activecampaign-for-woocommerce-admin-historical-sync.php on line 26
- > PHP Fatal error
Uncaught Error: Interface 'AcVendor\\GuzzleHttp\\BodySummarizerInterface' not found in wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/guzzlehttp/guzzle/src/BodySummarizer.php:6
- > PHP Fatal error
Trait 'Activecampaign_For_Woocommerce_Admin_Utilities' not found in wp-content/plugins/activecampaign-for-woocommerce/includes/class-activecampaign-for-woocommerce-activator.php on line 25
- > PHP Fatal error
Uncaught Error: Interface 'AcVendor\\DI\\Definition\\Resolver\\DefinitionResolver' not found in wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/php-di/php-di/src/Definition/Resolver/EnvironmentVariableResolver.php:14
- > PHP Fatal error
Uncaught Error: Interface 'AcVendor\\DI\\Definition\\Source\\DefinitionSource' not found in wp-content/plugins/activecampaign-for-woocommerce/ac_vendor/php-di/php-di/src/Definition/Source/AnnotationBasedAutowiring.php:32
- > PHP Fatal error
Trait 'Activecampaign_For_Woocommerce_Data_Validation' not found in wp-content/plugins/activecampaign-for-woocommerce/includes/customers/class-activecampaign-for-woocommerce-customer-utilities.php on line 26
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: email, ecommerce, abandoned cart, marketing, activecampaign...
activecampaign-for-woocommerce/activecampaign-for-woocommerce.php 92% from 13 tests
"ActiveCampaign for WooCommerce" version 2.5.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Requires at least: Required version must match the one declared in readme.txt ("6.0" instead of "7.4")
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 detected37,441 lines of code in 398 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 384 | 4,047 | 20,943 | 35,467 |
JSON | 1 | 0 | 0 | 1,040 |
JavaScript | 9 | 154 | 49 | 903 |
PO File | 1 | 1 | 1 | 15 |
XML | 1 | 0 | 0 | 15 |
CSS | 2 | 0 | 5 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 14.51 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 318.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 49 | |
Interfaces | 55 | |
Traits | 23 | |
Classes | 274 | |
▷ Abstract classes | 7 | 2.55% |
▷ Concrete classes | 267 | 97.45% |
▷ Final classes | 58 | 21.72% |
Methods | 2,375 | |
▷ Static methods | 258 | 10.86% |
▷ Public methods | 1,973 | 83.07% |
▷ Protected methods | 29 | 1.22% |
▷ Private methods | 373 | 15.71% |
Functions | 179 | |
▷ Named functions | 35 | 19.55% |
▷ Anonymous functions | 144 | 80.45% |
Constants | 176 | |
▷ Global constants | 32 | 18.18% |
▷ Class constants | 144 | 81.82% |
▷ Public constants | 130 | 90.28% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 1.54MB with 1.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-6.png | 451.69KB | 116.84KB | ▼ 74.13% |
assets/screenshot-5.png | 472.16KB | 115.00KB | ▼ 75.64% |
assets/screenshot-4.png | 455.71KB | 113.89KB | ▼ 75.01% |
assets/icon-256x256.png | 6.93KB | 2.91KB | ▼ 58.03% |
assets/screenshot-2.png | 115.94KB | 52.27KB | ▼ 54.91% |