84% woocommerce-rejoiner

Code Review | WooCommerce Rejoiner

WordPress plugin WooCommerce Rejoiner scored84%from 54 tests.

About plugin

  • Plugin page: woocommerce-rejoiner
  • Plugin version: 2.3.3
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.4.1
  • WordPress version: 6.3.1
  • First release: Oct 8, 2014
  • Latest release: Feb 2, 2022
  • Number of updates: 72
  • Update frequency: every 37.5 days
  • Top authors: madjax (86.11%)saschabratton (15.28%)

Code review

54 tests

User reviews

4 reviews

Install metrics

10+ active /3,143 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.00MB] [CPU: ▼6.45ms] Passed 4 tests

Server-side resources used by WooCommerce Rejoiner
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.51 ▼7.68
Dashboard /wp-admin3.31 ▲0.0050.01 ▼7.25
Posts /wp-admin/edit.php3.36 ▲0.0055.00 ▲4.76
Add New Post /wp-admin/post-new.php5.89 ▲0.0092.14 ▼9.02
Media Library /wp-admin/upload.php3.23 ▲0.0036.43 ▼1.84

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

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

Browser metrics Passed 4 tests

WooCommerce Rejoiner: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲2814.38 ▲0.122.08 ▲0.1945.33 ▲0.79
Dashboard /wp-admin2,195 ▲185.67 ▲0.0090.66 ▼10.7038.73 ▼5.56
Posts /wp-admin/edit.php2,100 ▲32.04 ▲0.0143.13 ▲7.1236.80 ▼1.07
Add New Post /wp-admin/post-new.php1,526 ▼317.44 ▼0.46676.44 ▼17.1849.04 ▼3.99
Media Library /wp-admin/upload.php1,394 ▼64.19 ▼0.0399.12 ▼11.0242.82 ▼4.35

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
  • 3× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woocommerce-rejoiner/woocommerce-rejoiner.php:24
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/woocommerce-rejoiner/sample-functions.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'WC_Integration' not found in wp-content/plugins/woocommerce-rejoiner/includes/class-wc-rejoiner.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected

Optimizations

Plugin configuration Passed 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
7 plugin tags: ecommerce, email marketing, rejoiner, remarketing, cart abandonment email...

woocommerce-rejoiner/woocommerce-rejoiner.php Passed 13 tests

Analyzing the main PHP file in "WooCommerce Rejoiner" version 2.3.3
69 characters long description:
eCommerce Email Marketing & Cart Abandonment Software for WooCommerce

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
Success! There were no dangerous files found in this plugin943 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP343333943

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.38
Average class complexity122.00
▷ Minimum class complexity122.00
▷ Maximum class complexity122.00
Average method complexity5.84
▷ Minimum method complexity1.00
▷ Maximum method complexity35.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods25
▷ Static methods00.00%
▷ Public methods25100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin