Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.20MB] [CPU: ▼141.32ms] Passed 4 tests
Server-side resources used by Gravity Forms Active Campaign Add-On
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.06 ▲0.34 | 35.34 ▲13.75 |
Dashboard /wp-admin | 3.29 ▲0.24 | 44.38 ▲2.73 |
Posts /wp-admin/edit.php | 3.34 ▲0.24 | 40.62 ▼5.26 |
Add New Post /wp-admin/post-new.php | 5.59 ▲0.16 | 87.00 ▼563.24 |
Media Library /wp-admin/upload.php | 3.17 ▲0.17 | 33.09 ▲0.49 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gravity Forms Active Campaign Add-On
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.82 ▲0.24 | 9.01 ▼0.87 | 49.02 ▼2.78 |
Dashboard /wp-admin | 2,973 ▲42 | 5.90 ▼0.25 | 140.24 ▼22.62 | 115.74 ▲4.95 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 62.62 ▲0.87 | 90.83 ▼3.16 |
Add New Post /wp-admin/post-new.php | 1,615 ▼257 | 21.85 ▲2.75 | 281.07 ▼88.68 | 104.08 ▼2.60 |
Media Library /wp-admin/upload.php | 1,810 ▼0 | 5.03 ▲0.02 | 147.59 ▼13.88 | 123.81 ▲10.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully
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
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Form.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Tracking.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Message.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Campaign.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Contact.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Webhook.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Auth.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/List.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/User.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'AC_Contact' not found in wp-content/plugins/gravity-forms-active-campaign-add-on/includes/Subscriber.class.php:3
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (`/assets/screenshot-1.png`) image not found
gravity-forms-active-campaign-add-on/index.php 92% from 13 tests
The main file in "Gravity Forms Active Campaign Add-On" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("gravity-forms-active-campaign-add-on.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected1,128 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 264 | 80 | 1,128 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 7.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 116 | 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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tick.png | 0.29KB | 0.37KB | 0.00% |
images/cross.png | 0.59KB | 0.58KB | ▼ 2.15% |