84% job-board-manager

Code Review | Job Board Manager

WordPress plugin Job Board Manager scored84%from 54 tests.

About plugin

  • Plugin page: job-board-manager
  • Plugin version: 2.1.56
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Aug 5, 2015
  • Latest release: Sep 28, 2023
  • Number of updates: 340
  • Update frequency: every 8.8 days
  • Top authors: pickplugins (50.88%)paratheme (49.41%)

Code review

54 tests

User reviews

23 reviews

Install metrics

700+ active /69,131 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

Server metrics [RAM: ▲0.26MB] [CPU: ▲2.02ms] Passed 4 tests

Server-side resources used by Job Board Manager
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.71 ▲0.2539.12 ▼2.06
Dashboard /wp-admin3.57 ▲0.2751.48 ▲5.45
Posts /wp-admin/edit.php3.67 ▲0.3247.17 ▼1.74
Add New Post /wp-admin/post-new.php6.16 ▲0.27100.07 ▲6.52
Media Library /wp-admin/upload.php3.49 ▲0.2639.69 ▲6.43
All Jobs /wp-admin/edit.php?post_type=job3.5440.55
Welcome /wp-admin/edit.php?post_type=job&page=job_bm_welcome3.5135.42
Stats /wp-admin/edit.php?post_type=job&page=job_bm_stats3.5042.22
Job Categories /wp-admin/edit-tags.php?taxonomy=job_category&post_type=job3.5341.55
Add Job /wp-admin/post-new.php?post_type=job3.6257.58
Job Tags /wp-admin/edit-tags.php?taxonomy=job_tag&post_type=job3.5340.18
Add-ons /wp-admin/edit.php?post_type=job&page=job_bm_addons3.4934.98
All Applications /wp-admin/edit.php?post_type=application3.5441.84
Settings /wp-admin/edit.php?post_type=job&page=job_bm_settings3.9052.43

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 183 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
theysaidso_admin_options
widget_recent-posts
db_upgraded
widget_theysaidso_widget
job_category_children
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for Job Board Manager
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,021 ▲28617.87 ▲3.505.35 ▲3.5042.14 ▼11.18
Dashboard /wp-admin2,314 ▲1268.09 ▲3.21152.30 ▲34.9043.22 ▲0.57
Posts /wp-admin/edit.php2,357 ▲2655.40 ▲3.4290.98 ▲48.7234.28 ▼0.76
Add New Post /wp-admin/post-new.php1,594 ▲8024.61 ▲7.06694.55 ▲2.8235.37 ▼13.13
Media Library /wp-admin/upload.php1,649 ▲2586.42 ▲2.28139.53 ▲37.9140.82 ▼5.83
All Jobs /wp-admin/edit.php?post_type=job1,3475.3582.4127.96
Welcome /wp-admin/edit.php?post_type=job&page=job_bm_welcome1,5925.1857.8953.72
Stats /wp-admin/edit.php?post_type=job&page=job_bm_stats1,2075.99105.2329.47
Job Categories /wp-admin/edit-tags.php?taxonomy=job_category&post_type=job1,8635.9667.9031.29
Add Job /wp-admin/post-new.php?post_type=job3,2709.59193.80160.46
Job Tags /wp-admin/edit-tags.php?taxonomy=job_tag&post_type=job1,7285.8562.5426.62
Add-ons /wp-admin/edit.php?post_type=job&page=job_bm_addons1,3665.0749.0570.48
All Applications /wp-admin/edit.php?post_type=application1,3635.3054.8228.58
Settings /wp-admin/edit.php?post_type=job&page=job_bm_settings9,16315.27452.6741.65

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
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 7 options
    • job_category_children
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
  • 11 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=job&page=job_bm_settings
    • > Network (severe)
    wp-admin/%7Bsite_logo_url%7D - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 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
No tags were detected

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

The entry point to "Job Board Manager" version 2.1.56 is a PHP file that has certain tags in its header comment area
40 characters long description:
Advance job board manager for your site.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected43,795 lines of code in 117 files:
LanguageFilesBlank linesComment linesLines of code
PHP766,70164012,035
PO File74,8859,98310,005
SVG30128,882
JavaScript131,4119987,787
CSS182,3211045,086

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.34
Average class complexity32.71
▷ Minimum class complexity1.00
▷ Maximum class complexity641.00
Average method complexity6.55
▷ Minimum method complexity1.00
▷ Maximum method complexity73.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes24
▷ Abstract classes00.00%
▷ Concrete classes24100.00%
▷ Final classes00.00%
Methods137
▷ Static methods00.00%
▷ Public methods137100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions222
▷ Named functions222100.00%
▷ Anonymous functions00.00%
Constants8
▷ Global constants8100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
44 PNG files occupy 0.86MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/global/css/images/ui-icons_444444_256x240.png6.84KB4.18KB▼ 38.90%
includes/menu/images/stats.png4.54KB1.14KB▼ 74.81%
assets/admin/images/addons/locations.png60.88KB16.27KB▼ 73.27%
assets/admin/images/addons/paid-listing.png90.04KB25.32KB▼ 71.88%
includes/menu/images/search.png3.14KB1.58KB▼ 49.63%