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
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.69ms] Passed 4 tests
Analyzing server-side resources used by Blizzard Quotes
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.20 ▲0.35 |
Dashboard /wp-admin | 3.34 ▲0.03 | 49.54 ▲3.05 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 46.66 ▼7.14 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.74 ▼17.15 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.31 ▲1.20 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 15 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
bluepost_link_color |
widget_recent-posts |
bluepost_radius |
bluepost_bg_repeat |
bluepost_bg_color |
bluepost_text_color |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Blizzard Quotes
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,842 ▲107 | 13.74 ▼0.63 | 4.87 ▲2.93 | 43.66 ▼8.71 |
Dashboard /wp-admin | 2,231 ▲46 | 5.25 ▼0.61 | 113.80 ▲5.39 | 87.52 ▲45.59 |
Posts /wp-admin/edit.php | 2,134 ▲45 | 2.29 ▲0.30 | 38.76 ▼4.21 | 37.29 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,548 ▲27 | 23.14 ▲0.00 | 692.34 ▲66.19 | 38.40 ▼17.56 |
Media Library /wp-admin/upload.php | 1,425 ▲43 | 4.44 ▲0.20 | 115.71 ▲16.39 | 45.65 ▲2.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 15 options in the database
- widget_recent-comments
- bluepost_postedby_link_color
- theysaidso_admin_options
- bluepost_bg_repeat
- can_compress_scripts
- bluepost_bg_scroll
- bluepost_link_color
- bluepost_radius
- db_upgraded
- bluepost_bg_color
- ...
Smoke tests 75% 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blizzard-quotes/blizzard-quotes.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/blizzard-quotes/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: A description for screenshot #3 is required in blizzard-quotes/assets to your readme.txt
blizzard-quotes/blizzard-quotes.php Passed 13 tests
"Blizzard Quotes" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
72 characters long description:
Add a Blizzard blue quote to your post or page using a simple shortcode.
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
Success! There were no dangerous files found in this plugin313 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 6 | 17 | 227 |
JavaScript | 2 | 12 | 5 | 41 |
CSS | 2 | 3 | 2 | 25 |
XML | 3 | 0 | 0 | 20 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/plumeria.png | 2.82KB | 1.54KB | ▼ 45.33% |
img/bluequote.png | 1.19KB | 0.15KB | ▼ 87.23% |