Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.90MB] [CPU: ▼2.84ms] Passed 4 tests
Server-side resources used by Ninja Job Board - Ultimate WordPress Job Board Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 41.08 ▼6.86 |
Dashboard /wp-admin | 4.58 ▲1.27 | 54.84 ▲0.37 |
Posts /wp-admin/edit.php | 4.32 ▲0.97 | 55.49 ▲8.44 |
Add New Post /wp-admin/post-new.php | 6.92 ▲1.03 | 90.26 ▼10.01 |
Media Library /wp-admin/upload.php | 4.19 ▲0.96 | 42.09 ▲5.14 |
Job Categories /wp-admin/edit-tags.php?taxonomy=wpjb-job-categories&post_type=wp_job_board | 4.19 | 38.12 |
Server storage [IO: ▲3.84MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 133 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_wjb_email_campaigns |
wp_wjb_applications |
wp_wjb_campaign_emails |
wp_wjb_application_activities |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
wpjobboard_confirmation_page_id |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Ninja Job Board - Ultimate WordPress Job Board Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,888 ▲142 | 13.25 ▼1.50 | 1.74 ▼0.68 | 42.45 ▼3.86 |
Dashboard /wp-admin | 2,294 ▲109 | 4.88 ▼0.18 | 109.60 ▼7.42 | 38.96 ▼4.28 |
Posts /wp-admin/edit.php | 2,147 ▲58 | 2.01 ▲0.04 | 42.57 ▼11.98 | 38.55 ▼5.00 |
Add New Post /wp-admin/post-new.php | 1,540 ▼2 | 17.88 ▼0.19 | 596.67 ▼50.46 | 43.93 ▼5.34 |
Media Library /wp-admin/upload.php | 1,446 ▲58 | 4.27 ▲0.07 | 98.76 ▼5.02 | 44.09 ▼2.24 |
Applications /wp-admin/admin.php?page=wpjobboard.php#/entries | 1,722 | 10.60 | 191.75 | 65.17 |
All Jobs /wp-admin/admin.php?page=wpjobboard.php#/ | 1,355 | 7.78 | 145.44 | 35.85 |
Settings /wp-admin/admin.php?page=wpjobboard.php#/settings/general-settings | 1,387 | 7.89 | 97.42 | 39.39 |
Job Categories /wp-admin/edit-tags.php?taxonomy=wpjb-job-categories&post_type=wp_job_board | 1,335 | 2.15 | 32.36 | 105.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure failed, leaving 4 tables in the database
- wp_wjb_campaign_emails
- wp_wjb_application_activities
- wp_wjb_applications
- wp_wjb_email_campaigns
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- wpjobboard_confirmation_page_id
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ninja-job-board/includes/views/receipt/custom_css.php
- 8× PHP files trigger server errors when accessed directly:
- > PHP Notice
Undefined variable: jobs in wp-content/plugins/ninja-job-board/includes/views/templates/job_list.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'WPJobBoard\\Classes\\FormComponents\\ApplicantNameComponent' not found in wp-content/plugins/ninja-job-board/includes/Classes/FormComponents/init.php:3
- > PHP Fatal error
Uncaught Error: Class 'WpFluent\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/ninja-job-board/includes/libs/wp-fluent/src/QueryBuilder/Transaction.php:5
- > PHP Fatal error
Uncaught Error: Class 'WpFluent\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/ninja-job-board/includes/libs/wp-fluent/src/QueryBuilder/NestedCriteria.php:3
- > PHP Fatal error
Uncaught Error: Class 'WpFluent\\QueryBuilder\\Adapters\\BaseAdapter' not found in wp-content/plugins/ninja-job-board/includes/libs/wp-fluent/src/QueryBuilder/Adapters/Mysql.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/ninja-job-board/includes/views/templates/job_list.php:2
- > PHP Notice
Undefined variable: items in wp-content/plugins/ninja-job-board/includes/views/elements/input_fields_html.php on line 1
- > PHP Fatal error
Uncaught Error: Class 'WpFluent\\QueryBuilder\\QueryBuilderHandler' not found in wp-content/plugins/ninja-job-board/includes/libs/wp-fluent/src/QueryBuilder/JoinBuilder.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
Attributes that need to be fixed:
- Screenshots: Screenshot #8 (Current Active Jobs Shortcode [wp_job_list]) image missing
ninja-job-board/wp-job-board.php 92% from 13 tests
The main PHP script in "Ninja Job Board - Ultimate WordPress Job Board Plugin" version 1.3.3 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("ninja-job-board.php" instead of "wp-job-board.php")
Code Analysis Passed 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 detected34,175 lines of code in 110 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 2,972 | 818 | 22,551 |
PHP | 80 | 1,754 | 2,405 | 10,720 |
CSS | 7 | 1 | 37 | 737 |
SVG | 4 | 0 | 3 | 149 |
JSON | 2 | 0 | 0 | 18 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 16.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 255.00 |
Average method complexity | 2.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 2 | 3.03% |
▷ Concrete classes | 64 | 96.97% |
▷ Final classes | 0 | 0.00% |
Methods | 585 | |
▷ Static methods | 60 | 10.26% |
▷ Public methods | 410 | 70.09% |
▷ Protected methods | 101 | 17.26% |
▷ Private methods | 74 | 12.65% |
Functions | 30 | |
▷ Named functions | 5 | 16.67% |
▷ Anonymous functions | 25 | 83.33% |
Constants | 104 | |
▷ Global constants | 7 | 6.73% |
▷ Class constants | 97 | 93.27% |
▷ Public constants | 97 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.05MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/form_instruction.png | 22.73KB | 10.25KB | ▼ 54.89% |
assets/images/document.png | 4.58KB | 3.56KB | ▼ 22.23% |
assets/images/pdf_icon.png | 1.87KB | 1.61KB | ▼ 13.97% |
assets/images/default_value_screen.png | 22.31KB | 22.85KB | 0.00% |
assets/js/tinymce_icon.png | 1.18KB | 1.35KB | 0.00% |