Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼1.54ms] Passed 4 tests
Analyzing server-side resources used by WHIZZ
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.38 ▼2.42 |
Dashboard /wp-admin | 3.39 ▲0.09 | 46.76 ▼5.21 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 52.01 ▲4.28 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 97.50 ▼2.82 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.32 ▲5.98 |
Plugins /wp-admin/admin.php?page=plugin-list | 3.48 | 35.98 |
WHIZZ Support /wp-admin/admin.php?page=whizz-support | 3.34 | 32.69 |
WHIZZ Features /wp-admin/admin.php?page=whizz-plugin | 3.32 | 33.40 |
Modal /wp-admin/admin.php?page=whizz_modal | 3.28 | 35.92 |
Users /wp-admin/admin.php?page=users-list | 3.39 | 36.86 |
Menus /wp-admin/admin.php?page=whizz_menus | 3.28 | 34.11 |
Colorize /wp-admin/admin.php?page=colorize_menus | 3.28 | 32.99 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 98 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
1_item_per_page |
theysaidso_admin_options |
widget_theysaidso_widget |
0_item_per_page |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WHIZZ
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,618 ▲872 | 15.80 ▲1.19 | 6.37 ▲4.30 | 26.46 ▼15.44 |
Dashboard /wp-admin | 2,828 ▲640 | 6.67 ▲1.76 | 153.59 ▲34.98 | 79.03 ▲33.10 |
Posts /wp-admin/edit.php | 2,342 ▲250 | 2.75 ▲0.72 | 68.05 ▲27.06 | 35.85 ▼0.16 |
Add New Post /wp-admin/post-new.php | 1,765 ▲222 | 23.69 ▲5.41 | 726.16 ▲73.19 | 35.15 ▼29.87 |
Media Library /wp-admin/upload.php | 1,631 ▲246 | 5.04 ▲0.81 | 127.57 ▲21.66 | 47.66 ▲5.81 |
Plugins /wp-admin/admin.php?page=plugin-list | 1,349 | 2.62 | 54.08 | 32.45 |
WHIZZ Support /wp-admin/admin.php?page=whizz-support | 1,398 | 2.44 | 43.58 | 42.19 |
WHIZZ Features /wp-admin/admin.php?page=whizz-plugin | 1,119 | 2.35 | 43.33 | 40.88 |
Modal /wp-admin/admin.php?page=whizz_modal | 1,180 | 2.42 | 41.98 | 28.11 |
Users /wp-admin/admin.php?page=users-list | 1,285 | 2.62 | 45.03 | 36.35 |
Menus /wp-admin/admin.php?page=whizz_menus | 1,057 | 2.46 | 45.60 | 28.24 |
Colorize /wp-admin/admin.php?page=colorize_menus | 1,292 | 3.12 | 59.65 | 29.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- 0_item_per_page
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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 fix the following items
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/whizz/colorize/index.php
- > /wp-content/plugins/whizz/plugins/plugin-list.php
- > /wp-content/plugins/whizz/plugins/index.php
- > /wp-content/plugins/whizz/users/delete-user.php
- > /wp-content/plugins/whizz/colorize/index_bar_menu.php
- > /wp-content/plugins/whizz/modal/index.php
- > /wp-content/plugins/whizz/users/user-list.php
- > /wp-content/plugins/whizz/colorize/index-rearrange.php
- > /wp-content/plugins/whizz/plugins/delete-plugin.php
- > /wp-content/plugins/whizz/users/index.php
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/whizz/center-body.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/whizz/index.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/whizz/center-content-support.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: wordpress dashboard, wordpress users, wordpress widgets, wordpress menus, wp-admin...
whizz/index.php 85% from 13 tests
The principal PHP file in "WHIZZ" v. 1.1.8 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("whizz.php" instead of "index.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 193 characters long)
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 plugin12,722 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 178 | 126 | 4,870 |
CSS | 15 | 4,921 | 372 | 4,800 |
PO File | 5 | 829 | 10 | 1,703 |
JavaScript | 6 | 1,348 | 108 | 1,310 |
SVG | 1 | 0 | 1 | 39 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
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 | 86 | |
▷ Named functions | 86 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
44 PNG files occupy 0.15MB with 0.07MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/plugin-medium-logo.png | 3.35KB | 0.50KB | ▼ 85.06% |
images/fixed-logo.png | 1.60KB | 0.70KB | ▼ 56.23% |
images/paint_brush.png | 4.35KB | 1.82KB | ▼ 58.20% |
images/logo_whizz.png | 2.45KB | 1.82KB | ▼ 25.92% |
images/latest-update.png | 0.71KB | 0.81KB | 0.00% |