Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.28ms] Passed 4 tests
A check of server-side resources used by Colored Tag Cloud Listing
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 37.75 ▼2.15 |
Dashboard /wp-admin | 3.41 ▲0.11 | 49.99 ▼2.33 |
Posts /wp-admin/edit.php | 3.53 ▲0.17 | 44.31 ▼4.68 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 81.16 ▼7.96 |
Media Library /wp-admin/upload.php | 3.34 ▲0.11 | 34.41 ▼0.83 |
Colored Tag Cloud Listing /wp-admin/options-general.php?page=colored-tag-cloud-listing | 3.30 | 31.04 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
jpctcl |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Colored Tag Cloud Listing
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.83 ▲0.46 | 1.92 ▲0.21 | 43.11 ▼0.14 |
Dashboard /wp-admin | 2,213 ▲25 | 4.88 ▼1.03 | 110.01 ▼9.71 | 42.93 ▲0.70 |
Posts /wp-admin/edit.php | 2,090 ▲4 | 1.99 ▲0.01 | 36.25 ▼1.18 | 32.09 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.32 ▲5.70 | 642.84 ▼41.85 | 64.92 ▼2.21 |
Media Library /wp-admin/upload.php | 1,392 ▲10 | 4.16 ▼0.05 | 95.63 ▼5.07 | 41.97 ▼2.33 |
Colored Tag Cloud Listing /wp-admin/options-general.php?page=colored-tag-cloud-listing | 941 | 2.02 | 25.28 | 34.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/colored-tag-cloud-listing/colored-tag-cloud-listing.php:20
- > 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, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
2 plugin tags: tags, tag cloud
colored-tag-cloud-listing/colored-tag-cloud-listing.php Passed 13 tests
"Colored Tag Cloud Listing" version 0.0.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
33 characters long description:
Display a tag cloud on your site.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin441 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 25 | 56 | 414 |
CSS | 2 | 0 | 0 | 24 |
JavaScript | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 33 | |
▷ Named functions | 33 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 17 | |
▷ Global constants | 17 | 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
5 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 |
images/settings.png | 2.11KB | 2.31KB | 0.00% |
images/cloud.png | 1.72KB | 1.25KB | ▼ 27.36% |
images/support.png | 5.03KB | 2.79KB | ▼ 44.54% |
images/parameters.png | 3.48KB | 2.94KB | ▼ 15.45% |
images/examples.png | 3.78KB | 2.24KB | ▼ 40.82% |