Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼14.85ms] Passed 4 tests
Analyzing server-side resources used by SportsPress for Volleyball
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 40.39 ▼8.66 |
Dashboard /wp-admin | 3.42 ▲0.12 | 49.54 ▼12.29 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 47.13 ▼11.13 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.86 ▼27.31 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 44.36 ▼0.92 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 3.35 | 58.61 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for SportsPress for Volleyball
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 14.74 ▲0.15 | 2.19 ▼0.01 | 44.43 ▼27.22 |
Dashboard /wp-admin | 2,237 ▲49 | 4.86 ▼1.04 | 103.36 ▼31.17 | 41.38 ▼18.68 |
Posts /wp-admin/edit.php | 2,128 ▲36 | 2.04 ▲0.04 | 37.15 ▼3.89 | 40.61 ▼1.95 |
Add New Post /wp-admin/post-new.php | 1,555 ▲163 | 20.96 ▲2.59 | 728.55 ▼874.75 | 57.72 ▼16.15 |
Media Library /wp-admin/upload.php | 1,421 ▲33 | 4.23 ▼0.01 | 178.57 ▲34.58 | 90.09 ▲36.35 |
Install Plugins /wp-admin/themes.php?page=tgmpa-install-plugins | 983 | 2.05 | 58.54 | 54.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function did_action() in wp-content/plugins/sportspress-for-volleyball/includes/class-tgm-plugin-activation.php:2109
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
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 uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
sportspress-for-volleyball/sportspress-for-volleyball.php 92% from 13 tests
The primary PHP file in "SportsPress for Volleyball" version 0.9 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin1,941 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 510 | 1,660 | 1,873 |
JavaScript | 1 | 3 | 1 | 40 |
CSS | 1 | 4 | 0 | 28 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 44.12 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 206.00 |
Average method complexity | 4.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 110 | |
▷ Static methods | 7 | 6.36% |
▷ Public methods | 85 | 77.27% |
▷ Protected methods | 23 | 20.91% |
▷ Private methods | 2 | 1.82% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 3 | 50.00% |
▷ Class constants | 3 | 50.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
No PNG files were detected