100% active-campaign-wpforms

Code Review | Active Campaign & WPForms

WordPress plugin Active Campaign & WPForms scored 100% from 54 tests.

About plugin

  • Plugin page: active-campaign-w...
  • Plugin version: 1.0.9
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-5.9
  • WordPress version: 5.9.2
  • First release: Jul 10, 2019
  • Latest release: Feb 8, 2022
  • Number of updates: 12
  • Update frequency: every 78.8 days
  • Top authors: wpoperations (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active / 10,296 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.01MB] [CPU: ▼293.85ms] Passed 4 tests

This is a short check of server-side resources used by Active Campaign & WPForms
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0255.03 ▲5.03
Dashboard /wp-admin3.43 ▲0.0232.44 ▲0.03
Posts /wp-admin/edit.php3.66 ▲0.0236.95 ▲1.84
Add New Post /wp-admin/post-new.php6.90 ▼0.0894.12 ▼1,175.25
Media Library /wp-admin/upload.php3.31 ▲0.0123.34 ▼2.00

Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Active Campaign & WPForms
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,769 ▲2515.78 ▲0.006.57 ▲0.202.46 ▲0.27
Dashboard /wp-admin2,901 ▲436.09 ▼0.18119.24 ▼34.83156.41 ▼18.83
Posts /wp-admin/edit.php2,692 ▲13.26 ▲0.0360.54 ▼5.89138.85 ▼10.07
Add New Post /wp-admin/post-new.php1,672 ▼3918.10 ▼3.68377.20 ▼66.19163.18 ▲6.23
Media Library /wp-admin/upload.php1,701 ▲65.46 ▼0.05147.84 ▲1.15188.86 ▲3.98

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes: Please take inspiration from this readme.txt

active-campaign-wpforms/active-campaign-wpforms.php Passed 13 tests

The main PHP file in "Active Campaign & WPForms" ver. 1.0.9 adds more information about the plugin and also serves as the entry point for this plugin
50 characters long description:
Add WPForms Data to Active Campiagn Contact lists.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected379 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.19
Average class complexity6.00
▷ Minimum class complexity2.00
▷ Maximum class complexity14.00
Average method complexity2.07
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin