Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.51MB] [CPU: ▲12.24ms] 75% from 4 tests
Server-side resources used by JS Job Manager
Please take the time to fix the following items
- CPU: You should keep total CPU usage under 500.00ms (currently 1,082.50ms on /wp-admin/admin.php?page=jsjobs)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.89 ▲2.42 | 58.13 ▲22.38 |
Dashboard /wp-admin | 5.17 ▲1.86 | 61.29 ▲16.85 |
Posts /wp-admin/edit.php | 4.75 ▲1.39 | 59.64 ▲12.35 |
Add New Post /wp-admin/post-new.php | 7.29 ▲1.40 | 90.64 ▲2.20 |
Media Library /wp-admin/upload.php | 4.61 ▲1.39 | 51.27 ▲17.57 |
Email Templates /wp-admin/admin.php?page=jsjobs_emailtemplate | 5.32 | 50.85 |
System Errors /wp-admin/admin.php?page=jsjobs_systemerror | 4.92 | 49.34 |
Pro Installer /wp-admin/admin.php?page=jsjobs_proinstaller | 4.65 | 39.74 |
JS Jobs Settings /wp-admin/admin.php?page=jsjobs_postinstallation | 5.47 | 46.95 |
Job Types /wp-admin/admin.php?page=jsjobs_jobtype | 5.01 | 51.24 |
JS Jobs /wp-admin/admin.php?page=jsjobs | 5.27 | 1,082.50 |
Tags /wp-admin/admin.php?page=jsjobs&jsjobslt=profeatures | 4.94 | 46.41 |
Departments /wp-admin/admin.php?page=jsjobs_departments | 5.09 | 52.53 |
Address Data /wp-admin/admin.php?page=jsjobs_addressdata | 4.93 | 47.38 |
Payment Method Configuration /wp-admin/admin.php?page=jsjobs_paymenthistorymethodconfiguration | 4.54 | 42.40 |
Server storage [IO: ▲10.98MB] [DB: ▲0.15MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 924 new files
Database: 37 new tables, 10 new options
New tables |
---|
wp_js_job_experiences |
wp_js_job_jobtypes |
wp_js_job_resumeinstitutes |
wp_js_job_users |
wp_js_job_shifts |
wp_js_job_currencies |
wp_js_job_companycities |
wp_js_job_categories |
wp_js_job_ages |
wp_js_job_coverletters |
... |
New WordPress options |
---|
can_compress_scripts |
jsjobs_post_installation |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
jsjobs_do_activation_redirect |
_wpjsjob_session_ |
theysaidso_admin_options |
db_upgraded |
widget_jsjobsjobssearchjobs_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for JS Job Manager
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,255 ▲494 | 14.00 ▼0.63 | 9.02 ▲7.03 | 19.29 ▼21.02 |
Dashboard /wp-admin | 2,646 ▲466 | 5.00 ▼0.67 | 99.85 ▲12.93 | 111.22 ▲75.10 |
Posts /wp-admin/edit.php | 2,182 ▲82 | 2.29 ▲0.31 | 44.25 ▲8.43 | 34.09 ▼0.78 |
Add New Post /wp-admin/post-new.php | 1,752 ▲224 | 24.44 ▲1.28 | 725.88 ▲29.03 | 35.26 ▼27.37 |
Media Library /wp-admin/upload.php | 1,479 ▲79 | 4.53 ▲0.34 | 103.25 ▼8.29 | 78.50 ▲31.72 |
Email Templates /wp-admin/admin.php?page=jsjobs_emailtemplate | 2,229 | 6.32 | 125.11 | 113.38 |
System Errors /wp-admin/admin.php?page=jsjobs_systemerror | 1,554 | 2.00 | 33.02 | 67.98 |
Pro Installer /wp-admin/admin.php?page=jsjobs_proinstaller | 735 | 1.40 | 13.13 | 17.95 |
JS Jobs Settings /wp-admin/admin.php?page=jsjobs_postinstallation | 1,154 | 2.01 | 29.03 | 40.14 |
Job Types /wp-admin/admin.php?page=jsjobs_jobtype | 1,776 | 2.01 | 33.73 | 81.64 |
JS Jobs /wp-admin/admin.php?page=jsjobs | 2,963 | 5.49 | 53.57 | 144.60 |
Tags /wp-admin/admin.php?page=jsjobs&jsjobslt=profeatures | 2,029 | 1.98 | 32.02 | 97.90 |
Departments /wp-admin/admin.php?page=jsjobs_departments | 1,621 | 1.98 | 33.77 | 70.37 |
Address Data /wp-admin/admin.php?page=jsjobs_addressdata | 1,663 | 2.01 | 34.71 | 79.75 |
Payment Method Configuration /wp-admin/admin.php?page=jsjobs_paymenthistorymethodconfiguration | 861 | 1.90 | 30.57 | 23.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_js_job_jsjobsessiondata
- Zombie WordPress options were found after uninstall: 9 options
- db_upgraded
- widget_theysaidso_widget
- widget_jsjobsjobssearchjobs_widget
- widget_recent-posts
- jsjobs_post_installation
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- _wpjsjob_session_
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=jsjobs_paymenthistorymethodconfiguration
- > Warning in wp-content/plugins/js-jobs/includes/includer.php+29
include_once(wp-content/plugins/js-jobs/modules/paymenthistorymethodconfiguration/controller.php): failed to open stream: No such file or directory
- > GET request to /wp-admin/admin.php?page=jsjobs_paymenthistorymethodconfiguration
- > Warning in wp-content/plugins/js-jobs/includes/includer.php+29
include_once(): Failed opening 'wp-content/plugins/js-jobs/modules/paymenthistorymethodconfiguration/controller.php' for inclusion (include_path='.:/usr/share/php')
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 328× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/js-jobs/modules/proinstaller/controller.php
- > /wp-content/plugins/js-jobs/modules/user/tmpl/userregister.php
- > /wp-content/plugins/js-jobs/modules/salaryrange/tmpl/admin_salaryrange.php
- > /wp-content/plugins/js-jobs/includes/tables/resumereferences.php
- > /wp-content/plugins/js-jobs/includes/tables/activitylog.php
- > /wp-content/plugins/js-jobs/includes/deactivation.php
- > /wp-content/plugins/js-jobs/includes/tables/resumefile.php
- > /wp-content/plugins/js-jobs/modules/highesteducation/tmpl/admin_highesteducations.php
- > /wp-content/plugins/js-jobs/includes/tables/currency.php
- > /wp-content/plugins/js-jobs/includes/tables/resumesearch.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/js-jobs/modules/postinstallation/tmpl/admin_stepone.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/js-jobs/modules/postinstallation/tmpl/admin_demoimporter.php:8
- > PHP Warning
Use of undefined constant JSJOBS_PLUGIN_PATH - assumed 'JSJOBS_PLUGIN_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/js-jobs/modules/resume/tmpl/font/unifont/dejavusanscondensed.mtx.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/js-jobs/modules/postinstallation/tmpl/admin_stepthree.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/js-jobs/modules/postinstallation/tmpl/admin_stepfour.php:2
- > PHP Fatal error
Uncaught Error: Class 'jsjobs' not found in wp-content/plugins/js-jobs/modules/resume/tmpl/resumes.inc.php:4
- > PHP Fatal error
Uncaught Error: Class 'jsjobs' not found in wp-content/plugins/js-jobs/modules/postinstallation/tmpl/admin_themedemodata.php:6
- > PHP Fatal error
Uncaught Error: Call to a member function get_names() on null in wp-content/plugins/js-jobs/modules/postinstallation/tmpl/admin_steptwo.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jsjobs_paymenthistorymethodconfiguration
- > Javascript (severe) in unknown
https://www.google.com/jsapi?autoload=%7B%27modules%27%3A%5B%7B%27name%27%3A%27visualization%27%2C%27version%27%3A%271%27%2C%27packages%27%3A%5B%27corechart%27%5D%7D%5D%7D&ver=6.3.1 150:139 Uncaught Error: Autoload failed with: SyntaxError: Expected proper…me or '}' in JSON at position 1 (line 1 column 2)
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=jsjobs_paymenthistorymethodconfiguration
- > Javascript (severe) in unknown
/wp-content/plugins/js-jobs/includes/js/chosen/chosen.jquery.min.js?ver=6.3.1 1:8199 Uncaught SyntaxError: Unexpected token ':'
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (28 tag instead of maximum 10)
js-jobs/js-jobs.php 92% from 13 tests
The main PHP script in "JS Job Manager" version 2.0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 143 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin92,913 lines of code in 389 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 338 | 5,591 | 9,700 | 72,520 |
CSS | 20 | 203 | 156 | 7,190 |
PO File | 1 | 3,520 | 0 | 7,145 |
SVG | 2 | 0 | 0 | 2,959 |
JavaScript | 5 | 315 | 447 | 2,090 |
SQL | 21 | 43 | 0 | 1,007 |
HTML | 2 | 0 | 0 | 2 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity should be reduced to less than 100 (currently 592)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 61.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 856.00 |
Average method complexity | 7.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 592.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 162 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 162 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 1,588 | |
▷ Static methods | 107 | 6.74% |
▷ Public methods | 1,515 | 95.40% |
▷ Protected methods | 44 | 2.77% |
▷ Private methods | 29 | 1.83% |
Functions | 58 | |
▷ Named functions | 57 | 98.28% |
▷ Anonymous functions | 1 | 1.72% |
Constants | 56 | |
▷ Global constants | 56 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
438 PNG files occupy 2.90MB with 1.39MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/admin_jsjobs2.png | 0.62KB | 0.63KB | 0.00% |
includes/images/errors/2.png | 17.43KB | 6.01KB | ▼ 65.51% |
includes/images/control_panel/jobseeker/job-categories.png | 3.15KB | 1.84KB | ▼ 41.43% |
includes/images/control_panel/no record icon.png | 4.69KB | 1.75KB | ▼ 62.82% |
includes/images/left-icons/role.png | 4.54KB | 1.38KB | ▼ 69.54% |