Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/db-tagcloud-for-woocommerce/bisteinoff-tagcloud.php+61
Undefined index: prefix
Server metrics [RAM: ▼1.90MB] [CPU: ▼53.32ms] Passed 4 tests
Server-side resources used by DB Tagcloud for Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.36 | 4.71 ▼32.37 |
Dashboard /wp-admin | 2.12 ▼1.23 | 5.47 ▼49.94 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 5.83 ▼38.72 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 6.97 ▼90.56 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 6.19 ▼34.06 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 17 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_recent-posts |
db_tagcloud_cols |
db_tagcloud_underlined |
db_tagcloud_underlined_hover |
db_tagcloud_color |
db_tagcloud_fontweight |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
db_tagcloud_borderwidth |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for DB Tagcloud for Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.29 ▼1.00 | 4.90 ▲3.30 | 44.09 ▲0.94 |
Dashboard /wp-admin | 2,261 ▲73 | 5.01 ▲0.11 | 105.11 ▲4.11 | 37.78 ▼6.89 |
Posts /wp-admin/edit.php | 2,149 ▲60 | 2.31 ▲0.30 | 40.06 ▲4.91 | 31.54 ▼5.21 |
Add New Post /wp-admin/post-new.php | 1,549 ▲35 | 23.20 ▲5.56 | 696.53 ▲43.77 | 37.42 ▼11.91 |
Media Library /wp-admin/upload.php | 1,447 ▲65 | 4.55 ▲0.31 | 113.15 ▲16.04 | 48.03 ▲4.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/db-tagcloud-for-woocommerce/bisteinoff-tagcloud.php+61
Undefined index: prefix
- Zombie WordPress options were found after uninstall: 16 options
- db_tagcloud_underlined
- db_tagcloud_underlined_hover
- db_tagcloud_fontweight
- db_tagcloud_color_hover
- db_tagcloud_color
- db_tagcloud_cols
- db_tagcloud_background_hover
- db_tagcloud_borderwidth
- can_compress_scripts
- db_upgraded
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
3 plugin tags: seo, tagcloud, woocommerce
db-tagcloud-for-woocommerce/bisteinoff-tagcloud.php 85% from 13 tests
Analyzing the main PHP file in "DB Tagcloud for Woocommerce" version 1.7
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("db-tagcloud-for-woocommerce.php" instead of "bisteinoff-tagcloud.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 195 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected819 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 123 | 33 | 398 |
JavaScript | 4 | 122 | 37 | 210 |
CSS | 4 | 37 | 2 | 196 |
SVG | 2 | 0 | 0 | 15 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.07MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/example.png | 71.55KB | 41.62KB | ▼ 41.84% |