Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.35MB] [CPU: ▼2.85ms] Passed 4 tests
This is a short check of server-side resources used by WP job Pro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.82 ▲0.35 | 43.81 ▼2.27 |
Dashboard /wp-admin | 3.65 ▲0.35 | 53.08 ▼4.18 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 55.73 ▼0.74 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.37 | 103.14 ▼4.21 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 39.58 ▲3.93 |
Report /wp-admin/edit.php?post_type=icjm_job&page=ic-job-report | 3.60 | 40.81 |
Jobs /wp-admin/edit.php?post_type=icjm_job | 3.62 | 40.69 |
Types /wp-admin/edit.php?post_type=icjm_job_type | 3.61 | 39.22 |
Application /wp-admin/edit.php?post_type=icjm_job&page=ic-job-application | 3.56 | 39.26 |
Categories /wp-admin/edit.php?post_type=icjm_job_category | 3.61 | 40.48 |
Other Plug-ins /wp-admin/edit.php?post_type=icjm_job&page=icjm_add_ons_page | 3.57 | 34.50 |
Positions /wp-admin/edit.php?post_type=icjm_job_position | 3.61 | 41.36 |
Companies /wp-admin/edit.php?post_type=icjm_job_company | 3.61 | 41.06 |
Status /wp-admin/edit.php?post_type=icjm_job_status | 3.61 | 40.03 |
Locations /wp-admin/edit.php?post_type=icjm_job_location | 3.61 | 40.19 |
Server storage [IO: ▲2.80MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP job Pro
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,020 ▲259 | 13.66 ▼0.45 | 6.73 ▲5.09 | 39.34 ▼6.33 |
Dashboard /wp-admin | 2,295 ▲118 | 5.05 ▼0.57 | 90.36 ▼5.13 | 95.28 ▲57.98 |
Posts /wp-admin/edit.php | 2,227 ▲124 | 2.35 ▲0.39 | 40.17 ▲0.57 | 40.35 ▲4.05 |
Add New Post /wp-admin/post-new.php | 1,623 ▲97 | 23.66 ▼0.05 | 750.95 ▲88.46 | 38.93 ▼11.90 |
Media Library /wp-admin/upload.php | 1,512 ▲112 | 4.64 ▲0.41 | 103.76 ▼2.85 | 74.67 ▲26.12 |
Report /wp-admin/edit.php?post_type=icjm_job&page=ic-job-report | 1,582 | 2.08 | 31.68 | 37.19 |
Jobs /wp-admin/edit.php?post_type=icjm_job | 1,229 | 2.30 | 35.20 | 32.61 |
Types /wp-admin/edit.php?post_type=icjm_job_type | 1,184 | 2.29 | 35.08 | 32.42 |
Application /wp-admin/edit.php?post_type=icjm_job&page=ic-job-application | 1,064 | 2.07 | 31.46 | 29.42 |
Categories /wp-admin/edit.php?post_type=icjm_job_category | 1,181 | 2.28 | 36.99 | 35.07 |
Other Plug-ins /wp-admin/edit.php?post_type=icjm_job&page=icjm_add_ons_page | 1,516 | 2.04 | 31.99 | 48.02 |
Positions /wp-admin/edit.php?post_type=icjm_job_position | 1,184 | 2.48 | 34.33 | 33.86 |
Companies /wp-admin/edit.php?post_type=icjm_job_company | 1,184 | 2.47 | 34.57 | 31.74 |
Status /wp-admin/edit.php?post_type=icjm_job_status | 1,181 | 2.29 | 38.10 | 33.47 |
Locations /wp-admin/edit.php?post_type=icjm_job_location | 1,181 | 2.45 | 36.77 | 31.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/edit.php?post_type=icjm_job&page=icjm_add_ons_page
- > Notice in wp-content/plugins/wp-job-pro/include/ic_job_add_ons.php+21
Undefined index: plugin_key
- > GET request to /wp-admin/edit.php?post_type=icjm_job&page=icjm_add_ons_page
- > Notice in wp-content/plugins/wp-job-pro/include/ic_job_add_ons.php+34
Undefined index: plugin_file
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 items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/wp-job-pro/template/single-ic_job.php:1
- > 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 take a look at the following user-side issues
- > GET request to /wp-admin/edit.php?post_type=icjm_job&page=ic-job-report
- > Network (severe)
assets/images/icons/sales-icon.png - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% 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: You are using too many tags: 15 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (screenshot-1.png), #2 (screenshot-2.png), #3 (screenshot-3.png), #4 (screenshot-4.png), #5 (screenshot-5.png)
wp-job-pro/ic-job-manager.php 69% from 13 tests
Analyzing the main PHP file in "WP job Pro" version 2.0
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-job-pro.php" instead of "ic-job-manager.php")
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "3.5.x")
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
- Text Domain: The text domain should only use lowercase characters and dashes
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
There were no executable files found in this plugin35,649 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 0 | 22,625 |
CSS | 8 | 360 | 173 | 10,259 |
PHP | 13 | 454 | 368 | 2,522 |
JavaScript | 4 | 73 | 101 | 243 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 25.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 80.00 |
Average method complexity | 4.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 76 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 76 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.19MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/arrow.png | 0.47KB | 0.33KB | ▼ 28.72% |
images/arrow-1.png | 1.13KB | 0.29KB | ▼ 74.12% |
(invalid) screenshot-3.png | 27.03KB | 0.00KB | ▼ 100.00% |
(invalid) screenshot-2.png | 30.18KB | 0.00KB | ▼ 100.00% |
screenshot-4.png | 23.25KB | 12.71KB | ▼ 45.35% |