83% wizardsoft-wp-job-manager-recruit-wizard-add-on

Code Review | Recruit Wizard Add-on for WP Job Manager

WordPress plugin Recruit Wizard Add-on for WP Job Manager scored83%from 54 tests.

About plugin

  • Plugin page: wizardsoft-wp-job...
  • Plugin version: 2.1.0
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8.1
  • WordPress version: 6.3.1
  • First release: Mar 11, 2018
  • Latest release: Oct 14, 2021
  • Number of updates: 13
  • Update frequency: every 101.0 days
  • Top authors: bmacpherson (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,043 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: ▼5.78ms] Passed 4 tests

Analyzing server-side resources used by Recruit Wizard Add-on for WP Job Manager
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.40 ▼2.59
Dashboard /wp-admin3.31 ▼0.0445.39 ▼12.58
Posts /wp-admin/edit.php3.36 ▲0.0045.81 ▼1.29
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.93 ▼5.99
Media Library /wp-admin/upload.php3.23 ▲0.0033.17 ▼1.96

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Recruit Wizard Add-on for WP Job Manager
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7914.44 ▲0.051.95 ▲0.0139.37 ▼10.18
Dashboard /wp-admin2,209 ▲215.85 ▲0.96111.26 ▼11.7144.16 ▼0.27
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0239.40 ▼2.3035.21 ▼3.17
Add New Post /wp-admin/post-new.php1,536 ▲2223.21 ▲5.73588.07 ▼81.7054.44 ▼9.83
Media Library /wp-admin/upload.php1,391 ▲34.21 ▼0.0395.12 ▼17.6941.77 ▼6.47

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
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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 items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wizardsoft-wp-job-manager-recruit-wizard-add-on/index.php:45

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Contributors: Plugin contributors not specified
You can look at the official readme.txt

wizardsoft-wp-job-manager-recruit-wizard-add-on/index.php 85% from 13 tests

The entry point to "Recruit Wizard Add-on for WP Job Manager" version 2.1.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wizardsoft-wp-job-manager-recruit-wizard-add-on.php" instead of "index.php")
  • Description: Please don't use more than 140 characters for the plugin description (currently 168 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 detected118 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11733118

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity6.00
▷ Minimum method complexity6.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods1
▷ Static methods1100.00%
▷ Public methods1100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions583.33%
▷ Anonymous functions116.67%
Constants0
▷ Global constants00.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
There were not PNG files found in your plugin