Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/rated90-player-rankings/r90playerwidget.php+356
Function create_function() is deprecated
Server metrics [RAM: ▼1.85MB] [CPU: ▼52.88ms] Passed 4 tests
Analyzing server-side resources used by Rated90 Player Rankings
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.15 ▼1.32 | 4.65 ▼32.68 |
Dashboard /wp-admin | 2.17 ▼1.18 | 5.38 ▼52.77 |
Posts /wp-admin/edit.php | 2.17 ▼1.19 | 6.52 ▼40.66 |
Add New Post /wp-admin/post-new.php | 2.17 ▼3.72 | 5.52 ▼85.40 |
Media Library /wp-admin/upload.php | 2.17 ▼1.06 | 4.77 ▼25.70 |
Rated90 Players /wp-admin/options-general.php?page=rated90_player_rankings | 2.17 | 5.38 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
rated90_player_rankings_powered |
widget_recent-posts |
rated90_player_rankings_links |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_rated90_player_rankings |
Browser metrics Passed 4 tests
Rated90 Player Rankings: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.17 ▼0.42 | 1.66 ▲0.02 | 105.47 ▲63.38 |
Dashboard /wp-admin | 2,199 ▲25 | 5.52 ▼0.05 | 83.43 ▼6.60 | 38.03 ▼0.71 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 1.98 ▼0.01 | 35.37 ▲0.20 | 33.54 ▼2.75 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.99 ▼0.58 | 590.86 ▼40.47 | 57.71 ▼0.15 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.22 ▲0.02 | 95.53 ▼2.47 | 44.65 ▲2.68 |
Rated90 Players /wp-admin/options-general.php?page=rated90_player_rankings | 784 | 2.00 | 26.39 | 31.01 |
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
These items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/rated90-player-rankings/r90playerwidget.php+356
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 9 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- rated90_player_rankings_powered
- widget_rated90_player_rankings
- widget_recent-comments
- rated90_player_rankings_links
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=rated90_player_rankings
- > Deprecated in wp-content/plugins/rated90-player-rankings/r90playerwidget.php+356
Function create_function() is deprecated
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 server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rated90-player-rankings/r90playerwidget.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Example of the widget in a narrow sidebar.), #2 (Example of the widget in a full page sidebar. It scales!)
- Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
rated90-player-rankings/r90playerwidget.php 92% from 13 tests
The main PHP script in "Rated90 Player Rankings" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rated90-player-rankings.php" instead of "r90playerwidget.php")
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
Good job! No executable or dangerous file extensions detected396 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 14 | 330 |
CSS | 1 | 0 | 1 | 66 |
PHP code Passed 2 tests
Analyzing 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.34 |
Average class complexity | 22.00 |
▷ Minimum class complexity | 22.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 6.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rated90.widget.thead.png | 0.16KB | 0.15KB | ▼ 1.86% |
images/rated90.widget.num.bg.png | 0.60KB | 0.84KB | 0.00% |
images/rated90.logo.png | 9.52KB | 4.60KB | ▼ 51.68% |
images/rated90.widget.footer.png | 0.14KB | 0.15KB | 0.00% |
images/rated90.widget.slice.png | 0.15KB | 0.29KB | 0.00% |