Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲1.95MB] [CPU: ▲14.87ms] Passed 4 tests
A check of server-side resources used by JobBoardWP - Job Board Listings and Submissions
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.22 ▲1.76 | 52.65 ▲13.67 |
Dashboard /wp-admin | 5.31 ▲2.00 | 71.96 ▲25.80 |
Posts /wp-admin/edit.php | 5.37 ▲2.01 | 61.04 ▲14.15 |
Add New Post /wp-admin/post-new.php | 9.17 ▲3.28 | 104.25 ▲13.44 |
Media Library /wp-admin/upload.php | 5.26 ▲2.02 | 51.56 ▲18.23 |
Jobs /wp-admin/edit.php?post_type=jb-job | 5.35 | 53.93 |
Add New /wp-admin/post-new.php?post_type=jb-job | 9.37 | 108.11 |
Job Categories /wp-admin/edit-tags.php?taxonomy=jb-job-category&post_type=jb-job | 5.26 | 48.43 |
Job Types /wp-admin/edit-tags.php?taxonomy=jb-job-type&post_type=jb-job | 5.63 | 54.32 |
Dashboard /wp-admin/admin.php?page=jobboardwp | 5.03 | 36.93 |
Settings /wp-admin/admin.php?page=jb-settings | 5.62 | 49.35 |
Server storage [IO: ▲4.73MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 329 new files
Database: no new tables, 71 new options
New WordPress options |
---|
jb_published-job-editing |
jb_job_approved_on |
jb_job_submitted_on |
jb_job-type-slug |
widget_jb_recent_jobs |
jb_account-username-generate |
jb_job-category-slug |
widget_recent-posts |
jb_job_expiration_reminder_sub |
jb_last_version_upgrade |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for JobBoardWP - Job Board Listings and Submissions
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,154 ▲393 | 19.06 ▲4.71 | 127.44 ▲125.85 | 72.71 ▲26.47 |
Dashboard /wp-admin | 2,262 ▲85 | 5.59 ▼0.02 | 89.39 ▲0.66 | 45.46 ▲5.42 |
Posts /wp-admin/edit.php | 2,174 ▲74 | 2.36 ▲0.33 | 32.39 ▼4.27 | 34.90 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,641 ▲112 | 23.52 ▲0.41 | 683.14 ▲14.68 | 39.32 ▼11.17 |
Media Library /wp-admin/upload.php | 1,467 ▲70 | 4.23 ▲0.03 | 106.12 ▲3.53 | 46.28 ▲2.58 |
Jobs /wp-admin/edit.php?post_type=jb-job | 1,373 | 2.52 | 40.79 | 48.01 |
Add New /wp-admin/post-new.php?post_type=jb-job | 1,936 | 17.33 | 870.70 | 44.08 |
Job Categories /wp-admin/edit-tags.php?taxonomy=jb-job-category&post_type=jb-job | 1,400 | 2.49 | 34.56 | 31.87 |
Job Types /wp-admin/edit-tags.php?taxonomy=jb-job-type&post_type=jb-job | 2,054 | 2.89 | 51.84 | 35.24 |
Dashboard /wp-admin/admin.php?page=jobboardwp | 28 | 0.42 | 0.06 | 3.50 |
Settings /wp-admin/admin.php?page=jb-settings | 1,261 | 2.79 | 49.73 | 30.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 71 options in the database
- jb_job-salary-currency
- jb_jobs-list-hide-location-search
- jb_job_submitted_sub
- jb_jobs-list-hide-job-types
- jb_jobs-list-pagination
- jb_account-password-email
- jb_jobs-list-hide-filled
- jb_job-dateformat
- jb_jobs-list-hide-filters
- jb_first_activation_date
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Looking good! No server-side errors or output on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=jobboardwp
- > Network (severe)
wp-admin/admin.php?page=jobboardwp - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: job portal, job manager, job, job board, job listing
jobboardwp/jobboardwp.php Passed 13 tests
The entry point to "JobBoardWP - Job Board Listings and Submissions" version 1.2.6 is a PHP file that has certain tags in its header comment area
129 characters long description:
Add a modern job board to your website. Display job listings and allow employers to submit and manage jobs all from the front-end
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected44,830 lines of code in 301 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 89 | 3,693 | 6,307 | 15,688 |
SVG | 3 | 0 | 12 | 9,299 |
CSS | 50 | 2,310 | 91 | 9,047 |
Sass | 47 | 671 | 54 | 6,724 |
JavaScript | 104 | 575 | 204 | 2,902 |
PO File | 1 | 466 | 535 | 1,015 |
JSON | 6 | 0 | 0 | 150 |
HTML | 1 | 2 | 6 | 5 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
These items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 229)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 45.13 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 304.00 |
Average method complexity | 5.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 229.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 45 | 100.00% |
▷ Final classes | 1 | 2.22% |
Methods | 490 | |
▷ Static methods | 3 | 0.61% |
▷ Public methods | 474 | 96.73% |
▷ Protected methods | 5 | 1.02% |
▷ Private methods | 11 | 2.24% |
Functions | 63 | |
▷ Named functions | 44 | 69.84% |
▷ Anonymous functions | 19 | 30.16% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
11 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/common/libs/jquery-ui/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/common/libs/jquery-ui/images/ui-icons_454545_256x240.png | 6.92KB | 4.18KB | ▼ 39.61% |
assets/common/libs/jquery-ui/images/ui-icons_888888_256x240.png | 6.94KB | 4.18KB | ▼ 39.78% |
assets/common/libs/jquery-ui/images/ui-bg_glass_95_fef1ec_1x400.png | 0.38KB | 0.15KB | ▼ 61.54% |
assets/common/libs/jquery-ui/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.32KB | 0.18KB | ▼ 44.00% |