90% wigzo

Code Review | Wigzo – All-in-one platform to convert, retain and grow

WordPress plugin Wigzo – All-in-one platform to convert, retain and grow scored 90% from 54 tests.

About plugin

  • Plugin page: wigzo
  • Plugin version: 3.1.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5.0-6.1
  • WordPress version: 6.3.1
  • First release: Feb 10, 2017
  • Latest release: May 25, 2023
  • Number of updates: 47
  • Update frequency: every 48.8 days
  • Top authors: wigzo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 2,820 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

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

This is a short check of server-side resources used by Wigzo – All-in-one platform to convert, retain and grow
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0439.42 ▲0.44
Dashboard /wp-admin3.32 ▲0.0146.20 ▼4.52
Posts /wp-admin/edit.php3.37 ▲0.0146.97 ▲1.65
Add New Post /wp-admin/post-new.php5.90 ▲0.0181.25 ▼1.84
Media Library /wp-admin/upload.php3.24 ▲0.0135.43 ▼4.14
Wigzo /wp-admin/options-general.php?page=wigzo3.2429.53

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Wigzo – All-in-one platform to convert, retain and grow
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,013 ▲22414.13 ▼0.3436.03 ▲33.9744.49 ▲0.20
Dashboard /wp-admin2,210 ▲15.79 ▼0.0795.79 ▼0.8638.70 ▼0.92
Posts /wp-admin/edit.php2,096 ▲72.03 ▲0.0639.35 ▲3.8137.71 ▲5.02
Add New Post /wp-admin/post-new.php1,536 ▲323.05 ▼0.23658.09 ▼73.0455.10 ▼4.27
Media Library /wp-admin/upload.php1,389 ▲14.21 ▼0.01103.83 ▼2.9045.97 ▼1.80
Wigzo /wp-admin/options-general.php?page=wigzo7381.377.6521.48

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

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
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 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
8 plugin tags: exit intent, email personalisation, behavioural automation, wigzo mapper, personalization...

wigzo/Wigzo.php 92% from 13 tests

The primary PHP file in "Wigzo – All-in-one platform to convert, retain and grow" version 3.1.2 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("wigzo.php" instead of "Wigzo.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin875 lines of code in 18 files:
LanguageFilesBlank linesComment linesLines of code
PHP15168110754
HTML28096
Pascal1124525

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.28
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions25
▷ Named functions2288.00%
▷ Anonymous functions312.00%
Constants1
▷ Global constants1100.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
1 PNG file occupies 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
icons/client_icon.png25.77KB11.37KB▼ 55.88%