Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.94MB] [CPU: ▼59.16ms] Passed 4 tests
This is a short check of server-side resources used by Tiny WoW colors
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.40 | 5.29 ▼38.38 |
Dashboard /wp-admin | 2.12 ▼1.27 | 8.32 ▼60.15 |
Posts /wp-admin/edit.php | 2.12 ▼1.28 | 6.80 ▼43.71 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.81 | 8.43 ▼94.39 |
Media Library /wp-admin/upload.php | 2.12 ▼1.15 | 9.71 ▼27.57 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Tiny WoW colors
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲79 | 14.72 ▲0.44 | 2.06 ▼0.56 | 46.01 ▲3.14 |
Dashboard /wp-admin | 2,213 ▲33 | 5.63 ▼0.02 | 89.59 ▲0.34 | 37.69 ▼8.66 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 1.99 ▼0.00 | 39.32 ▼1.54 | 35.92 ▲4.35 |
Add New Post /wp-admin/post-new.php | 1,541 ▲10 | 23.19 ▼0.16 | 666.66 ▼29.54 | 56.49 ▼6.25 |
Media Library /wp-admin/upload.php | 1,418 ▲18 | 4.11 ▼0.02 | 108.28 ▼8.13 | 46.82 ▼2.49 |
Tiny WoW /wp-admin/tinywowcolor.php | 26 | 0.42 | 0.08 | 14.83 |
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
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the tinywow_admin_css handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 take a closer look at the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/tiny-wow-colors/tinywowcolor.php:31
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/tinywowcolor.php
- > Network (severe)
wp-admin/tinywowcolor.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (No screenshot actually)
tiny-wow-colors/tinywowcolor.php 85% from 13 tests
This is the main PHP file of "Tiny WoW colors" version 1.0.3, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("tiny-wow-colors.php" instead of "tinywowcolor.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 252 characters long)
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 plugin852 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 92 | 153 | 540 |
PHP | 1 | 42 | 39 | 218 |
PO File | 2 | 48 | 134 | 92 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/rare.png | 1.33KB | 1.34KB | 0.00% |
js/kwyoutube.png | 0.58KB | 0.63KB | 0.00% |
js/legend.png | 1.33KB | 1.19KB | ▼ 10.28% |
js/normal.png | 1.27KB | 1.17KB | ▼ 7.63% |
js/artefact.png | 1.28KB | 1.24KB | ▼ 2.76% |