Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.36MB] [CPU: ▼0.32ms] Passed 4 tests
This is a short check of server-side resources used by JobPress - Your Own Job Board & Career Page
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.37 | 41.48 ▲3.76 |
Dashboard /wp-admin | 3.67 ▲0.37 | 44.76 ▼5.45 |
Posts /wp-admin/edit.php | 3.73 ▲0.37 | 46.98 ▼0.85 |
Add New Post /wp-admin/post-new.php | 6.33 ▲0.44 | 93.31 ▲6.35 |
Media Library /wp-admin/upload.php | 3.53 ▲0.31 | 37.28 ▲1.24 |
All Jobs /wp-admin/edit.php?post_type=jobpress | 3.64 | 51.96 |
Appearance /wp-admin/edit.php?post_type=jobpress&page=jobpress_appearance_settings | 3.51 | 35.42 |
Settings /wp-admin/edit.php?post_type=jobpress&page=jobpress_settings | 3.51 | 40.66 |
Shortcodes /wp-admin/edit.php?post_type=jobpress&page=jobpress_shortcode | 3.51 | 33.02 |
Add New /wp-admin/post-new.php?post_type=jobpress | 6.34 | 84.54 |
Job Categories /wp-admin/edit-tags.php?taxonomy=jobpress_category&post_type=jobpress | 3.53 | 34.90 |
Job Types /wp-admin/edit-tags.php?taxonomy=jobpress_type&post_type=jobpress | 3.53 | 35.11 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 55 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_jobpress_application |
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for JobPress - Your Own Job Board & Career Page
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,854 ▲119 | 13.20 ▼1.09 | 1.67 ▼0.28 | 37.88 ▼13.02 |
Dashboard /wp-admin | 2,253 ▲65 | 4.88 ▼1.02 | 109.23 ▲1.89 | 43.87 ▲3.54 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.02 ▼0.15 | 40.30 ▲0.25 | 35.04 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,567 ▲46 | 18.38 ▼5.11 | 603.25 ▼76.84 | 55.51 ▲5.32 |
Media Library /wp-admin/upload.php | 1,435 ▲47 | 4.30 ▲0.09 | 95.94 ▼3.25 | 42.50 ▲1.25 |
All Jobs /wp-admin/edit.php?post_type=jobpress | 1,150 | 2.23 | 35.34 | 34.08 |
Appearance /wp-admin/edit.php?post_type=jobpress&page=jobpress_appearance_settings | 1,549 | 3.03 | 69.21 | 29.78 |
Settings /wp-admin/edit.php?post_type=jobpress&page=jobpress_settings | 966 | 1.96 | 32.20 | 35.45 |
Shortcodes /wp-admin/edit.php?post_type=jobpress&page=jobpress_shortcode | 877 | 1.95 | 25.06 | 27.73 |
Add New /wp-admin/post-new.php?post_type=jobpress | 1,735 | 17.15 | 860.55 | 40.24 |
Job Categories /wp-admin/edit-tags.php?taxonomy=jobpress_category&post_type=jobpress | 1,309 | 2.14 | 25.53 | 26.63 |
Job Types /wp-admin/edit-tags.php?taxonomy=jobpress_type&post_type=jobpress | 1,306 | 2.14 | 25.81 | 27.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_jobpress_application
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/jobpress/jobpress.php
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/jobpress/templates/task-pages/nav.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/jobpress/templates/jobpress-template/listing/jobpress-listing-v5.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_post_thumbnail_url() in wp-content/plugins/jobpress/templates/jobpress-template/single-jobpress.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/jobpress/templates/jobpress-template/listing/jobpress-listing-v1.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jobpress/templates/task-pages/appearance-settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jobpress/templates/task-pages/shortcodes-settings.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_categories() in wp-content/plugins/jobpress/templates/jobpress-template/listing/jobpress-listing-v4.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/jobpress/templates/jobpress-template/listing/jobpress-listing-v3.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_categories() in wp-content/plugins/jobpress/templates/jobpress-template/listing/jobpress-listing-v2.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/jobpress/templates/task-pages/settings.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Tags: There are too many tags (13 tag instead of maximum 10)
jobpress/jobpress.php 92% from 13 tests
The primary PHP file in "JobPress - Your Own Job Board & Career Page" version 1.1.0 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 160 characters long)
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
Everything looks great! No dangerous files found in this plugin5,018 lines of code in 48 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 365 | 214 | 3,029 |
PHP | 38 | 316 | 581 | 1,945 |
JSON | 2 | 0 | 0 | 22 |
JavaScript | 1 | 0 | 3 | 18 |
SVG | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 9.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 20 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 20 | 100.00% |
▷ Final classes | 1 | 5.00% |
Methods | 98 | |
▷ Static methods | 26 | 26.53% |
▷ Public methods | 94 | 95.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 4.08% |
Functions | 4 | |
▷ Named functions | 2 | 50.00% |
▷ Anonymous functions | 2 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
PNG images were not found in this plugin