Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼2.63ms] Passed 4 tests
Server-side resources used by Formula04 WooCommerce Quick Window
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 49.72 ▲5.83 |
Dashboard /wp-admin | 3.43 ▲0.12 | 47.71 ▼5.44 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 51.74 ▲3.91 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 90.36 ▼14.81 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 41.66 ▲7.89 |
F04 Quick Window /wp-admin/options-general.php?page=form04wooquickwindow | 3.31 | 33.22 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Formula04 WooCommerce Quick Window
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.24 ▼1.00 | 1.84 ▲0.11 | 43.66 ▼4.13 |
Dashboard /wp-admin | 2,207 ▲25 | 5.81 ▼0.04 | 104.46 ▲3.30 | 38.56 ▼6.45 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.04 ▼0.10 | 39.75 ▼4.37 | 34.99 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,536 ▼6 | 23.30 ▲5.05 | 687.32 ▲67.04 | 62.51 ▲5.70 |
Media Library /wp-admin/upload.php | 1,386 ▲4 | 4.25 ▼0.11 | 106.99 ▲9.09 | 46.79 ▲2.11 |
F04 Quick Window /wp-admin/options-general.php?page=form04wooquickwindow | 891 | 2.05 | 21.58 | 25.66 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/formula04-woocommerce-quick-window/formula04_quickwindow.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/formula04-woocommerce-quick-window/formula04_quickwindow_template.php:5
- > 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
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: popup, pop up, woocommerce
formula04-woocommerce-quick-window/formula04_quickwindow.php 85% from 13 tests
The principal PHP file in "Formula04 WooCommerce Quick Window" v. 2.0.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 255 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("formula04-woocommerce-quick-window.php" instead of "formula04_quickwindow.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
Everything looks great! No dangerous files found in this plugin806 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 396 | 215 | 800 |
XML | 1 | 0 | 0 | 4 |
JavaScript | 1 | 1 | 2 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 67.00 |
▷ Minimum class complexity | 67.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 27 | |
▷ Static methods | 3 | 11.11% |
▷ Public methods | 27 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected