Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.01ms] Passed 4 tests
This is a short check of server-side resources used by Woocommerce Upsell / cross sell Popup plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.53 ▼4.96 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.95 ▼19.91 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.17 ▲0.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.90 ▼10.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.09 ▼4.44 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 38 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Woocommerce Upsell / cross sell Popup plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.22 ▼0.13 | 1.79 ▲0.11 | 41.00 ▼1.33 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.02 | 93.96 ▼1.05 | 40.78 ▼3.00 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.16 ▲0.21 | 39.95 ▲2.32 | 35.57 ▼0.91 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.49 ▲0.37 | 663.04 ▼28.91 | 57.04 ▲4.05 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.11 ▼0.07 | 97.69 ▼3.12 | 44.19 ▲1.83 |
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 detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
very-simple-woocommerce-upsell-popup/index.php 77% from 13 tests
The main PHP script in "Woocommerce Upsell / cross sell Popup plugin" version 1.8.9 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 143 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("very-simple-woocommerce-upsell-popup.php" instead of "index.php")
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0.0" instead of "6.0.0")
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 plugin3,581 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 1,003 | 83 | 3,314 |
JavaScript | 11 | 40 | 7 | 199 |
CSS | 4 | 12 | 1 | 68 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
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 | 30 | |
▷ Named functions | 30 | 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
5 PNG files occupy 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/images/screenshort.png | 95.92KB | 36.15KB | ▼ 62.32% |
templates/images/tick-mark.png | 1.33KB | 0.95KB | ▼ 28.42% |
templates/images/placeholder.png | 13.63KB | 5.34KB | ▼ 60.80% |
templates/images/tick-mark1.png | 1.87KB | 1.33KB | ▼ 28.91% |
templates/images/color.png | 23.61KB | 13.65KB | ▼ 42.18% |