Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▲6.38ms] Passed 4 tests
This is a short check of server-side resources used by WP Job Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 42.06 ▲2.21 |
Dashboard /wp-admin | 3.92 ▲0.62 | 56.82 ▲5.88 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 54.72 ▲6.27 |
Add New Post /wp-admin/post-new.php | 6.59 ▲0.71 | 101.80 ▲16.05 |
Media Library /wp-admin/upload.php | 3.86 ▲0.64 | 44.80 ▲11.17 |
Applications Pro /wp-admin/edit.php?post_type=job_listing&page=job-manager-landing-application | 3.77 | 41.50 |
Job Listings /wp-admin/edit.php?post_type=job_listing | 3.94 | 219.79 |
Settings /wp-admin/edit.php?post_type=job_listing&page=job-manager-settings | 3.79 | 47.91 |
Resumes Pro /wp-admin/edit.php?post_type=job_listing&page=job-manager-landing-resumes | 3.77 | 39.50 |
Setup /wp-admin/index.php?page=job-manager-setup | 3.81 | 41.68 |
Marketplace /wp-admin/edit.php?post_type=job_listing&page=job-manager-marketplace | 4.09 | 386.39 |
Server storage [IO: ▲1.53MB] [DB: ▲0.04MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 202 new files
Database: no new tables, 63 new options
New WordPress options |
---|
job_manager_enable_remote_position |
jm_promoted_job_count |
theysaidso_admin_options |
job_manager_enable_types |
job_manager_permalinks |
job_manager_multi_job_type |
job_manager_email_admin_updated_job |
job_manager_user_edit_published_submissions |
job_manager_hide_expired_content |
job_manager_enable_recaptcha_job_submission |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Job Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,869 ▲107 | 14.14 ▼0.24 | 1.68 ▼0.19 | 34.33 ▼10.25 |
Dashboard /wp-admin | 2,269 ▲89 | 5.56 ▼0.11 | 96.99 ▲9.27 | 87.30 ▲50.34 |
Posts /wp-admin/edit.php | 2,155 ▲52 | 2.02 ▲0.02 | 37.52 ▼3.66 | 32.01 ▼2.69 |
Add New Post /wp-admin/post-new.php | 1,573 ▲42 | 23.20 ▲0.07 | 623.17 ▲32.23 | 49.88 ▼0.84 |
Media Library /wp-admin/upload.php | 1,455 ▲52 | 4.21 ▲0.04 | 100.93 ▲1.46 | 41.46 ▼3.73 |
Applications Pro /wp-admin/edit.php?post_type=job_listing&page=job-manager-landing-application | 980 | 2.05 | 23.21 | 38.99 |
Job Listings /wp-admin/edit.php?post_type=job_listing | 1,404 | 2.74 | 40.09 | 32.72 |
Settings /wp-admin/edit.php?post_type=job_listing&page=job-manager-settings | 2,049 | 2.53 | 44.91 | 35.37 |
Resumes Pro /wp-admin/edit.php?post_type=job_listing&page=job-manager-landing-resumes | 980 | 2.05 | 24.58 | 32.70 |
Setup /wp-admin/index.php?page=job-manager-setup | 886 | 2.00 | 27.83 | 36.05 |
Marketplace /wp-admin/edit.php?post_type=job_listing&page=job-manager-marketplace | 2,430 | 2.46 | 37.43 | 54.79 |
Uninstaller [IO: ▲1.53MB] [DB: ▲0.04MB] 25% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attentionThe uninstall procedure has failed, leaving 64 options in the database
- This plugin did not uninstall without warnings or errors
- > Compile error in wp-content/plugins/wp-job-manager/includes/class-wp-job-manager-usage-tracking.php+0
Cannot declare class WP_Job_Manager_Usage_Tracking, because the name is already in use
- The plugin did not uninstall correctly, leaving 202 files (1.53MB) in the plugin directory
- (new file) assets/dist/css/frontend.css
- (new file) assets/dist/css/admin-notices.asset.php
- (new file) assets/dist/css/frontend.asset.php
- (new file) LICENSE
- (new file) assets/dist/css/job-listings.asset.php
- (new file) assets/dist/css/admin-notices.css
- (new file) assets/dist/css/admin.css
- (new file) assets/dist/css/admin.asset.php
- (new file) assets/dist/css/admin-landing.asset.php
- (new file) assets/dist/css/admin-landing.css
- ...
- job_manager_per_page
- job_manager_enable_categories
- widget_widget_recent_jobs
- theysaidso_admin_options
- job_manager_registration_role
- db_upgraded
- job_manager_job_dashboard_page_id
- job_manager_email_admin_expiring_job
- job_manager_installed_terms
- job_manager_user_can_edit_pending_submissions
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 13× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-job-manager/includes/3rd-party/all-in-one-seo-pack.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-job-manager/includes/3rd-party/wpcom.php:54
- > PHP Fatal error
require_once(): Failed opening required 'JOB_MANAGER_PLUGIN_DIR/includes/3rd-party/jetpack.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-job-manager/includes/3rd-party/3rd-party.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-job-manager/includes/3rd-party/wpml.php:27
- > PHP Warning
require_once(JOB_MANAGER_PLUGIN_DIR/includes/3rd-party/jetpack.php): failed to open stream: No such file or directory in wp-content/plugins/wp-job-manager/includes/3rd-party/3rd-party.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-job-manager/includes/3rd-party/wp-all-import.php:8
- > PHP Warning
Use of undefined constant JOB_MANAGER_PLUGIN_DIR - assumed 'JOB_MANAGER_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-job-manager/includes/3rd-party/3rd-party.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-job-manager/includes/3rd-party/polylang.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-job-manager/wp-job-manager-functions.php:1312
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-job-manager/wp-job-manager-template.php:106
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please take a look at the following user-side issues
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=job_listing&page=job-manager-marketplace
- > Javascript (severe) in unknown
/wp-content/plugins/wp-job-manager/assets/dist/js/admin/job-tags-upsell.js?ver=52fbed459b43366f375c 0:135 Uncaught TypeError: Cannot read properties of undefined (reading 'registerPlugin')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
wp-job-manager/wp-job-manager.php 92% from 13 tests
The primary PHP file in "WP Job Manager" version 2.1.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Requires PHP: The required version number must match the one declared in readme.txt ("7.2" instead of "7.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected19,838 lines of code in 191 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 158 | 3,399 | 9,835 | 16,629 |
JavaScript | 20 | 233 | 401 | 2,778 |
CSS | 11 | 10 | 25 | 410 |
XML | 1 | 0 | 0 | 20 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 34.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 200.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 4 | 6.90% |
▷ Concrete classes | 54 | 93.10% |
▷ Final classes | 1 | 1.85% |
Methods | 815 | |
▷ Static methods | 241 | 29.57% |
▷ Public methods | 559 | 68.59% |
▷ Protected methods | 77 | 9.45% |
▷ Private methods | 179 | 21.96% |
Functions | 145 | |
▷ Named functions | 130 | 89.66% |
▷ Anonymous functions | 15 | 10.34% |
Constants | 65 | |
▷ Global constants | 5 | 7.69% |
▷ Class constants | 60 | 92.31% |
▷ Public constants | 54 | 90.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/lib/jquery-chosen/images/chosen-sprite.png | 0.63KB | 0.88KB | 0.00% |
assets/images/wpjm-logo.png | 1.23KB | 0.87KB | ▼ 29.22% |
assets/images/company.png | 8.09KB | 1.75KB | ▼ 78.35% |
assets/lib/jquery-chosen/images/chosen-sprite@2x.png | 0.85KB | 0.83KB | ▼ 3.10% |