89% wp-job-manager-registration-use-email

Code Review | WP Job Manager Registration Use Email

WordPress plugin WP Job Manager Registration Use Email scored89%from 54 tests.

About plugin

  • Plugin page: wp-job-manager-re...
  • Plugin version: 1.3.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.3.1
  • WordPress version: 6.3.1
  • First release: Apr 21, 2014
  • Latest release: Nov 19, 2015
  • Number of updates: 22
  • Update frequency: every 26.2 days
  • Top authors: tripflex (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /7,226 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.06MB] [CPU: ▲0.32ms] Passed 4 tests

An overview of server-side resources used by WP Job Manager Registration Use Email
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0746.72 ▲1.63
Dashboard /wp-admin3.37 ▲0.0663.17 ▲3.64
Posts /wp-admin/edit.php3.42 ▲0.0655.33 ▲1.99
Add New Post /wp-admin/post-new.php5.95 ▲0.0699.59 ▼2.35
Media Library /wp-admin/upload.php3.29 ▲0.0638.29 ▲0.01

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options
Job_Manager_Registration_Use_Email
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
widget_recent-posts

Browser metrics Passed 4 tests

A check of browser resources used by WP Job Manager Registration Use Email
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.42 ▼0.131.92 ▼0.4246.58 ▲2.99
Dashboard /wp-admin2,198 ▲245.68 ▲0.0187.75 ▼1.8140.97 ▼3.52
Posts /wp-admin/edit.php2,100 ▼02.03 ▲0.0335.49 ▼0.8237.12 ▲3.42
Add New Post /wp-admin/post-new.php1,526 ▼023.28 ▲0.33693.08 ▼40.8055.80 ▼2.06
Media Library /wp-admin/upload.php1,397 ▼34.22 ▲0.0397.94 ▼17.0547.26 ▼1.30

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
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • db_upgraded

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% 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
10 plugin tags: email login, job manager, user, jobify, email...

wp-job-manager-registration-use-email/wp-job-manager-registration-use-email.php 85% from 13 tests

"WP Job Manager Registration Use Email" version 1.3.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 142 characters long)
  • Text Domain: Please use dashes and lowercase characters for text domains

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected263 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP155187168
Markdown135081
JavaScript24314

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.53
Average class complexity41.00
▷ Minimum class complexity41.00
▷ Maximum class complexity41.00
Average method complexity3.86
▷ Minimum method complexity1.00
▷ Maximum method complexity11.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods14
▷ Static methods321.43%
▷ Public methods14100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
There are no PNG files in this plugin