Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
You still need to fix the following installer errors
- Install procedure had errors
- > Parse error in wp-content/plugins/world-of-warcraft-pvp-widget/wow-pvp-widget.php+266
syntax error, unexpected end of file
Server metrics [RAM: ▼0.00MB] [CPU: ▼268.76ms] Passed 4 tests
An overview of server-side resources used by World of Warcraft PvP Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.11 | 41.82 ▲21.96 |
Dashboard /wp-admin | 3.06 ▲0.00 | 43.83 ▼6.27 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 42.69 ▲5.67 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 88.35 ▼1,067.97 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 33.20 ▼6.45 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for World of Warcraft PvP Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,673 ▲67 | 15.77 ▲0.27 | 9.16 ▲1.45 | 50.89 ▲4.66 |
Dashboard /wp-admin | 2,927 ▲77 | 5.89 ▲0.13 | 136.99 ▲4.62 | 100.59 ▲7.63 |
Posts /wp-admin/edit.php | 2,703 ▼3 | 2.70 ▲0.02 | 64.20 ▼1.14 | 90.04 ▲2.13 |
Add New Post /wp-admin/post-new.php | 1,653 ▼0 | 18.69 ▼0.06 | 352.91 ▼16.05 | 107.48 ▼3.80 |
Media Library /wp-admin/upload.php | 1,772 ▼0 | 5.02 ▲0.03 | 141.00 ▼16.77 | 113.20 ▼3.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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 items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/world-of-warcraft-pvp-widget/snippets.php
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/world-of-warcraft-pvp-widget/snippets.php on line 54
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/world-of-warcraft-pvp-widget/snippets.php on line 2
- > PHP Notice
Undefined variable: array in wp-content/plugins/world-of-warcraft-pvp-widget/snippets.php on line 54
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/world-of-warcraft-pvp-widget/wow-pvp-widget.php on line 266
- > PHP Notice
Undefined variable: array in wp-content/plugins/world-of-warcraft-pvp-widget/snippets.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2 in world-of-warcraft-pvp-widget/assets to your readme.txt
world-of-warcraft-pvp-widget/wow-pvp-widget.php 92% from 13 tests
The primary PHP file in "World of Warcraft PvP Widget" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("world-of-warcraft-pvp-widget.php" instead of "wow-pvp-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected292 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 61 | 16 | 286 |
CSS | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.72 |
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 | 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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin