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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼3.35ms] Passed 4 tests
Analyzing server-side resources used by Whimcu - WooCommerce Customer and Product Analytics
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.08 ▲3.14 |
Dashboard /wp-admin | 3.33 ▲0.03 | 49.91 ▼2.00 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 48.69 ▲1.39 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.03 ▼10.84 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.05 ▼1.95 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Whimcu - WooCommerce Customer and Product Analytics
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.65 ▼1.10 | 1.78 ▲0.14 | 44.53 ▲3.68 |
Dashboard /wp-admin | 2,210 ▲19 | 5.86 ▲0.81 | 99.07 ▼6.01 | 37.99 ▼3.68 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▼0.03 | 38.94 ▲3.45 | 36.68 ▲6.29 |
Add New Post /wp-admin/post-new.php | 1,537 ▲9 | 23.31 ▲0.27 | 650.80 ▼18.60 | 56.19 ▲0.14 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.17 ▼0.02 | 98.11 ▼18.79 | 42.96 ▼6.12 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 14 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in whimcu/assets to your readme.txt
whimcu/whimcu.php Passed 13 tests
The principal PHP file in "Whimcu - WooCommerce Customer and Product Analytics" v. 1.0.1 is loaded by WordPress automatically on each request
58 characters long description:
Customer and product analytics designed to maximize sales.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin334 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 82 | 362 | 333 |
Markdown | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 3.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 25 | |
▷ Static methods | 8 | 32.00% |
▷ Public methods | 21 | 84.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 16.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/whimcu_logo_16x16.png | 1.18KB | 0.81KB | ▼ 31.10% |