Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.02ms] Passed 4 tests
Analyzing server-side resources used by RSVP and Event Management Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.41 ▲0.45 |
Dashboard /wp-admin | 3.45 ▲0.11 | 47.89 ▼14.93 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 50.27 ▲3.13 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 93.71 ▼5.90 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.83 ▲0.30 |
RSVP Import /wp-admin/admin.php?page=rsvp-admin-import | 3.28 | 33.06 |
Add Guest /wp-admin/admin.php?page=rsvp-admin-guest | 3.28 | 33.36 |
RSVP Export /wp-admin/admin.php?page=rsvp-admin-export/e64e3ac922 | 3.13 | 24.57 |
Events /wp-admin/admin.php?page=rsvp-events | 3.29 | 32.90 |
RSVP Settings /wp-admin/admin.php?page=rsvp-options | 3.29 | 40.99 |
Attendees /wp-admin/admin.php?page=rsvp-top-level | 3.29 | 35.48 |
Custom Questions /wp-admin/admin.php?page=rsvp-admin-questions | 3.29 | 35.58 |
LITE vs Premium /wp-admin/admin.php?page=rsvp-upgrade-to-pro | 3.34 | 34.69 |
Server storage [IO: ▲1.15MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 161 new files
Database: 7 new tables, 8 new options
New tables |
---|
wp_rsvpCustomQuestions |
wp_rsvpCustomQuestionAnswers |
wp_rsvpQuestionTypes |
wp_attendeeAnswers |
wp_attendees |
wp_rsvpCustomQuestionAttendees |
wp_associatedAttendees |
New WordPress options |
---|
rsvp-rate-time |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
rsvp_db_version |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for RSVP and Event Management Plugin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲96 | 14.75 ▲0.37 | 1.84 ▼0.20 | 41.98 ▼2.50 |
Dashboard /wp-admin | 2,246 ▲66 | 5.58 ▼0.10 | 84.05 ▼2.52 | 71.18 ▲29.44 |
Posts /wp-admin/edit.php | 2,157 ▲57 | 2.00 ▼0.03 | 41.16 ▲4.31 | 34.29 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,720 ▲189 | 22.38 ▼0.65 | 736.72 ▲40.81 | 56.81 ▼0.10 |
Media Library /wp-admin/upload.php | 1,454 ▲54 | 4.24 ▼0.01 | 104.88 ▼3.99 | 77.27 ▲33.17 |
RSVP Import /wp-admin/admin.php?page=rsvp-admin-import | 879 | 2.06 | 24.63 | 27.94 |
Add Guest /wp-admin/admin.php?page=rsvp-admin-guest | 1,058 | 1.93 | 31.51 | 38.88 |
RSVP Export /wp-admin/admin.php?page=rsvp-admin-export/e64e3ac922 | 28 | 0.44 | 0.10 | 4.17 |
Events /wp-admin/admin.php?page=rsvp-events | 986 | 1.90 | 25.70 | 27.01 |
RSVP Settings /wp-admin/admin.php?page=rsvp-options | 1,679 | 2.02 | 28.41 | 42.88 |
Attendees /wp-admin/admin.php?page=rsvp-top-level | 1,098 | 2.00 | 29.29 | 27.57 |
Custom Questions /wp-admin/admin.php?page=rsvp-admin-questions | 1,024 | 2.05 | 31.48 | 34.13 |
LITE vs Premium /wp-admin/admin.php?page=rsvp-upgrade-to-pro | 1,087 | 1.87 | 27.93 | 35.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall successfully, leaving 7 tables in the database
- wp_attendeeAnswers
- wp_rsvpQuestionTypes
- wp_rsvpCustomQuestionAnswers
- wp_attendees
- wp_rsvpCustomQuestionAttendees
- wp_associatedAttendees
- wp_rsvpCustomQuestions
- Zombie WordPress options were found after uninstall: 8 options
- rsvp_db_version
- db_upgraded
- widget_recent-comments
- rsvp-rate-time
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 70× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Common\\Exception\\SpoutException' not found in wp-content/plugins/rsvp/external-libs/spout/src/Spout/Common/Exception/InvalidArgumentException.php:11
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Common\\Exception\\SpoutException' not found in wp-content/plugins/rsvp/external-libs/spout/src/Spout/Common/Exception/UnsupportedTypeException.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/rsvp/includes/class-rsvp-review.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/rsvp/external-libs/wp-simple-nonce/wp-simple-nonce.php:16
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Writer\\AbstractMultiSheetsWriter' not found in wp-content/plugins/rsvp/external-libs/spout/src/Spout/Writer/ODS/Writer.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/rsvp/wp-rsvp.php:52
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Reader\\Common\\ReaderOptions' not found in wp-content/plugins/rsvp/external-libs/spout/src/Spout/Reader/CSV/ReaderOptions.php:13
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/rsvp/includes/rsvp-constants.php on line 7
- > PHP Fatal error
Uncaught Error: Interface 'Box\\Spout\\Common\\Escaper\\EscaperInterface' not found in wp-content/plugins/rsvp/external-libs/spout/src/Spout/Common/Escaper/XLSX.php:13
- > PHP Fatal error
Uncaught Error: Class 'Box\\Spout\\Common\\Exception\\SpoutException' not found in wp-content/plugins/rsvp/external-libs/spout/src/Spout/Common/Exception/IOException.php:11
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=rsvp-admin-export/e64e3ac922
- > Network (severe)
wp-admin/admin.php?page=rsvp-admin-export/e64e3ac922 - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=rsvp-options
- > Network (severe)
wp-content/plugins/rsvp/assets/admin/css/images/ui-bg_inset-hard_100_fcfdfd_1x100.png - 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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add an image for screenshot #1 (The text you need to add for the rsvp front-end)
rsvp/wp-rsvp.php 92% from 13 tests
"RSVP and Event Management Plugin" version 2.7.13's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rsvp.php" instead of "wp-rsvp.php")
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
Good job! No executable or dangerous file extensions detected15,456 lines of code in 131 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 115 | 2,545 | 5,993 | 10,063 |
PO File | 7 | 1,061 | 1,121 | 3,041 |
CSS | 4 | 437 | 170 | 1,777 |
JavaScript | 4 | 104 | 26 | 539 |
JSON | 1 | 1 | 0 | 36 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 8.46 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 130.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 29 | |
Interfaces | 8 | |
Traits | 2 | |
Classes | 97 | |
▷ Abstract classes | 9 | 9.28% |
▷ Concrete classes | 88 | 90.72% |
▷ Final classes | 0 | 0.00% |
Methods | 717 | |
▷ Static methods | 37 | 5.16% |
▷ Public methods | 467 | 65.13% |
▷ Protected methods | 221 | 30.82% |
▷ Private methods | 29 | 4.04% |
Functions | 52 | |
▷ Named functions | 49 | 94.23% |
▷ Anonymous functions | 3 | 5.77% |
Constants | 230 | |
▷ Global constants | 55 | 23.91% |
▷ Class constants | 175 | 76.09% |
▷ Public constants | 175 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
10 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-icons_d8e7f3_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/ui-icons_f9bd01_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/ui-icons_217bc0_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
images/plus.png | 1.35KB | 1.39KB | 0.00% |