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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.23MB] [CPU: ▼0.59ms] Passed 4 tests
This is a short check of server-side resources used by WoW Guild Armory Roster
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 45.87 ▲4.51 |
Dashboard /wp-admin | 3.53 ▲0.23 | 48.93 ▼9.43 |
Posts /wp-admin/edit.php | 3.64 ▲0.29 | 52.42 ▲0.22 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.25 | 105.64 ▲4.52 |
Media Library /wp-admin/upload.php | 3.45 ▲0.23 | 39.91 ▲2.36 |
Settings /wp-admin/admin.php?page=wow-armory-table-options | 3.40 | 41.17 |
WoW Armory Table /wp-admin/admin.php?page=wow-armory-table | 3.45 | 33.95 |
Server storage [IO: ▲1.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 47 new files
Database: 4 new tables, 6 new options
New tables |
---|
wp_wow_armory_table_groups |
wp_wow_armory_table_classes |
wp_wow_armory_table_groups_mapping |
wp_wow_armory_table_progress_mapping |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WoW Guild Armory Roster: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,943 ▲157 | 14.01 ▼0.28 | 12.51 ▲10.61 | 42.72 ▼1.88 |
Dashboard /wp-admin | 2,225 ▲45 | 5.73 ▲0.15 | 88.94 ▼13.20 | 79.52 ▲36.54 |
Posts /wp-admin/edit.php | 2,153 ▲53 | 2.31 ▲0.29 | 37.37 ▼0.93 | 35.14 ▼0.37 |
Add New Post /wp-admin/post-new.php | 1,564 ▲38 | 23.08 ▲0.22 | 718.35 ▲73.36 | 40.04 ▼14.20 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.36 ▲0.18 | 114.18 ▲10.55 | 84.17 ▲39.06 |
Settings /wp-admin/admin.php?page=wow-armory-table-options | 3,291 | 3.32 | 117.78 | 34.95 |
WoW Armory Table /wp-admin/admin.php?page=wow-armory-table | 1,121 | 1.92 | 28.96 | 34.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 20 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wow-armory-table
- > Notice in wp-content/plugins/guild-armory-roster/WoWArmoryTable.php+232
Trying to access array offset on value of type bool
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
Please take a closer look at the following
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/guild-armory-roster/php/class.table.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/guild-armory-roster/WoWArmoryTable.php:20
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/guild-armory-roster/php/class.table.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/guild-armory-roster/php/class.table.php on line 4
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Frontend), #2 (Settings), #3 (Backend Table), #4 (Backend Buttons)
guild-armory-roster/WoWArmoryTable.php 85% from 13 tests
The main file in "WoW Guild Armory Roster" v. 0.5.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("guild-armory-roster.php" instead of "WoWArmoryTable.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
Success! There were no dangerous files found in this plugin7,858 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 1,978 | 7,004 | 6,291 |
PHP | 4 | 284 | 26 | 1,204 |
CSS | 2 | 44 | 29 | 208 |
PO File | 1 | 67 | 73 | 155 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
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 | 37.50 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 56 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 54 | 96.43% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.57% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG files should be compressed to save space and minimize bandwidth usage
16 PNG files occupy 0.10MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/icons_normal.png | 36.59KB | 12.55KB | ▼ 65.71% |
images/back_enabled.png | 1.35KB | 0.60KB | ▼ 55.69% |
icons/wow_icon_16x16.png | 3.59KB | 1.10KB | ▼ 69.39% |
icons/wow_icon_32x32.png | 5.67KB | 1.80KB | ▼ 68.25% |
images/forward_enabled.png | 1.35KB | 0.58KB | ▼ 56.96% |