Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.13ms] Passed 4 tests
Server-side resources used by Fox009 Color Tag Cloud
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 33.85 ▼5.37 |
Dashboard /wp-admin | 3.32 ▲0.02 | 42.17 ▼7.17 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.06 ▲2.21 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 81.73 ▼14.59 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.91 ▼1.39 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_fox009_color_tag_cloud |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Fox009 Color Tag Cloud
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.61 ▼0.75 | 8.68 ▲6.85 | 41.24 ▼3.33 |
Dashboard /wp-admin | 2,210 ▲22 | 5.91 ▲0.02 | 113.13 ▲8.80 | 42.30 ▼0.06 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.01 | 39.59 ▼0.03 | 34.63 ▼1.07 |
Add New Post /wp-admin/post-new.php | 1,518 ▼1 | 17.73 ▼5.34 | 679.30 ▲23.02 | 58.93 ▲7.41 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.23 ▲0.03 | 99.05 ▼15.95 | 42.59 ▼7.06 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_fox009_color_tag_cloud
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)
Everything seems fine, however this is by no means 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
The following issues need your attention
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: new_instance in wp-content/plugins/fox009-color-tag-cloud/includes/update.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_terms() in wp-content/plugins/fox009-color-tag-cloud/includes/tag_cloud.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fox009-color-tag-cloud/includes/select_options.php:4
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/fox009-color-tag-cloud/includes/widget.php:5
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/fox009-color-tag-cloud/includes/update.php on line 4
- > PHP Notice
Undefined variable: args in wp-content/plugins/fox009-color-tag-cloud/includes/tag_cloud.php on line 2
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/fox009-color-tag-cloud/includes/tag_cloud.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/fox009-color-tag-cloud/includes/add_control.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_parse_args() in wp-content/plugins/fox009-color-tag-cloud/includes/form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/fox009-color-tag-cloud/includes/settings.php:6
- > PHP Notice
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: There are too many tags (11 tag instead of maximum 10)
fox009-color-tag-cloud/fox009-color-tag-cloud.php Passed 13 tests
Analyzing the main PHP file in "Fox009 Color Tag Cloud" version 1.0.2
44 characters long description:
A beautiful, dynamic and colorful tag cloud.
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
Everything looks great! No dangerous files found in this plugin1,536 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 91 | 29 | 1,084 |
CSS | 2 | 45 | 0 | 408 |
JavaScript | 2 | 1 | 0 | 44 |
PHP code Passed 2 tests
An short overview of 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.56 |
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 | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 9 | 90.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 10.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/gradient_top_bottom.png | 2.81KB | 0.30KB | ▼ 89.44% |
assets/images/gradient_center.png | 2.83KB | 0.27KB | ▼ 90.46% |
assets/images/gradient_left_right.png | 2.83KB | 0.40KB | ▼ 85.87% |