89% woozap

Code Review | WP AVCL Automation Helper (formerly WPFlyLeads)

WordPress plugin WP AVCL Automation Helper (formerly WPFlyLeads) scored89%from 54 tests.

About plugin

  • Plugin page: woozap
  • Plugin version: 3.3
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.5-6.1.1
  • WordPress version: 6.3.1
  • First release: Dec 3, 2018
  • Latest release: Jan 27, 2023
  • Number of updates: 128
  • Update frequency: every 11.9 days
  • Top authors: the ank (100%)

Code review

54 tests

User reviews

11 reviews

Install metrics

900+ active /22,085 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 gracefully, with no errors

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

An overview of server-side resources used by WP AVCL Automation Helper (formerly WPFlyLeads)
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0142.95 ▲2.33
Dashboard /wp-admin3.31 ▲0.0146.51 ▼9.47
Posts /wp-admin/edit.php3.36 ▲0.0150.31 ▲2.36
Add New Post /wp-admin/post-new.php5.89 ▲0.0180.50 ▼32.59
Media Library /wp-admin/upload.php3.24 ▲0.0136.60 ▼0.13

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP AVCL Automation Helper (formerly WPFlyLeads)
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,794 ▲3314.26 ▼0.011.75 ▲0.0842.49 ▼1.82
Dashboard /wp-admin2,197 ▲205.51 ▼0.0984.54 ▼19.0243.17 ▲1.17
Posts /wp-admin/edit.php2,105 ▲52.02 ▲0.0335.25 ▼2.6834.40 ▼3.27
Add New Post /wp-admin/post-new.php1,531 ▲223.25 ▲0.17714.58 ▲47.9154.33 ▲4.38
Media Library /wp-admin/upload.php1,408 ▲144.16 ▼0.0293.70 ▼8.7044.18 ▲0.04

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected 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
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in woozap/assets to your readme.txt
The official readme.txt is a good inspiration

woozap/init.php 85% from 13 tests

Analyzing the main PHP file in "WP AVCL Automation Helper (formerly WPFlyLeads)" version 3.3
You should first fix the following items:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("woozap.php" instead of "init.php")
  • Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 217 characters long)

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,404 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP5278511,226
JavaScript2422111
CSS23067

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity34.50
▷ Minimum class complexity13.00
▷ Maximum class complexity75.00
Average method complexity5.32
▷ Minimum method complexity1.00
▷ Maximum method complexity24.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods31
▷ Static methods26.45%
▷ Public methods31100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin