Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.02ms] Passed 4 tests
This is a short check of server-side resources used by Colorful Tag Cloud
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 37.37 ▼0.99 |
Dashboard /wp-admin | 3.34 ▲0.03 | 48.89 ▼0.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 51.67 ▲3.06 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.26 ▲3.17 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.11 ▼2.03 |
Colorful Tag Cloud /wp-admin/options-general.php?page=colorful-tag-cloud-options | 3.23 | 33.10 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
colorful_tag_cloud_type |
widget_theysaidso_widget |
colorful_tag_cloud_color_code |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Colorful Tag Cloud
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.31 ▼0.35 | 1.84 ▲0.27 | 47.23 ▲2.39 |
Dashboard /wp-admin | 2,196 ▲16 | 5.63 ▼0.04 | 81.22 ▼10.63 | 40.31 ▼3.77 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 1.97 ▼0.03 | 39.19 ▲1.74 | 37.72 ▼3.34 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.57 ▲0.41 | 666.15 ▲3.79 | 62.89 ▲8.87 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.19 ▼0.02 | 98.90 ▼3.90 | 45.96 ▲3.20 |
Colorful Tag Cloud /wp-admin/options-general.php?page=colorful-tag-cloud-options | 833 | 2.00 | 24.38 | 27.25 |
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
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- colorful_tag_cloud_color_code
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- colorful_tag_cloud_type
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/colorful-tag-cloud/options.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/colorful-tag-cloud/colorful-tag-cloud.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: color, tag cloud
colorful-tag-cloud/colorful-tag-cloud.php Passed 13 tests
Analyzing the main PHP file in "Colorful Tag Cloud" version 1.0.9
71 characters long description:
Colorful Your Blog's 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 plugin171 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 17 | 25 | 97 |
PO File | 2 | 18 | 18 | 74 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.13 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
There are no PNG files in this plugin