Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Error in wp-content/plugins/ja-wowtoken/index.php+198
Uncaught Error: Cannot use object of type WP_Error as array in wp-content/plugins/ja-wowtoken/index.php:198
Stack trace:
#0 wp-includes/class-wp-hook.php(312): {closure}()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(720): do_action()
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.90ms] Passed 4 tests
A check of server-side resources used by ja WowToken
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 43.92 ▲4.95 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.72 ▼4.88 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 46.77 ▼4.69 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 89.84 ▼1.96 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 34.30 ▼4.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_jawowtoken_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by ja WowToken
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲56 | 13.20 ▼1.18 | 1.72 ▼0.03 | 42.93 ▼0.27 |
Dashboard /wp-admin | 2,206 ▲15 | 4.88 ▼1.02 | 106.69 ▲4.26 | 41.85 ▲1.15 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.02 ▼0.07 | 40.62 ▲4.36 | 36.47 ▲4.50 |
Add New Post /wp-admin/post-new.php | 1,542 ▲25 | 18.35 ▲0.75 | 600.43 ▼95.08 | 60.78 ▲7.69 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.30 ▲0.12 | 92.23 ▼6.29 | 45.02 ▲1.77 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_jawowtoken_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/ja-wowtoken/index.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
7 plugin tags: wowtoken, wow, guild, widget, plugin...
ja-wowtoken/index.php 85% from 13 tests
The main file in "ja WowToken" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 166 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("ja-wowtoken.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin162 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 43 | 149 |
CSS | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 17.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 4.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 0 | 0.00% |
▷ Public methods | 4 | 80.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 20.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
goldicon.png | 0.63KB | 0.54KB | ▼ 13.64% |