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: ▲0.12MB] [CPU: ▼1.67ms] Passed 4 tests
An overview of server-side resources used by WP Jobs
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 44.80 ▼5.41 |
Dashboard /wp-admin | 3.42 ▲0.11 | 52.00 ▼3.35 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 52.89 ▲0.68 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 103.09 ▲3.94 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 39.05 ▲1.42 |
Job Applications /wp-admin/edit.php?post_type=job&page=WPJobsApps | 3.32 | 36.38 |
Add New /wp-admin/post-new.php?post_type=job | 3.50 | 60.20 |
WP Jobs /wp-admin/admin.php?page=WPJobsHome | 3.32 | 34.26 |
Settings /wp-admin/admin.php?page=JobSettings | 3.31 | 33.43 |
All Jobs /wp-admin/edit.php?post_type=job | 3.38 | 38.16 |
Department /wp-admin/edit-tags.php?taxonomy=department&post_type=job | 3.33 | 36.27 |
Server storage [IO: ▲0.39MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_app_user_info |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
wp_jobs_list_sidebar |
wp_jobs_listing |
wpjobs_wg_bg_color |
wp_jobs_currency |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
wp_jobs_detail_sidebar |
... |
Browser metrics Passed 4 tests
WP Jobs: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,958 ▲212 | 13.66 ▼0.62 | 7.95 ▲6.07 | 55.65 ▲13.29 |
Dashboard /wp-admin | 2,273 ▲88 | 4.89 ▼0.95 | 104.55 ▼10.51 | 38.49 ▼5.04 |
Posts /wp-admin/edit.php | 2,156 ▲67 | 2.04 ▲0.00 | 35.55 ▼2.05 | 31.44 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,584 ▲65 | 23.49 ▲0.34 | 649.98 ▼8.87 | 52.58 ▼1.30 |
Media Library /wp-admin/upload.php | 1,455 ▲64 | 4.17 ▼0.03 | 109.03 ▲0.79 | 49.05 ▲2.93 |
Job Applications /wp-admin/edit.php?post_type=job&page=WPJobsApps | 873 | 1.67 | 25.22 | 32.55 |
Add New /wp-admin/post-new.php?post_type=job | 3,137 | 9.14 | 192.30 | 71.39 |
WP Jobs /wp-admin/admin.php?page=WPJobsHome | 1,018 | 2.07 | 23.80 | 46.64 |
Settings /wp-admin/admin.php?page=JobSettings | 897 | 1.67 | 23.77 | 27.30 |
All Jobs /wp-admin/edit.php?post_type=job | 1,176 | 1.95 | 32.73 | 32.00 |
Department /wp-admin/edit-tags.php?taxonomy=department&post_type=job | 1,326 | 2.15 | 26.98 | 28.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie tables detected upon uninstall: 1 table
- wp_app_user_info
- This plugin does not fully uninstall, leaving 11 options in the database
- wp_jobs_detail_sidebar
- wp_jobs_currency
- wp_jobs_listing
- theysaidso_admin_options
- wp_jobs_list_sidebar
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% 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
Please fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/wp-jobs/enqueue-localize-js.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-jobs/template-files/applicationform.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_upload_dir() in wp-content/plugins/wp-jobs/wp-jobs.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_localize_script() in wp-content/plugins/wp-jobs/wp_localize_script.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-jobs/template-files/joblisting.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-jobs/wpjobs_settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: wordpress job listing plugin, wordpress jobs, resume cv attachment, wp jobs
wp-jobs/wp-jobs.php 92% from 13 tests
"WP Jobs" version 2.3.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Domain Path: The domain path folder does not exist ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin2,588 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 551 | 333 | 1,419 |
PHP | 8 | 112 | 64 | 947 |
CSS | 4 | 10 | 19 | 222 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 25 | |
▷ Named functions | 25 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
7 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/period.png | 9.69KB | 3.82KB | ▼ 60.60% |
img/designation.png | 5.29KB | 3.35KB | ▼ 36.74% |
img/glyphicons-halflings-white.png | 8.57KB | 9.20KB | 0.00% |
img/date.png | 7.15KB | 3.45KB | ▼ 51.69% |
img/salary.png | 3.28KB | 1.59KB | ▼ 51.39% |