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: ▲0.53MB] [CPU: ▼1.72ms] Passed 4 tests
This is a short check of server-side resources used by Wired Impact Volunteer Management
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 38.00 ▼5.62 |
Dashboard /wp-admin | 3.91 ▲0.57 | 59.52 ▼2.58 |
Posts /wp-admin/edit.php | 3.97 ▲0.61 | 52.06 ▲0.94 |
Add New Post /wp-admin/post-new.php | 6.48 ▲0.59 | 101.40 ▲0.37 |
Media Library /wp-admin/upload.php | 3.77 ▲0.54 | 37.55 ▲4.60 |
Opportunities /wp-admin/edit.php?post_type=volunteer_opp | 3.88 | 39.29 |
Help & Settings /wp-admin/admin.php?page=wi-volunteer-management-help-settings | 3.86 | 35.68 |
Volunteers /wp-admin/admin.php?page=wi-volunteer-management-volunteers | 3.91 | 39.07 |
Volunteer /wp-admin/admin.php?page=wi-volunteer-management-volunteer | 3.78 | 34.89 |
Server storage [IO: ▲1.09MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 63 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_volunteer_emails |
wp_volunteer_rsvps |
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_wi_volunteer_management_widget |
wivm-settings |
widget_theysaidso_widget |
db_upgraded |
wivm_version |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Wired Impact Volunteer Management
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,982 ▲195 | 13.52 ▼1.19 | 9.03 ▲6.93 | 38.43 ▼6.16 |
Dashboard /wp-admin | 2,270 ▲95 | 5.80 ▲0.23 | 98.72 ▼17.99 | 44.41 ▲4.93 |
Posts /wp-admin/edit.php | 2,184 ▲84 | 2.29 ▲0.31 | 40.67 ▼0.52 | 37.69 ▲2.30 |
Add New Post /wp-admin/post-new.php | 6,433 ▲4,900 | 27.55 ▲4.40 | 831.28 ▲226.93 | 36.13 ▼22.09 |
Media Library /wp-admin/upload.php | 1,476 ▲73 | 4.51 ▲0.31 | 99.20 ▼2.75 | 43.92 ▲0.45 |
Opportunities /wp-admin/edit.php?post_type=volunteer_opp | 1,188 | 2.22 | 36.43 | 30.26 |
Help & Settings /wp-admin/admin.php?page=wi-volunteer-management-help-settings | 2,265 | 8.78 | 187.17 | 31.54 |
Volunteers /wp-admin/admin.php?page=wi-volunteer-management-volunteers | 1,074 | 1.96 | 32.42 | 33.62 |
Volunteer /wp-admin/admin.php?page=wi-volunteer-management-volunteer | 710 | 1.38 | 9.06 | 17.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie tables detected upon uninstall: 2 tables
- wp_volunteer_emails
- wp_volunteer_rsvps
- Zombie WordPress options detected upon uninstall: 9 options
- wivm-settings
- wivm_version
- widget_wi_volunteer_management_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/wired-impact-volunteer-management/widget/class-widget.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WI_Volunteer_Management_Opportunity' not found in wp-content/plugins/wired-impact-volunteer-management/templates/opp-single-meta.php:8
- > PHP Fatal error
Uncaught Error: Class 'WI_Volunteer_Management_Opportunity' not found in wp-content/plugins/wired-impact-volunteer-management/templates/opp-single-form.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wired-impact-volunteer-management/admin/pages/volunteer.php:15
- > PHP Fatal error
Uncaught Error: Class 'WI_Volunteer_Management_Opportunity' not found in wp-content/plugins/wired-impact-volunteer-management/templates/opps-list-flexible.php:8
- > PHP Fatal error
Uncaught Error: Class 'WP_Users_List_Table' not found in wp-content/plugins/wired-impact-volunteer-management/includes/class-wp-volunteer-list-table.php:24
- > PHP Fatal error
Uncaught Error: Class 'WI_Volunteer_Management_Opportunity' not found in wp-content/plugins/wired-impact-volunteer-management/templates/opps-list-widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/wired-impact-volunteer-management/admin/pages/volunteers.php:15
- > PHP Fatal error
Uncaught Error: Class 'WI_Volunteer_Management_Opportunity' not found in wp-content/plugins/wired-impact-volunteer-management/templates/opps-list-one-time.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wired-impact-volunteer-management/admin/pages/help-settings.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots lack descriptions #2, #3, #4, #5, #6 in wired-impact-volunteer-management/assets to your readme.txt
wired-impact-volunteer-management/wivm.php 92% from 13 tests
The main PHP file in "Wired Impact Volunteer Management" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("wired-impact-volunteer-management.php" instead of "wivm.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin24,776 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 18,577 |
PHP | 26 | 958 | 2,116 | 2,781 |
JavaScript | 12 | 423 | 523 | 2,545 |
CSS | 3 | 142 | 76 | 873 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 20.69 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 101.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 161 | |
▷ Static methods | 4 | 2.48% |
▷ Public methods | 144 | 89.44% |
▷ Protected methods | 8 | 4.97% |
▷ Private methods | 9 | 5.59% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 1 | 25.00% |
▷ Class constants | 3 | 75.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
13 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/css/images/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |
admin/css/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
admin/css/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
admin/css/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
admin/css/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |