90% job-manager-career

Code Review | Job Manager & Career - Manage job board listings, and recruitments

WordPress plugin Job Manager & Career - Manage job board listings, and recruitments scored90%from 54 tests.

About plugin

  • Plugin page: job-manager-career
  • Plugin version: 1.4.4
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.7-6.4
  • WordPress version: 6.3.1
  • First release: Sep 25, 2019
  • Latest release: Oct 20, 2023
  • Number of updates: 44
  • Update frequency: every 33.8 days
  • Top authors: ThemeHigh (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

2,000+ active /37,128 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲1.17MB] [CPU: ▲3.32ms] Passed 4 tests

An overview of server-side resources used by Job Manager & Career - Manage job board listings, and recruitments
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /4.63 ▲1.1643.25 ▲0.07
Dashboard /wp-admin4.50 ▲1.1957.56 ▲1.34
Posts /wp-admin/edit.php4.56 ▲1.2058.72 ▲10.20
Add New Post /wp-admin/post-new.php7.10 ▲1.21101.54 ▲1.67
Media Library /wp-admin/upload.php4.37 ▲1.1446.90 ▲13.46
Job Types /wp-admin/edit-tags.php?taxonomy=thjm_job_type&post_type=thjm_jobs4.3745.91
Settings /wp-admin/edit.php?post_type=thjm_jobs&page=thjmf_settings4.3640.42
Locations /wp-admin/edit-tags.php?taxonomy=thjm_job_locations&post_type=thjm_jobs4.3746.44
All Applicants /wp-admin/edit.php?post_type=thjm_applicants4.4349.49
Job Categories /wp-admin/edit-tags.php?taxonomy=thjm_job_category&post_type=thjm_jobs4.3744.94
All Jobs /wp-admin/edit.php?post_type=thjm_jobs4.5653.76
Add New /wp-admin/post-new.php?post_type=thjm_jobs4.5866.28

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

Filesystem and database footprint
The plugin installed successfully
Filesystem: 73 new files
Database: no new tables, 11 new options
New WordPress options
thjm_job_type_children
can_compress_scripts
thjmf_advanced_settings
thjmf_db_version
widget_recent-comments
thjm_job_locations_children
thjm_job_category_children
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
...

Browser metrics Passed 4 tests

A check of browser resources used by Job Manager & Career - Manage job board listings, and recruitments
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,839 ▲7814.68 ▲0.321.59 ▼0.1637.39 ▼6.20
Dashboard /wp-admin2,239 ▲625.53 ▼0.1181.37 ▼7.2136.58 ▼7.06
Posts /wp-admin/edit.php2,147 ▲471.95 ▼0.0440.27 ▲2.2235.83 ▼3.25
Add New Post /wp-admin/post-new.php1,564 ▲2923.20 ▲4.78591.46 ▼22.8248.39 ▼12.65
Media Library /wp-admin/upload.php1,450 ▲504.22 ▲0.0594.85 ▼7.1542.47 ▲1.72
Job Types /wp-admin/edit-tags.php?taxonomy=thjm_job_type&post_type=thjm_jobs1,4762.1227.0645.78
Settings /wp-admin/edit.php?post_type=thjm_jobs&page=thjmf_settings1,5202.1624.8239.17
Locations /wp-admin/edit-tags.php?taxonomy=thjm_job_locations&post_type=thjm_jobs1,4762.1226.8631.55
All Applicants /wp-admin/edit.php?post_type=thjm_applicants1,1241.9331.3424.82
Job Categories /wp-admin/edit-tags.php?taxonomy=thjm_job_category&post_type=thjm_jobs1,4762.1527.7834.20
All Jobs /wp-admin/edit.php?post_type=thjm_jobs1,9061.9836.1427.93
Add New /wp-admin/post-new.php?post_type=thjm_jobs2,7688.18173.0369.31

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 11 options
    • db_upgraded
    • thjm_job_type_children
    • theysaidso_admin_options
    • thjmf_db_version
    • thjm_job_locations_children
    • widget_theysaidso_widget
    • thjmf_advanced_settings
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts
    • ...

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

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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
The official readme.txt might help

job-manager-career/job-manager-career.php Passed 13 tests

"Job Manager & Career - Manage job board listings, and recruitments" version 1.4.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
50 characters long description:
Create and manage jobs from WordPress admin panel.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin10,864 lines of code in 63 files:
LanguageFilesBlank linesComment linesLines of code
PHP377957717,437
CSS3481912,362
JavaScript28412656
SVG21217409

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity72.45
▷ Minimum class complexity12.00
▷ Maximum class complexity185.00
Average method complexity3.57
▷ Minimum method complexity1.00
▷ Maximum method complexity27.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes11
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
Methods306
▷ Static methods12039.22%
▷ Public methods24078.43%
▷ Protected methods10.33%
▷ Private methods6521.24%
Functions57
▷ Named functions57100.00%
▷ Anonymous functions00.00%
Constants31
▷ Global constants929.03%
▷ Class constants2270.97%
▷ Public constants22100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png0.38KB0.15KB▼ 61.54%
assets/css/images/ui-bg_glass_65_ffffff_1x400.png0.26KB0.09KB▼ 66.79%
assets/css/images/ui-icons_222222_256x240.png6.86KB4.18KB▼ 39.05%
assets/css/images/ui-bg_glass_75_dadada_1x400.png0.32KB0.16KB▼ 50.46%
assets/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png0.32KB0.18KB▼ 44.00%