Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > 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: ▲1.87MB] [CPU: ▲6.21ms] Passed 4 tests
This is a short check of server-side resources used by PT Sign Ups - Beautiful volunteer sign ups and management made easy
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.99 ▲2.53 | 57.01 ▲15.13 |
Dashboard /wp-admin | 5.81 ▲2.51 | 61.58 ▲13.10 |
Posts /wp-admin/edit.php | 5.88 ▲2.52 | 67.90 ▲17.49 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 75.88 ▼20.88 |
Media Library /wp-admin/upload.php | 5.67 ▲2.44 | 59.11 ▲18.99 |
Add New /wp-admin/post-new.php?post_type=pto-custom-fields | 5.80 | 58.13 |
All ACF Fields /wp-admin/edit.php?post_type=pto-custom-fields | 5.81 | 54.23 |
All Sign Ups /wp-admin/edit.php?post_type=pto-signup | 5.81 | 50.00 |
Sign Ups Settings /wp-admin/edit.php?post_type=pto-signup&page=signup_setting | 5.88 | 61.45 |
Sign Ups Reports /wp-admin/edit.php?post_type=pto-signup&page=signup_reports | 5.92 | 55.53 |
Add Sign Up /wp-admin/post-new.php?post_type=pto-signup | 6.21 | 68.91 |
Add New /wp-admin/post-new.php?post_type=tasks-signup | 5.88 | 63.63 |
All Tasks-Signup /wp-admin/edit.php?post_type=tasks-signup | 5.81 | 49.73 |
Server storage [IO: ▲7.98MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 86 new files
Database: 1 new table, 20 new options
New tables |
---|
wp_signup_orders |
New WordPress options |
---|
administrators_invitation |
defult_wording_volunteers |
pto_checkout_sign_ups |
pto_post_sign_thank_you |
widget_recent-comments |
remove_user_from_signup |
ownsignup_invitation |
signup_flush_rewrite_rules_flag |
db_upgraded |
pto_display_all_sing_ups |
... |
Browser metrics Passed 4 tests
PT Sign Ups - Beautiful volunteer sign ups and management made easy: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,094 ▲348 | 14.06 ▼0.30 | 21.95 ▲19.98 | 45.00 ▲2.31 |
Dashboard /wp-admin | 2,302 ▲114 | 4.95 ▼0.96 | 98.43 ▼8.49 | 40.53 ▼0.15 |
Posts /wp-admin/edit.php | 2,208 ▲119 | 2.29 ▲0.28 | 37.36 ▲1.72 | 33.08 ▼0.94 |
Add New Post /wp-admin/post-new.php | 3,200 ▲1,686 | 7.98 ▼9.50 | 210.91 ▼489.28 | 75.06 ▲17.02 |
Media Library /wp-admin/upload.php | 1,440 ▲52 | 4.31 ▲0.17 | 99.40 ▼5.35 | 46.48 ▼3.21 |
Add New /wp-admin/post-new.php?post_type=pto-custom-fields | 1,795 | 3.31 | 77.16 | 42.76 |
All ACF Fields /wp-admin/edit.php?post_type=pto-custom-fields | 1,154 | 2.77 | 54.03 | 32.68 |
All Sign Ups /wp-admin/edit.php?post_type=pto-signup | 1,171 | 2.88 | 48.54 | 34.59 |
Sign Ups Settings /wp-admin/edit.php?post_type=pto-signup&page=signup_setting | 2,775 | 9.88 | 271.67 | 84.17 |
Sign Ups Reports /wp-admin/edit.php?post_type=pto-signup&page=signup_reports | 1,088 | 3.15 | 61.95 | 34.05 |
Add Sign Up /wp-admin/post-new.php?post_type=pto-signup | 3,587 | 11.10 | 231.60 | 92.14 |
Add New /wp-admin/post-new.php?post_type=tasks-signup | 2,354 | 7.56 | 172.15 | 63.71 |
All Tasks-Signup /wp-admin/edit.php?post_type=tasks-signup | 1,160 | 2.82 | 53.67 | 34.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie tables were found after uninstall: 1 table
- wp_signup_orders
- Zombie WordPress options detected upon uninstall: 20 options
- theysaidso_admin_options
- ownsignup_invitation
- administrators_notifcations
- widget_recent-posts
- db_upgraded
- request_access_decline
- remove_user_from_signup
- pto_post_sign_thank_you
- defult_wording_volunteers
- pto_display_all_sing_ups
- ...
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
These server-side errors were triggered
- > GET request to /wp-admin/post-new.php?post_type=pto-custom-fields
- > Warning in wp-content/plugins/ptoffice-sign-ups/includes/pto_advance_custom_filed/structure/pto_custom_fields.php+20
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 27× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: users in wp-content/plugins/ptoffice-sign-ups/includes/pto_sign_ups_project_tabs/pto_sign_ups_admin_search.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ptoffice-sign-ups/includes/pto_signups_cpts/structure/user_search_pto_sign_up.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ptoffice-sign-ups/includes/pto_signups_cpts/structure/pto_custom_fileds.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ptoffice-sign-ups/includes/pto_signups_cpts/structure/pto_task_custom_fields.php:8
- > PHP Warning
Use of undefined constant PTO_SIGN_UP_PLUGIN_DIR - assumed 'PTO_SIGN_UP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ptoffice-sign-ups/includes/pto_sign_ups_project_tabs/pto_sign_ups_project_tabs.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ptoffice-sign-ups/includes/pto_task_slots_cpts/pto_task_slots_advanced_option/pto_custom_fileds.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ptoffice-sign-ups/includes/pto_advance_custom_filed/structure/pto_custom_fields.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ptoffice-sign-ups/includes/pto_task_slots_cpts/pto_task_slots_advanced_option/pto_task_slots_advanced_option.php:2
- > PHP Warning
Use of undefined constant PTO_SIGN_UP_PLUGIN_DIR - assumed 'PTO_SIGN_UP_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/ptoffice-sign-ups/includes/pto_signups_cpts/structure/pto_sign_ups_tabs.php on line 2
- > PHP Fatal error
Uncaught Error: Class 'WP_Query' not found in wp-content/plugins/ptoffice-sign-ups/includes/pto_sign_ups_project_tabs/pto_sign_ups_reports.php:19
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=tasks-signup
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: tinymce is not defined" "ReferenceError: tinymce is not defined\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/ptoffice-sign-ups/assets/js/editor.js?ver=1.0.0:2:2)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- 5 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=tasks-signup
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught ReferenceError: tinymce is not defined
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: volunteer, volunteer signup, signup, signup sheet, sign up...
ptoffice-sign-ups/ptoffice.php 85% from 13 tests
"PT Sign Ups - Beautiful volunteer sign ups and management made easy" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 325 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ptoffice-sign-ups.php" instead of "ptoffice.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected58,120 lines of code in 53 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,693 | 3,185 | 17,756 |
CSS | 4 | 1,039 | 274 | 17,569 |
JavaScript | 12 | 80 | 132 | 13,243 |
SVG | 3 | 0 | 0 | 9,552 |
PHP code 0% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,006)
- Method cyclomatic complexity has to be reduced to less than 100 (currently 366)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 214.36 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 1,006.00 |
Average method complexity | 16.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 366.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 153 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 153 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
pto_frontend/assets/img/sidebar_icons.png | 2.63KB | 1.07KB | ▼ 59.50% |
assets/img/sidebar_icons.png | 2.63KB | 1.07KB | ▼ 59.50% |
assets/img/noimg.png | 3.90KB | 3.80KB | ▼ 2.73% |