84% convertful

Code Review | Convertful - Your Ultimate On-Site Conversion Tool

WordPress plugin Convertful - Your Ultimate On-Site Conversion Tool scored84%from 54 tests.

About plugin

  • Plugin page: convertful
  • Plugin version: 2.6
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.3
  • WordPress version: 6.3.1
  • First release: Jun 16, 2017
  • Latest release: Nov 1, 2023
  • Number of updates: 41
  • Update frequency: every 56.8 days
  • Top authors: rsukhar (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

9,000+ active /104,883 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
Installer ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▲0.00ms] Passed 4 tests

This is a short check of server-side resources used by Convertful - Your Ultimate On-Site Conversion Tool
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0541.24 ▼2.46
Dashboard /wp-admin3.37 ▲0.0251.02 ▼13.18
Posts /wp-admin/edit.php3.42 ▲0.0661.50 ▲14.93
Add New Post /wp-admin/post-new.php5.96 ▲0.0796.52 ▲11.54
Media Library /wp-admin/upload.php3.30 ▲0.0637.12 ▲4.12
Convertful /wp-admin/tools.php?page=conv-settings3.2533.37

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

Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
conv_token
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Convertful - Your Ultimate On-Site Conversion Tool
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲4714.33 ▼0.071.78 ▼0.0645.03 ▲1.81
Dashboard /wp-admin2,199 ▲245.60 ▼0.0090.25 ▼28.5341.74 ▼2.81
Posts /wp-admin/edit.php2,104 ▲12.02 ▲0.0339.15 ▲0.5034.84 ▼0.62
Add New Post /wp-admin/post-new.php1,529 ▲123.06 ▲0.18684.54 ▲86.8662.79 ▲11.80
Media Library /wp-admin/upload.php1,407 ▲134.19 ▲0.00101.96 ▼3.1843.17 ▼0.89
Convertful /wp-admin/tools.php?page=conv-settings8272.0126.6480.56

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
These items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 5× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/convertful/functions/admin_pages.php
    • > /wp-content/plugins/convertful/config.php
    • > /wp-content/plugins/convertful/functions/shortcodes.php
    • > /wp-content/plugins/convertful/functions/woocommerce.php
    • > /wp-content/plugins/convertful/convertful.php

User-side errors Passed 1 test

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

Optimizations

Plugin configuration 97% 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 need to be fixed:
  • Tags: There are too many tags (13 tag instead of maximum 10)
You can take inspiration from this readme.txt

convertful/convertful.php Passed 13 tests

The primary PHP file in "Convertful - Your Ultimate On-Site Conversion Tool" version 2.6 is used by WordPress to initiate all plugin functionality
96 characters long description:
All the modern on-site conversion solutions, natively integrates with all modern Email Marketing

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin531 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP56859383
CSS13092
Markdown120051
JavaScript1205

PHP code Passed 2 tests

This is a very shot 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.39
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%
Functions23
▷ Named functions2191.30%
▷ Anonymous functions28.70%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin