Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼9.20ms] Passed 4 tests
A check of server-side resources used by Cool Tag Cloud
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 46.90 ▲1.68 |
Dashboard /wp-admin | 3.32 ▼0.03 | 46.64 ▼19.79 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 46.20 ▼1.64 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 84.13 ▼13.51 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.24 ▼1.86 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 24 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_cool_tag_cloud |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Cool Tag Cloud
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲33 | 14.34 ▼0.05 | 1.87 ▲0.17 | 39.55 ▼3.71 |
Dashboard /wp-admin | 2,198 ▲27 | 5.65 ▲0.04 | 99.87 ▲9.08 | 41.46 ▼0.29 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.05 ▲0.06 | 33.85 ▼3.37 | 39.59 ▲2.37 |
Add New Post /wp-admin/post-new.php | 1,547 ▲16 | 23.43 ▲0.20 | 668.30 ▼13.07 | 52.73 ▼7.68 |
Media Library /wp-admin/upload.php | 1,394 ▼6 | 4.23 ▲0.06 | 98.81 ▼14.77 | 44.72 ▼3.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_cool_tag_cloud
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/cool-tag-cloud/cool-tag-cloud.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Tags: There are too many tags (23 tag instead of maximum 10)
cool-tag-cloud/cool-tag-cloud.php Passed 13 tests
"Cool Tag Cloud" version 2.29's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
39 characters long description:
A simple, yet very beautiful tag cloud.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,721 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 37 | 0 | 932 |
PHP | 1 | 103 | 36 | 789 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 92.00 |
▷ Minimum class complexity | 92.00 |
▷ Maximum class complexity | 92.00 |
Average method complexity | 19.20 |
▷ 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 | 9 | |
▷ Named functions | 9 | 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
20 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/purple-right.png | 0.85KB | 0.72KB | ▼ 16.23% |
inc/images/green-left.png | 0.90KB | 0.75KB | ▼ 15.90% |
inc/images/red-right.png | 0.87KB | 0.73KB | ▼ 15.62% |
inc/images/default-left.png | 1.02KB | 0.87KB | ▼ 14.45% |
inc/images/lime-right.png | 0.92KB | 0.79KB | ▼ 14.36% |