Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.20MB] [CPU: ▼8.23ms] Passed 4 tests
This is a short check of server-side resources used by WoW Progress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 49.34 ▲6.65 |
Dashboard /wp-admin | 3.52 ▲0.17 | 46.31 ▼25.09 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 47.61 ▼1.14 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 81.83 ▼7.58 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.82 ▲0.89 |
WoW Progress /wp-admin/options-general.php?page=wowprogress | 3.49 | 31.49 |
Server storage [IO: ▲19.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 82 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
widget_wowprogress_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
wowprogress_options |
Browser metrics Passed 4 tests
A check of browser resources used by WoW Progress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,002 ▲215 | 14.45 ▲0.18 | 18.00 ▲15.80 | 43.39 ▼3.12 |
Dashboard /wp-admin | 2,202 ▲21 | 5.63 ▼0.09 | 105.18 ▼14.29 | 44.44 ▲0.30 |
Posts /wp-admin/edit.php | 2,119 ▲19 | 2.72 ▲0.75 | 52.09 ▲12.77 | 38.14 ▲3.82 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.50 ▲0.37 | 667.25 ▲8.46 | 63.12 ▲15.94 |
Media Library /wp-admin/upload.php | 1,416 ▲13 | 5.10 ▲0.94 | 116.73 ▲18.99 | 40.65 ▼1.26 |
WoW Progress /wp-admin/options-general.php?page=wowprogress | 1,317 | 2.15 | 37.30 | 31.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_wowprogress_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/wow-progress/wowprogress.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wow-progress/inc/admin.php:8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wowprogress
- > Network (severe)
light.css/?ver=1.20.0 - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
wow-progress/wowprogress.php 85% from 13 tests
The principal PHP file in "WoW Progress" v. 1.20.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wow-progress.php" instead of "wowprogress.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin1,585 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 32 | 0 | 952 |
PHP | 2 | 120 | 51 | 458 |
CSS | 4 | 27 | 3 | 119 |
PO File | 1 | 13 | 13 | 51 |
JavaScript | 1 | 2 | 0 | 5 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 55.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 3.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 44.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 | 20 | |
▷ Static methods | 7 | 35.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 15 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
71 PNG files occupy 19.41MB with 8.93MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/raids/wb_vanilla.png | 296.26KB | 113.62KB | ▼ 61.65% |
images/raids/atbt.png | 297.20KB | 133.75KB | ▼ 55.00% |
images/exp/dragonflight.png | 17.24KB | 17.65KB | 0.00% |
images/raids/icc.png | 315.82KB | 151.67KB | ▼ 51.98% |
images/raids/hof.png | 402.76KB | 155.41KB | ▼ 61.42% |