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
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼0.63ms] Passed 4 tests
Server-side resources used by WooCommerce Racoon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.01 | 38.31 ▲2.59 |
Dashboard /wp-admin | 3.31 ▲0.00 | 42.90 ▼4.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.99 ▲2.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.42 ▼2.62 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.63 ▲3.44 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by WooCommerce Racoon
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲71 | 13.73 ▼1.03 | 1.67 ▼0.53 | 43.82 ▼6.60 |
Dashboard /wp-admin | 2,212 ▲21 | 5.80 ▲0.94 | 95.36 ▼5.77 | 42.60 ▲1.98 |
Posts /wp-admin/edit.php | 2,095 ▲6 | 2.01 ▼0.03 | 39.27 ▲2.13 | 37.56 ▲5.45 |
Add New Post /wp-admin/post-new.php | 1,539 ▲3 | 23.42 ▲0.27 | 636.82 ▲2.29 | 53.83 ▲5.02 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.30 ▲0.09 | 94.86 ▼4.05 | 41.35 ▼1.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% 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
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function status_header() in wp-content/plugins/woo-racoon/uninstall.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: ecommerce, racoon, woocommerce config, woocommerce
woo-racoon/woocommerce-racoon.php 85% from 13 tests
The main PHP script in "WooCommerce Racoon" version 1.3 is automatically included on every request by WordPress
You should first fix the following items:
- Requires at least: Required version must match the one declared in readme.txt ("5.0" instead of "3.6.0")
- Main file name: Name the main plugin file the same as the plugin slug ("woo-racoon.php" instead of "woocommerce-racoon.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected782 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 209 | 310 | 505 |
PO File | 1 | 60 | 60 | 185 |
Markdown | 1 | 33 | 0 | 57 |
CSS | 1 | 5 | 0 | 35 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 1.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1.00 |
Average method complexity | 1.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 1.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected