Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/color-bg-tag-cloud/color-bg-tag-cloud.php+494
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.79ms] Passed 4 tests
An overview of server-side resources used by Color Bg Tag Cloud
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.81 ▼43.05 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.59 ▼42.25 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.66 ▼46.24 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.72 ▼83.62 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.54 ▼27.30 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_color_bg_tag_cloud |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Color Bg Tag Cloud
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 14.48 ▲0.05 | 1.85 ▼0.39 | 41.20 ▼1.03 |
Dashboard /wp-admin | 2,206 ▲15 | 5.85 ▲0.94 | 105.83 ▲3.42 | 38.19 ▼2.79 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.06 ▲0.07 | 39.80 ▼4.85 | 34.41 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,539 ▲3 | 23.41 ▲0.32 | 725.86 ▲56.88 | 60.97 ▲8.53 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.15 ▼0.01 | 95.77 ▼3.26 | 42.99 ▼3.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/color-bg-tag-cloud/color-bg-tag-cloud.php+494
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_color_bg_tag_cloud
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/color-bg-tag-cloud/color-bg-tag-cloud.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: Please add images for these screenshots: #1 (Random Style), #2 (Blue Style), #3 (Green Style), #4 (Black Style), #5 (Red Style)
- Tags: Too many tags (23 tag instead of maximum 10); only the first 5 tags are used in your directory listing
color-bg-tag-cloud/color-bg-tag-cloud.php Passed 13 tests
The principal PHP file in "Color Bg Tag Cloud" v. 1.10 is loaded by WordPress automatically on each request
39 characters long description:
A simple, yet very beautiful tag cloud.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin948 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 13 | 449 |
PO File | 4 | 208 | 252 | 426 |
CSS | 1 | 10 | 0 | 73 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 70.00 |
▷ Minimum class complexity | 70.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 14.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 100.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 18.67KB | 8.74KB | ▼ 53.22% |
screenshot-5.png | 20.58KB | 8.98KB | ▼ 56.38% |
screenshot-3.png | 23.31KB | 8.92KB | ▼ 61.72% |
screenshot-2.png | 20.16KB | 8.87KB | ▼ 56.00% |
screenshot-1.png | 25.98KB | 9.67KB | ▼ 62.78% |