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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼8.15ms] Passed 4 tests
Server-side resources used by Fast ActiveCampaign
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.55 ▼17.70 |
Dashboard /wp-admin | 3.41 ▲0.06 | 52.97 ▼11.99 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.38 ▲0.31 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 90.56 ▼3.21 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 39.12 ▲2.36 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Fast ActiveCampaign
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 13.30 ▼1.29 | 4.80 ▲2.85 | 46.22 ▲4.15 |
Dashboard /wp-admin | 2,253 ▲50 | 4.86 ▼0.01 | 100.29 ▼26.17 | 42.69 ▼2.53 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.15 ▲0.15 | 34.64 ▼4.69 | 38.47 ▲2.98 |
Add New Post /wp-admin/post-new.php | 1,550 ▲2 | 17.60 ▼5.45 | 673.71 ▲69.23 | 59.47 ▼4.34 |
Media Library /wp-admin/upload.php | 1,429 ▲29 | 4.21 ▲0.00 | 101.91 ▼0.71 | 47.40 ▲0.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
- 17× 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/fast-activecampaign/includes/ac-api/Account.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/Contact.class.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/fast-activecampaign/fast-activecampaign.php:13
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/Deal.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/Campaign.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/Form.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/List.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/Webhook.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/Automation.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/fast-activecampaign/includes/ac-api/Design.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 issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: email marketing, active campaign, activecampaign, email automation, marketing automation
fast-activecampaign/fast-activecampaign.php Passed 13 tests
The principal PHP file in "Fast ActiveCampaign" v. 1.1.4 is loaded by WordPress automatically on each request
34 characters long description:
ActiveCampaign addon for Fast Flow
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
No dangerous file extensions were detected1,624 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 328 | 159 | 1,624 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 8.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 1.87 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 150 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 150 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin