78% wpmktgengine-extension-jvzoo-integration

Code Review | JVZoo - WPMktgEngine | Genoo Extension

WordPress plugin JVZoo - WPMktgEngine | Genoo Extension scored78%from 54 tests.

About plugin

  • Plugin page: wpmktgengine-exte...
  • Plugin version: 1.2.62
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.8.2
  • WordPress version: 6.3.1
  • First release: Jun 29, 2016
  • Latest release: Nov 25, 2021
  • Number of updates: 12
  • Update frequency: every 166.3 days
  • Top authors: Genoo (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,021 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

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

Analyzing server-side resources used by JVZoo - WPMktgEngine | Genoo Extension
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0044.76 ▲3.14
Dashboard /wp-admin3.31 ▼0.0450.22 ▼13.72
Posts /wp-admin/edit.php3.36 ▲0.0055.01 ▲2.94
Add New Post /wp-admin/post-new.php5.89 ▲0.0088.48 ▼19.24
Media Library /wp-admin/upload.php3.23 ▲0.0037.89 ▲2.69

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
can_compress_scripts
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

This is an overview of browser requirements for JVZoo - WPMktgEngine | Genoo Extension
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲1814.36 ▲0.011.72 ▼0.1542.96 ▲1.69
Dashboard /wp-admin2,195 ▲155.59 ▼0.0783.94 ▼2.8436.50 ▼5.42
Posts /wp-admin/edit.php2,100 ▼02.14 ▲0.1438.97 ▲0.1436.23 ▼0.56
Add New Post /wp-admin/post-new.php1,526 ▼023.00 ▼0.81646.12 ▼43.4949.31 ▼5.16
Media Library /wp-admin/upload.php1,400 ▼04.19 ▼0.0795.73 ▼17.5942.88 ▼5.53

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files perform the action of outputting non-empty strings when accessed directly:
    • > /wp-content/plugins/wpmktgengine-extension-jvzoo-integration/tests/name_extract.php
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wpmktgengine-extension-jvzoo-integration/wpmktgengine-jvzoo.php:34

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: email marketing, jvzoo, marketing automation, lead capture forms

wpmktgengine-extension-jvzoo-integration/wpmktgengine-jvzoo.php 92% from 13 tests

The primary PHP file in "JVZoo - WPMktgEngine | Genoo Extension" version 1.2.62 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpmktgengine-extension-jvzoo-integration.php" instead of "wpmktgengine-jvzoo.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin629 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP445230629

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.51
Average class complexity25.00
▷ Minimum class complexity19.00
▷ Maximum class complexity31.00
Average method complexity3.67
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods18
▷ Static methods211.11%
▷ Public methods18100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions11
▷ Named functions218.18%
▷ Anonymous functions981.82%
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
PNG images were not found in this plugin