Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.45ms] Passed 4 tests
An overview of server-side resources used by Screening Questions For WP Job Manager
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.04 | 39.76 ▼0.71 |
Dashboard /wp-admin | 3.34 ▲0.04 | 46.96 ▼4.75 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.23 ▲1.32 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 102.29 ▲14.67 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.35 ▼1.67 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 31 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_sq_questions |
wp_sq_answers |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Screening Questions For WP Job Manager
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,937 ▲202 | 13.60 ▼0.65 | 10.08 ▲8.14 | 38.95 ▼5.11 |
Dashboard /wp-admin | 2,232 ▲44 | 5.84 ▲0.77 | 108.24 ▼7.43 | 39.36 ▼1.86 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.04 ▲0.04 | 39.54 ▲0.83 | 35.34 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 22.97 ▼0.18 | 567.50 ▼121.74 | 53.30 ▼4.47 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.23 ▲0.07 | 97.55 ▼2.44 | 41.68 ▼1.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The plugin did not uninstall successfully, leaving 2 tables in the database
- wp_sq_questions
- wp_sq_answers
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/screening-questions-for-wp-job-manager/templates/wpjmsq-popup.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/admin/meta-box/application-answers.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/admin/list-table/screening-questions-single.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_ID() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/admin/meta-box/job-questions.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/admin/list-table/screening-questions-new.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/job-apply.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function apply_filters() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/post-job.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/admin/list-table/screening-questions-list.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/screening-questions-for-wp-job-manager/templates/admin/list-table/screening-questions-edit.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
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
Attributes that require attention:
- Requires php: The plugin version is formatted incorrectly
screening-questions-for-wp-job-manager/screening-questions-for-wp-job-manager.php Passed 13 tests
The primary PHP file in "Screening Questions For WP Job Manager" version 1.0.4 is used by WordPress to initiate all plugin functionality
46 characters long description:
Screening Questions Add-on for WP Job Manager.
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
Success! There were no dangerous files found in this plugin1,190 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 21 | 266 | 319 | 908 |
JavaScript | 3 | 39 | 16 | 124 |
CSS | 2 | 15 | 0 | 88 |
Markdown | 1 | 24 | 0 | 44 |
JSON | 1 | 0 | 0 | 26 |
PHP code Passed 2 tests
An overview 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.35 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.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 | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 39 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 14 | 87.50% |
▷ Anonymous functions | 2 | 12.50% |
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
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin