Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- 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.00MB] [CPU: ▼5.94ms] Passed 4 tests
A check of server-side resources used by Wbcom Designs - BuddyPress Job Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 36.38 ▼6.09 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.30 ▼4.90 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.66 ▼1.21 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.90 ▼11.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.60 ▲5.54 |
Server storage [IO: ▲2.97MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 88 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
bpjm_job_application_pgid |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Wbcom Designs - BuddyPress Job Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.59 ▼1.16 | 1.81 ▼0.18 | 36.75 ▼7.73 |
Dashboard /wp-admin | 2,206 ▲18 | 4.83 ▼0.01 | 99.64 ▼11.12 | 38.57 ▼0.34 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.00 ▼0.01 | 35.35 ▼5.42 | 30.53 ▼6.35 |
Add New Post /wp-admin/post-new.php | 1,513 ▼20 | 17.73 ▼5.53 | 613.95 ▼71.64 | 53.07 ▼1.48 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.17 ▼0.12 | 98.39 ▼0.94 | 40.50 ▼3.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- bpjm_job_application_pgid
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 5× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bp-job-manager/admin/wbcom/templates/wbcom-plugins-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bp-job-manager/admin/wbcom/templates/wbcom-license-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/bp-job-manager/admin/wbcom/templates/wbcom-support-page.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bp-job-manager/admin/bp-job-manager-admin-feedback.php:311
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bp-job-manager/admin/class-bp-job-manager-admin-feedback.php:311
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (screenshot-1), #2 (screenshot-2), #3 (screenshot-3), #4 (screenshot-4), #5 (screenshot-5), #6 (screenshot-6), #7 (screenshot-7 : Latest or selected resumes at your BuddyPress Profile), #8 (screenshot-8 : You can find options for member's resume fields at Settings >> Profile Privacy)
bp-job-manager/bp-job-manager.php Passed 13 tests
The main PHP file in "Wbcom Designs - BuddyPress Job Manager" ver. 2.6.6 adds more information about the plugin and also serves as the entry point for this plugin
137 characters long description:
This plugin integrates WordPress Job Manager with BuddyPress. Allows the members to post jobs, and others to apply for those posted jobs.
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
There were no executable files found in this plugin11,506 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 460 | 1,518 | 3,592 |
SVG | 1 | 0 | 0 | 2,671 |
JSON | 2 | 0 | 0 | 2,436 |
CSS | 4 | 313 | 67 | 1,962 |
PO File | 1 | 181 | 247 | 534 |
JavaScript | 5 | 24 | 18 | 295 |
YAML | 2 | 4 | 1 | 16 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 181.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 119 | |
▷ Static methods | 3 | 2.52% |
▷ Public methods | 114 | 95.80% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 4.20% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 1.11MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 138.38KB | 138.67KB | 0.00% |
screenshot-5.png | 259.77KB | 260.38KB | 0.00% |
admin/wbcom/assets/imgs/wbcom-offer-notice.png | 67.64KB | 32.40KB | ▼ 52.11% |
screenshot-3.png | 252.56KB | 253.22KB | 0.00% |
admin/wbcom/assets/imgs/logowbcom.png | 10.12KB | 3.87KB | ▼ 61.72% |