90% wpop-accf

Code Review | Active Campaign & Contact Form 7

WordPress plugin Active Campaign & Contact Form 7 scored 90% from 54 tests.

About plugin

  • Plugin page: wpop-accf
  • Plugin version: 1.1.9
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Sep 5, 2018
  • Latest release: Mar 14, 2023
  • Number of updates: 27
  • Update frequency: every 61.2 days
  • Top authors: wpoperations (100%)

Code review

54 tests

User reviews

16 reviews

Install metrics

5,000+ active / 62,905 total downloads

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
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.41ms] Passed 4 tests

This is a short check of server-side resources used by Active Campaign & Contact Form 7
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0235.02 ▼7.81
Dashboard /wp-admin3.32 ▲0.0248.22 ▼0.57
Posts /wp-admin/edit.php3.37 ▲0.0248.07 ▲0.48
Add New Post /wp-admin/post-new.php5.92 ▲0.0483.62 ▼13.74
Media Library /wp-admin/upload.php3.25 ▲0.0237.88 ▲5.03

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

Checking browser requirements for Active Campaign & Contact Form 7
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲5113.26 ▼1.354.88 ▲2.9441.59 ▼3.21
Dashboard /wp-admin2,214 ▲235.87 ▼0.03100.07 ▲2.4740.10 ▼5.05
Posts /wp-admin/edit.php2,099 ▲102.04 ▲0.0241.39 ▲7.2538.18 ▲3.90
Add New Post /wp-admin/post-new.php1,522 ▲323.58 ▲0.32672.41 ▼23.3550.86 ▼2.27
Media Library /wp-admin/upload.php1,399 ▲144.22 ▼0.04107.41 ▲5.3247.83 ▲3.36

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
  • Screenshots: Add descriptions for screenshots #1, #2 in wpop-accf/assets to your readme.txt
Please take inspiration from this readme.txt

wpop-accf/wpop-accf.php Passed 13 tests

The main file in "Active Campaign & Contact Form 7" v. 1.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
57 characters long description:
Add Contact Form 7 Data to Active Campiagn Contact lists.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin515 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP44031368
CSS1201135
JavaScript12112

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.41
Average class complexity19.67
▷ Minimum class complexity2.00
▷ Maximum class complexity29.00
Average method complexity5.67
▷ Minimum method complexity1.00
▷ Maximum method complexity29.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes3
▷ Abstract classes00.00%
▷ Concrete classes3100.00%
▷ Final classes00.00%
Methods12
▷ Static methods00.00%
▷ Public methods12100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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
There were not PNG files found in your plugin