Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼10.41ms] Passed 4 tests
Analyzing server-side resources used by Event Volunteer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 36.90 ▼2.92 |
Dashboard /wp-admin | 3.44 ▲0.10 | 44.48 ▼17.12 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 48.32 ▲4.06 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 73.63 ▼22.25 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 33.25 ▲0.65 |
Evp Locations /wp-admin/edit.php?post_type=locations | 3.38 | 36.21 |
Evp Events /wp-admin/edit.php?post_type=evpevents | 3.38 | 36.34 |
Evp Events Task /wp-admin/edit.php?post_type=evpevents_task | 3.38 | 28.09 |
Server storage [IO: ▲3.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wpbiker_form |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Event Volunteer
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲74 | 14.60 ▲0.32 | 1.75 ▲0.11 | 38.74 ▼4.76 |
Dashboard /wp-admin | 2,238 ▲58 | 5.52 ▼0.06 | 82.21 ▼14.13 | 39.68 ▼4.72 |
Posts /wp-admin/edit.php | 2,147 ▲47 | 2.00 ▲0.01 | 35.60 ▼0.43 | 36.64 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,565 ▲34 | 22.86 ▼0.18 | 633.87 ▼16.58 | 49.60 ▼2.56 |
Media Library /wp-admin/upload.php | 1,440 ▲37 | 4.27 ▲0.03 | 98.19 ▼6.39 | 46.43 ▼0.25 |
Evp Locations /wp-admin/edit.php?post_type=locations | 1,111 | 1.94 | 32.75 | 33.89 |
/wp-admin/vol_details.php | 26 | 0.42 | 0.08 | 18.09 |
Evp Events /wp-admin/edit.php?post_type=evpevents | 1,111 | 1.97 | 29.94 | 31.20 |
Evp Events Task /wp-admin/edit.php?post_type=evpevents_task | 1,111 | 1.94 | 30.64 | 26.73 |
Event Volunteers /wp-admin/evpentries.php | 26 | 0.42 | 0.08 | 6.25 |
Evp Settings /wp-admin/evpentries.php?page=evp_form_setting | 26 | 0.42 | 0.09 | 5.58 |
/wp-admin/entries_view.php | 26 | 0.42 | 0.07 | 5.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure failed, leaving 1 table in the database
- wp_wpbiker_form
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% 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 no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
No output text or server-side errors detected on direct access of PHP files
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
- > GET request to /wp-admin/vol_details.php
- > Network (severe)
wp-admin/vol_details.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/evpentries.php
- > Network (severe)
wp-admin/evpentries.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/evpentries.php?page=evp_form_setting
- > Network (severe)
wp-admin/evpentries.php?page=evp_form_setting - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/entries_view.php
- > Network (severe)
wp-admin/entries_view.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 to be fixed:
- Requires at least: Version not formatted correctly
event-volunteer/evp-event.php 85% from 13 tests
The primary PHP file in "Event Volunteer" version 1.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("event-volunteer.php" instead of "evp-event.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 319 characters long)
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
Success! There were no dangerous files found in this plugin10,263 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 2,196 | 7,297 | 7,592 |
PHP | 13 | 347 | 150 | 2,015 |
CSS | 9 | 41 | 49 | 656 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 51 | |
▷ Named functions | 51 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/images/icon (1).png | 0.50KB | 0.44KB | ▼ 13.40% |
assets/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
assets/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |