84% wp-job-manager-contact-listing

Code Review | Contact Listing for WP Job Manager

WordPress plugin Contact Listing for WP Job Manager scored84%from 54 tests.

About plugin

  • Plugin page: wp-job-manager-co...
  • Plugin version: 1.4.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7.0-6.3
  • WordPress version: 6.3.1
  • First release: Jul 22, 2014
  • Latest release: Aug 25, 2023
  • Number of updates: 58
  • Update frequency: every 57.3 days
  • Top authors: adampickering (87.93%)Astoundify (10.34%)erdanish4 (5.17%)

Code review

54 tests

User reviews

8 reviews

Install metrics

10,000+ active /284,264 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.83ms] Passed 4 tests

Server-side resources used by Contact Listing for WP Job Manager
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0236.40 ▼2.55
Dashboard /wp-admin3.32 ▲0.0248.29 ▲1.39
Posts /wp-admin/edit.php3.37 ▲0.0248.99 ▲0.35
Add New Post /wp-admin/post-new.php5.90 ▲0.0284.06 ▼20.17
Media Library /wp-admin/upload.php3.24 ▲0.0235.59 ▼0.93

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

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

Browser metrics Passed 4 tests

Contact Listing for WP Job Manager: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.34 ▼0.961.59 ▼0.5238.58 ▼4.85
Dashboard /wp-admin2,203 ▲125.79 ▼0.09102.16 ▲1.9440.66 ▼1.67
Posts /wp-admin/edit.php2,089 ▼02.01 ▼0.0339.98 ▲0.3038.03 ▲1.36
Add New Post /wp-admin/post-new.php1,528 ▼518.62 ▼4.48636.52 ▲43.0347.82 ▼7.26
Media Library /wp-admin/upload.php1,382 ▼64.18 ▼0.0193.78 ▼5.6041.28 ▼9.32

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
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 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)
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 4× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Class 'Astoundify_Job_Manager_Contact_Listing' not found in wp-content/plugins/wp-job-manager-contact-listing/includes/class-wp-job-manager-contact-listing-form.php:10
    • > PHP Fatal error
      Uncaught Error: Class 'Astoundify_Job_Manager_Contact_Listing_Form' not found in wp-content/plugins/wp-job-manager-contact-listing/includes/forms/gravityforms.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Astoundify_Job_Manager_Contact_Listing_Form' not found in wp-content/plugins/wp-job-manager-contact-listing/includes/forms/ninjaforms.php:9
    • > PHP Fatal error
      Uncaught Error: Class 'Astoundify_Job_Manager_Contact_Listing_Form' not found in wp-content/plugins/wp-job-manager-contact-listing/includes/forms/cf7.php:9

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: ninjaforms, job apply, gravityforms, contact form 7, job...

wp-job-manager-contact-listing/wp-job-manager-contact-listing.php Passed 13 tests

"Contact Listing for WP Job Manager" version 1.4.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
105 characters long description:
Contact job listings or resume listings with your choice of Gravity Forms, Ninja Forms, or Contact Form 7

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 detected405 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP5152249405

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.37
Average class complexity11.17
▷ Minimum class complexity4.00
▷ Maximum class complexity20.00
Average method complexity3.10
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods29
▷ Static methods13.45%
▷ Public methods2482.76%
▷ Protected methods13.45%
▷ Private methods413.79%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
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
PNG images were not found in this plugin