Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.45ms] Passed 4 tests
Analyzing server-side resources used by StatsFC Player Rater
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 37.84 ▼4.04 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.25 ▼7.24 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 50.24 ▲5.03 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 95.12 ▲9.96 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.87 ▲0.45 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_statsfc_playerrater |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for StatsFC Player Rater
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 14.42 ▼0.23 | 1.96 ▼0.01 | 40.94 ▼3.65 |
Dashboard /wp-admin | 2,206 ▲18 | 5.89 ▼0.17 | 106.69 ▼13.55 | 42.55 ▼4.14 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.04 | 39.34 ▲3.12 | 35.06 ▲3.15 |
Add New Post /wp-admin/post-new.php | 1,536 ▲22 | 23.29 ▲5.75 | 625.94 ▼88.96 | 52.82 ▼3.23 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.01 | 97.76 ▼12.84 | 40.73 ▼8.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_statsfc_playerrater
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 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/statsfc-player-rater/statsfc-player-rater.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Donate link: Please fix this invalid URI: ""
- Tags: There are too many tags (11 tag instead of maximum 10)
statsfc-player-rater/statsfc-player-rater.php Passed 13 tests
The primary PHP file in "StatsFC Player Rater" version 2.0.1 is used by WordPress to initiate all plugin functionality
20 characters long description:
StatsFC Player Rater
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin582 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 76 | 9 | 299 |
PHP | 1 | 37 | 56 | 185 |
CSS | 1 | 20 | 0 | 98 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There were not PNG files found in your plugin