Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲5.01MB] [CPU: ▲19.78ms] 75% from 4 tests
An overview of server-side resources used by Guild Raid Progression for WoW and Raider IO
The following require your attention
- Extra RAM: The extra memory usage must be under 5MB (currently 5.01MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.89 ▲5.42 | 60.62 ▲20.64 |
Dashboard /wp-admin | 8.91 ▲5.56 | 81.40 ▲21.22 |
Posts /wp-admin/edit.php | 8.91 ▲5.55 | 83.80 ▲38.50 |
Add New Post /wp-admin/post-new.php | 9.40 ▲3.51 | 106.48 ▲9.18 |
Media Library /wp-admin/upload.php | 8.91 ▲5.68 | 62.30 ▲28.09 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 8.91 | 60.98 |
Server storage [IO: ▲3.89MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 234 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
fs_accounts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
fs_debug_mode |
fs_active_plugins |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Guild Raid Progression for WoW and Raider IO
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,108 ▲361 | 15.15 ▲0.52 | 5.50 ▲3.85 | 27.95 ▼15.19 |
Dashboard /wp-admin | 2,405 ▲227 | 6.40 ▲0.71 | 124.25 ▲8.01 | 44.73 ▲0.99 |
Posts /wp-admin/edit.php | 2,334 ▲234 | 3.52 ▲1.55 | 56.08 ▲19.69 | 39.10 ▲5.49 |
Add New Post /wp-admin/post-new.php | 1,564 ▲37 | 22.17 ▼0.88 | 691.96 ▼0.49 | 38.98 ▼13.77 |
Media Library /wp-admin/upload.php | 1,473 ▲70 | 4.31 ▲0.16 | 90.66 ▼3.96 | 44.77 ▲4.08 |
Freemius Debug [v.2.6.0] /wp-admin/admin.php?page=freemius | 1,312 | 3.31 | 48.99 | 30.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/guild-raid-progression-for-wow-and-raider-io/freemius/includes/class-freemius.php+8546
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- fs_active_plugins
- widget_recent-comments
- fs_accounts
- fs_debug_mode
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/guild-raid-progression-for-wow-and-raider-io/public/partials/raid-progression-for-raider-io-public-display.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/guild-raid-progression-for-wow-and-raider-io/admin/partials/raid-progression-for-raider-io-admin-sidebar.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/guild-raid-progression-for-wow-and-raider-io/admin/partials/raid-progression-for-raider-io-admin-display.php:21
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: wow, guild, raid progression, world of warcraft, raid
guild-raid-progression-for-wow-and-raider-io/raid-progression-for-raider-io.php 85% from 13 tests
The principal PHP file in "Guild Raid Progression for WoW and Raider IO" v. 1.0.4 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("guild-raid-progression-for-wow-and-raider-io.php" instead of "raid-progression-for-raider-io.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected35,376 lines of code in 154 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 130 | 8,235 | 17,842 | 34,070 |
Sass | 2 | 42 | 33 | 894 |
JavaScript | 7 | 43 | 66 | 397 |
CSS | 15 | 0 | 0 | 15 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,096)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 77.36 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,096.00 |
Average method complexity | 4.49 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 2 | 3.45% |
▷ Concrete classes | 56 | 96.55% |
▷ Final classes | 0 | 0.00% |
Methods | 1,319 | |
▷ Static methods | 201 | 15.24% |
▷ Public methods | 914 | 69.29% |
▷ Protected methods | 17 | 1.29% |
▷ Private methods | 388 | 29.42% |
Functions | 105 | |
▷ Named functions | 105 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 146 | |
▷ Global constants | 99 | 67.81% |
▷ Class constants | 47 | 32.19% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
4 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/img/discord-logo.png | 2.35KB | 1.00KB | ▼ 57.64% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
admin/img/sw-full-logo.png | 62.43KB | 26.24KB | ▼ 57.97% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |