Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼4.40ms] Passed 4 tests
This is a short check of server-side resources used by RSVPMaker Volunteer Roles
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.12 | 38.27 ▼1.83 |
Dashboard /wp-admin | 3.44 ▲0.13 | 50.72 ▼2.24 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 50.82 ▼3.94 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 89.06 ▼9.58 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.19 ▲4.12 |
Volunteer Report /wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_vreport | 3.13 | 23.09 |
Volunteer History /wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_history | 3.13 | 31.19 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for RSVPMaker Volunteer Roles
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▲0.16 | 1.71 ▲0.05 | 38.28 ▼4.84 |
Dashboard /wp-admin | 2,195 ▲21 | 5.65 ▲0.02 | 96.18 ▲8.51 | 41.98 ▼2.97 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.01 | 40.88 ▼0.24 | 36.43 ▼0.96 |
Add New Post /wp-admin/post-new.php | 1,550 ▲19 | 23.14 ▼0.14 | 706.41 ▲53.52 | 70.22 ▲14.22 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.24 ▼0.00 | 106.00 ▲2.34 | 46.96 ▲3.37 |
Volunteer Report /wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_vreport | 28 | 0.44 | 0.14 | 3.81 |
Volunteer History /wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_history | 28 | 0.44 | 0.16 | 4.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/rsvpmaker-volunteer-roles/volunteer-roles.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)
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_vreport
- > Network (severe)
wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_vreport - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_history
- > Network (severe)
wp-admin/edit.php?post_type=rsvpmaker&page=rsvp_history - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: rsvp, event, volunteer, calendar
rsvpmaker-volunteer-roles/volunteer-roles.php 92% from 13 tests
The primary PHP file in "RSVPMaker Volunteer Roles" version 1.5.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rsvpmaker-volunteer-roles.php" instead of "volunteer-roles.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin577 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 114 | 31 | 546 |
JavaScript | 1 | 13 | 5 | 31 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin