Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.46MB] [CPU: ▲4.55ms] Passed 4 tests
Server-side resources used by WP Broadbean
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 44.88 ▲3.78 |
Dashboard /wp-admin | 3.80 ▲0.49 | 56.89 ▲6.20 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 56.48 ▲7.19 |
Add New Post /wp-admin/post-new.php | 6.51 ▲0.63 | 109.96 ▲10.91 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 36.56 ▲1.02 |
Job Skills /wp-admin/edit-tags.php?taxonomy=wpbb_job_skill | 3.65 | 36.54 |
Job Types /wp-admin/edit-tags.php?taxonomy=wpbb_job_type | 3.65 | 39.20 |
Job Industries /wp-admin/edit-tags.php?taxonomy=wpbb_job_industry | 3.65 | 33.80 |
Jobs /wp-admin/edit.php?post_type=wpbb_job | 3.70 | 38.21 |
Settings /wp-admin/admin.php?page=wpbb_settings | 3.66 | 34.67 |
Job Locations /wp-admin/edit-tags.php?taxonomy=wpbb_job_location | 3.65 | 34.84 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 32 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpbroadbean_version |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
wpbroadbean_db_version |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Broadbean
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲102 | 13.28 ▼1.40 | 5.96 ▲3.95 | 46.10 ▼4.50 |
Dashboard /wp-admin | 2,251 ▲60 | 4.85 ▼0.09 | 109.68 ▼0.18 | 46.19 ▼1.77 |
Posts /wp-admin/edit.php | 2,134 ▲48 | 2.05 ▲0.05 | 41.88 ▲2.45 | 37.21 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,575 ▲33 | 18.26 ▼4.71 | 718.09 ▲94.08 | 67.89 ▲14.25 |
Media Library /wp-admin/upload.php | 1,430 ▲45 | 4.24 ▲0.04 | 99.19 ▼53.43 | 42.18 ▼14.32 |
Job Skills /wp-admin/edit-tags.php?taxonomy=wpbb_job_skill | 1,276 | 2.14 | 26.58 | 30.26 |
Job Types /wp-admin/edit-tags.php?taxonomy=wpbb_job_type | 1,310 | 2.14 | 29.82 | 29.28 |
Job Industries /wp-admin/edit-tags.php?taxonomy=wpbb_job_industry | 1,304 | 2.13 | 26.61 | 34.12 |
Jobs /wp-admin/edit.php?post_type=wpbb_job | 1,144 | 1.94 | 32.60 | 31.31 |
Settings /wp-admin/admin.php?page=wpbb_settings | 1,098 | 2.06 | 26.23 | 36.08 |
Job Locations /wp-admin/edit-tags.php?taxonomy=wpbb_job_location | 1,307 | 2.14 | 29.37 | 29.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 8 options
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- wpbroadbean_db_version
- widget_recent-comments
- widget_theysaidso_widget
- wpbroadbean_version
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
Please take a closer look at the following
- 22× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpbroadbean/inc/taxonomies.php:110
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpbroadbean/inc/applications/application-form.php:115
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpbroadbean/inc/applications/application-fields.php:114
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpbroadbean/inc/enqueues.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpbroadbean/inc/post-types.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpbroadbean/inc/settings/settings-fields.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wpbroadbean/inc/settings/register-settings.php:64
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpbroadbean/views/messages.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/wpbroadbean/views/application-form.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wpbroadbean/inc/settings/default-settings.php:85
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 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
2 plugin tags: recruitment, jobs
wpbroadbean/wpbroadbean.php 85% from 13 tests
The primary PHP file in "WP Broadbean" version 3.0.7 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Domain Path: The domain path folder does not exist ("/langauges")
- Description: The description should be shorter than 140 characters (currently 324 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,298 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 1,057 | 1,402 | 2,133 |
CSS | 1 | 8 | 0 | 124 |
XML | 2 | 0 | 0 | 30 |
JavaScript | 2 | 0 | 7 | 11 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 95 | |
▷ Named functions | 95 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin