Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.12MB] [CPU: ▼3.89ms] Passed 4 tests
An overview of server-side resources used by WP Tournament Registration
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 38.27 ▼1.81 |
Dashboard /wp-admin | 3.43 ▲0.13 | 49.75 ▼2.80 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 51.47 ▼0.84 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 87.22 ▼10.10 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.24 ▲3.96 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 151 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wptournreg_participants |
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
wptournreg_db_version |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Tournament Registration
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.67 ▲0.46 | 1.70 ▼0.15 | 37.26 ▼7.23 |
Dashboard /wp-admin | 2,189 ▲9 | 5.52 ▼0.12 | 89.79 ▼11.35 | 39.03 ▼4.94 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.94 ▼0.00 | 40.47 ▲2.02 | 34.51 ▼0.36 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.16 ▼0.03 | 631.23 ▼46.32 | 61.23 ▲11.37 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.15 ▼0.05 | 98.90 ▼1.48 | 44.14 ▲2.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following
- 19× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/wp-tournament-registration/shortcodes/list.php
- > /wp-content/plugins/wp-tournament-registration/db/scheme.php
- > /wp-content/plugins/wp-tournament-registration/http/cache.php
- > /wp-content/plugins/wp-tournament-registration/assets/load.php
- > /wp-content/plugins/wp-tournament-registration/html/backlink.php
- > /wp-content/plugins/wp-tournament-registration/db/update.php
- > /wp-content/plugins/wp-tournament-registration/db/insert.php
- > /wp-content/plugins/wp-tournament-registration/html/backbutton.php
- > /wp-content/plugins/wp-tournament-registration/shortcodes/edit.php
- > /wp-content/plugins/wp-tournament-registration/shortcodes/form.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: tournament, hobby sport, events, competitions, registration...
wp-tournament-registration/wp-tournament-registration.php Passed 13 tests
This is the main PHP file of "WP Tournament Registration" version 1.2.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
35 characters long description:
Simple tournament registration form
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 plugin12,027 lines of code in 115 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 67 | 605 | 1,951 | 9,966 |
LESS | 3 | 130 | 158 | 727 |
PHP | 19 | 318 | 76 | 714 |
Sass | 1 | 42 | 0 | 285 |
CSS | 21 | 10 | 43 | 221 |
PO File | 2 | 33 | 41 | 95 |
Markdown | 1 | 11 | 0 | 12 |
SVG | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
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 | 21 | |
▷ Named functions | 21 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
16 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/jquery.tablesorter/css/images/bootstrap-black-unsorted.png | 0.27KB | 0.28KB | 0.00% |
assets/jquery.tablesorter/css/images/dropbox-asc.png | 0.20KB | 0.21KB | 0.00% |
assets/jquery.tablesorter/css/images/metro-white-desc.png | 0.17KB | 0.22KB | 0.00% |
assets/jquery.tablesorter/css/images/first.png | 0.63KB | 0.71KB | 0.00% |
assets/jquery.tablesorter/css/images/metro-black-asc.png | 0.15KB | 0.21KB | 0.00% |