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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲5.98MB] [CPU: ▲63.11ms] 75% from 4 tests
A check of server-side resources used by RSVPMaker
Please have a look at the following items
- Extra RAM: Extra memory usage must be kept under 5MB (currently 5.98MB on /wp-admin/tools.php?page=rsvpmaker_export_screen)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.29 ▲5.83 | 104.90 ▲64.44 |
Dashboard /wp-admin | 9.34 ▲6.00 | 1,365.11 ▲1,300.85 |
Posts /wp-admin/edit.php | 9.36 ▲6.00 | 100.70 ▲53.32 |
Add New Post /wp-admin/post-new.php | 12.42 ▲6.53 | 167.69 ▲75.76 |
Media Library /wp-admin/upload.php | 9.31 ▲6.08 | 91.30 ▲58.90 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=rsvpmaker | 9.43 | 86.96 |
Cleanup RSVPMaker /wp-admin/tools.php?page=rsvpmaker_cleanup | 9.29 | 87.10 |
RSVPMaker /wp-admin/options-general.php?page=rsvpmaker_settings | 9.29 | 88.41 |
Group Email Log /wp-admin/edit.php?post_type=rsvpemail&page=rsvpmaker_relay_queue_monitor | 9.29 | 83.80 |
Group Email /wp-admin/edit.php?post_type=rsvpemail&page=rsvpmaker_relay_manual_test | 9.29 | 90.86 |
Event Type /wp-admin/edit-tags.php?taxonomy=rsvpmaker-type&post_type=rsvpmaker | 9.43 | 93.01 |
Email Promos /wp-admin/edit.php?page=rsvpmail_latest_posts_notification_setup | 9.66 | 109.77 |
RSVP Report /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=rsvpmaker&page=rsvp_report | 8.93 | 71.63 |
Import/Export RSVPMaker /wp-admin/tools.php?page=rsvpmaker_export_screen | 9.29 | 79.06 |
Server storage [IO: ▲12.23MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 847 new files
Database: 4 new tables, 16 new options
New tables |
---|
wp_rsvpmailer_blocked |
wp_rsvp_volunteer_time |
wp_rsvpmaker |
wp_rsvpmaker_event |
New WordPress options |
---|
widget_cpeventswidget |
rsvpmaker_missing_help |
rsvpmailer_default_block_template |
db_upgraded |
rsvpmaker_help |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_rsvpmaker_by_json |
rsvpmaker_last_data_check2 |
... |
Browser metrics Passed 4 tests
A check of browser resources used by RSVPMaker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,148 ▲397 | 16.09 ▲1.35 | 13.12 ▲11.18 | 42.33 ▼7.63 |
Dashboard /wp-admin | 2,394 ▲214 | 6.30 ▲0.69 | 105.93 ▲7.57 | 38.68 ▼6.09 |
Posts /wp-admin/edit.php | 2,312 ▲212 | 2.96 ▲1.02 | 56.52 ▲18.19 | 33.66 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,712 ▲186 | 22.48 ▼0.92 | 721.48 ▲48.21 | 39.23 ▼14.76 |
Media Library /wp-admin/upload.php | 1,600 ▲200 | 5.82 ▲1.64 | 118.99 ▲21.32 | 44.58 ▲1.59 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=rsvpmaker | 1,525 | 3.16 | 53.14 | 34.44 |
Cleanup RSVPMaker /wp-admin/tools.php?page=rsvpmaker_cleanup | 1,182 | 3.05 | 49.06 | 29.48 |
RSVPMaker /wp-admin/options-general.php?page=rsvpmaker_settings | 1,064 | 7.61 | 207.74 | 29.51 |
Group Email Log /wp-admin/edit.php?post_type=rsvpemail&page=rsvpmaker_relay_queue_monitor | 970 | 2.95 | 42.62 | 25.53 |
Group Email /wp-admin/edit.php?post_type=rsvpemail&page=rsvpmaker_relay_manual_test | 976 | 2.89 | 47.03 | 27.33 |
Event Type /wp-admin/edit-tags.php?taxonomy=rsvpmaker-type&post_type=rsvpmaker | 1,480 | 3.32 | 60.03 | 31.42 |
Email Promos /wp-admin/edit.php?page=rsvpmail_latest_posts_notification_setup | 1,148 | 3.07 | 51.83 | 37.60 |
RSVP Report /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=rsvpmaker&page=rsvp_report | 28 | 0.41 | 0.09 | 3.84 |
RSVPMaker Email /wp-admin/rsvpmaker-admin.php | 26 | 0.41 | 0.12 | 13.30 |
Import/Export RSVPMaker /wp-admin/tools.php?page=rsvpmaker_export_screen | 1,005 | 3.07 | 46.72 | 29.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_rsvpmailer_blocked
- Zombie WordPress options detected upon uninstall: 9 options
- rsvpmaker_link_template_post
- can_compress_scripts
- rsvpmailer_default_block_template
- widget_cpeventswidget
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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 fix the following items
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/rsvpmaker/stripe-php/build.php
- > /wp-content/plugins/rsvpmaker/captcha/captcha_ttf.php
- > /wp-content/plugins/rsvpmaker/stripe-php/update_certs.php
- 420× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\ApiResource' not found in wp-content/plugins/rsvpmaker/stripe-php/lib/Payout.php:38
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/rsvpmaker/stripe-php/lib/Service/Terminal/ReaderService.php:7
- > PHP Notice
Undefined variable: line in wp-content/plugins/rsvpmaker/captcha/captcha_ttf.php on line 54
- > PHP Fatal error
require(): Failed opening required 'wp-content/plugins/rsvpmaker/paypal-rest/vendor/paypal/paypal-checkout-sdk/samples/AuthorizeIntentExamples/../../vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/rsvpmaker/paypal-rest/vendor/paypal/paypal-checkout-sdk/samples/AuthorizeIntentExamples/CaptureOrder.php on line 5
- > PHP Fatal error
Uncaught Error: Class 'BraintreeHttp\\HttpRequest' not found in wp-content/plugins/rsvpmaker/paypal-rest/vendor/paypal/paypal-checkout-sdk/lib/PayPalCheckoutSdk/Payments/AuthorizationsGetRequest.php:14
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Exception\\ApiErrorException' not found in wp-content/plugins/rsvpmaker/stripe-php/lib/Exception/CardException.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/rsvpmaker/rsvpmaker-plugabble.php:4747
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Error\\Base' not found in wp-content/plugins/rsvpmaker/stripe-php/lib/Error/Idempotency.php:5
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/rsvpmaker/stripe-php/lib/Service/ApplePayDomainService.php:7
- > PHP Fatal error
Uncaught Error: Class 'Stripe\\Service\\AbstractService' not found in wp-content/plugins/rsvpmaker/stripe-php/lib/Service/OrderService.php:7
- > PHP Fatal error
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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=rsvpmaker_settings
- > Network (severe)
wp-json/rsvpmaker/v1/rsvp_options?tab=general - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=rsvpmaker&page=rsvp_report
- > Network (severe)
wp-admin/edit-tags.php?taxonomy=post_tag&post_type=rsvpmaker&page=rsvp_report - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/rsvpmaker-admin.php
- > Network (severe)
wp-admin/rsvpmaker-admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Example of an event listing with an RSVP Now! button.), #2 (Customizable RSVPMaker registration form.), #3 (Prompt to pay by credit card (PayPal also supported).), #4 (Email confirmation message.), #5 (Event options displayed within the WordPress editor. This is where you turn on registration, customize the form, define confirmation and reminder messages, and set pricing (if any).), #6 (Timezone conversions displayed automatically, which is handy for webinars and online meetings with a global audience.), #7 (Built-in email template with options for which list the message should be distributed to.)
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
rsvpmaker/rsvpmaker.php 92% from 13 tests
Analyzing the main PHP file in "RSVPMaker" version 10.7.9
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 664 characters long)
Code Analysis 3% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
It is important to fix the following items
- Do not distribute dangerous files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/rsvpmaker/stripe-php/data/ca-certificates.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 515 | 14,997 | 18,075 | 49,075 |
JSON | 29 | 2 | 0 | 34,915 |
PO File | 9 | 4,006 | 5,023 | 9,948 |
JavaScript | 86 | 964 | 602 | 9,117 |
Markdown | 26 | 2,019 | 0 | 4,933 |
CSS | 14 | 78 | 72 | 1,591 |
Sass | 8 | 47 | 4 | 624 |
XML | 22 | 4 | 0 | 247 |
YAML | 5 | 5 | 1 | 86 |
make | 2 | 9 | 0 | 26 |
Bourne Shell | 1 | 4 | 0 | 11 |
HTML | 1 | 1 | 0 | 9 |
INI | 1 | 0 | 0 | 2 |
Ruby | 1 | 0 | 0 | 2 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Method cyclomatic complexity has to be reduced to less than 100 (currently 254)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 6.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 254.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 254.00 |
Code structure | ||
---|---|---|
Namespaces | 52 | |
Interfaces | 36 | |
Traits | 10 | |
Classes | 439 | |
▷ Abstract classes | 14 | 3.19% |
▷ Concrete classes | 425 | 96.81% |
▷ Final classes | 35 | 8.24% |
Methods | 2,019 | |
▷ Static methods | 356 | 17.63% |
▷ Public methods | 1,794 | 88.86% |
▷ Protected methods | 38 | 1.88% |
▷ Private methods | 187 | 9.26% |
Functions | 851 | |
▷ Named functions | 723 | 84.96% |
▷ Anonymous functions | 128 | 15.04% |
Constants | 760 | |
▷ Global constants | 12 | 1.58% |
▷ Class constants | 748 | 98.42% |
▷ Public constants | 737 | 98.53% |
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
37 PNG files occupy 2.72MB with 1.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-6.png | 315.22KB | 106.79KB | ▼ 66.12% |
images/ui-icons_cc0000_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |
placeholder.png | 1.50KB | 0.93KB | ▼ 38.36% |
images/youtube-button-100px.png | 2.35KB | 2.06KB | ▼ 12.39% |
screenshot-5.png | 324.02KB | 103.57KB | ▼ 68.04% |