64% jobwp

Code Review | WordPress Job Board and Recruitment Plugin - JobWP

WordPress plugin WordPress Job Board and Recruitment Plugin - JobWP scored64%from 54 tests.

About plugin

  • Plugin page: jobwp
  • Plugin version: 2.3
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.3.2
  • WordPress version: 6.3.1
  • First release: Apr 7, 2022
  • Latest release: Oct 18, 2023
  • Number of updates: 73
  • Update frequency: every 7.7 days
  • Top authors: mhmrajib (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

400+ active /4,272 total downloads

Benchmarks

Plugin footprint 47% 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: ▲5.47MB] [CPU: ▲32.14ms] 75% from 4 tests

A check of server-side resources used by WordPress Job Board and Recruitment Plugin - JobWP
The following require your attention
  • Extra RAM: The extra memory usage must be under 5MB (currently 5.47MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /9.25 ▲5.7874.36 ▲32.30
Dashboard /wp-admin9.27 ▲5.9683.36 ▲33.13
Posts /wp-admin/edit.php9.27 ▲5.9192.82 ▲42.24
Add New Post /wp-admin/post-new.php10.13 ▲4.24115.09 ▲22.42
Media Library /wp-admin/upload.php9.27 ▲6.0377.75 ▲40.72
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius9.2766.12

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 256 new files
Database: 1 new table, 15 new options
New tables
wp_jobwp_applied
New WordPress options
default_term_jobs_nature
can_compress_scripts
theysaidso_admin_options
widget_recent-comments
fs_active_plugins
jobs_category_children
default_term_jobs_category
jobs_level_children
default_term_jobs_level
widget_recent-posts
...

Browser metrics Passed 4 tests

Checking browser requirements for WordPress Job Board and Recruitment Plugin - JobWP
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,973 ▲21213.70 ▼0.6510.45 ▲8.6831.53 ▼15.67
Dashboard /wp-admin2,258 ▲845.80 ▲0.2487.89 ▼0.5441.75 ▼1.28
Posts /wp-admin/edit.php2,172 ▲722.32 ▲0.3542.47 ▲2.4638.29 ▼0.83
Add New Post /wp-admin/post-new.php1,571 ▲4523.17 ▲0.09618.34 ▼42.5133.85 ▼14.23
Media Library /wp-admin/upload.php1,463 ▲604.51 ▲0.31100.36 ▼15.1044.71 ▼1.69
Freemius Debug [v.2.5.12] /wp-admin/admin.php?page=freemius1,1262.1030.8428.96

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The plugin did not uninstall gracefully
    • > Notice in wp-content/plugins/jobwp/freemius/includes/class-freemius.php+8515
    Undefined property: stdClass::$plugins
  • Zombie tables detected upon uninstall: 1 table
    • wp_jobwp_applied
  • Zombie WordPress options were found after uninstall: 15 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • jobs_nature_children
    • fs_active_plugins
    • jobs_category_children
    • widget_recent-comments
    • fs_accounts
    • default_term_jobs_level
    • ...

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)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function get_header() in wp-content/plugins/jobwp/front/view/single.php:3

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: career, job listing, job board, job manager, jobs

jobwp/jobwp.php Passed 13 tests

The entry point to "WordPress Job Board and Recruitment Plugin - JobWP" version 2.3 is a PHP file that has certain tags in its header comment area
85 characters long description:
Display job listings in a career page and allow users to apply directly to your site.

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected39,999 lines of code in 185 files:
LanguageFilesBlank linesComment linesLines of code
PHP1588,36217,39437,207
CSS18500442,198
JavaScript66066301
PO File1122138264
XML13016
SVG11013

PHP code 50% from 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
  • Please reduce cyclomatic complexity of classes to less than 1000 (currently 3,088)
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity73.87
▷ Minimum class complexity1.00
▷ Maximum class complexity3,088.00
Average method complexity4.46
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces0
Traits10
Classes52
▷ Abstract classes23.85%
▷ Concrete classes5096.15%
▷ Final classes00.00%
Methods1,331
▷ Static methods19814.88%
▷ Public methods91868.97%
▷ Protected methods362.70%
▷ Private methods37728.32%
Functions104
▷ Named functions104100.00%
▷ Anonymous functions00.00%
Constants152
▷ Global constants10569.08%
▷ Class constants4730.92%
▷ Public constants47100.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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%