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
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/dynamiccategorytagcloud/DynamicCategoryTagCloud.php+18
Function create_function() is deprecated
Server metrics [RAM: ▼1.89MB] [CPU: ▼227.50ms] Passed 4 tests
A check of server-side resources used by DynamicCategoryTagCloud
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.74 ▼0.98 | 5.72 ▼20.14 |
Dashboard /wp-admin | 1.76 ▼1.29 | 6.76 ▼55.60 |
Posts /wp-admin/edit.php | 1.76 ▼1.35 | 10.19 ▼46.80 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 6.05 ▼772.08 |
Media Library /wp-admin/upload.php | 1.76 ▼1.24 | 5.08 ▼35.53 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_dynamiccategorytagcloud |
Browser metrics Passed 4 tests
An overview of browser requirements for DynamicCategoryTagCloud
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,681 ▲34 | 15.74 ▲0.16 | 9.92 ▼0.83 | 50.02 ▲0.64 |
Dashboard /wp-admin | 2,975 ▲44 | 5.89 ▼0.08 | 143.97 ▼8.09 | 114.13 ▼15.30 |
Posts /wp-admin/edit.php | 2,741 ▲2 | 2.72 ▲0.00 | 69.86 ▲1.93 | 93.66 ▼15.31 |
Add New Post /wp-admin/post-new.php | 1,685 ▲2 | 18.72 ▲0.35 | 409.96 ▲3.97 | 116.44 ▼7.30 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.04 ▼0.09 | 161.85 ▼6.71 | 127.30 ▲6.80 |
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
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/dynamiccategorytagcloud/DynamicCategoryTagCloud.php+18
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 1 option in the database
- widget_dynamiccategorytagcloud
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/dynamiccategorytagcloud/DynamicCategoryTagCloud.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #1 (`Dynamic Tag cloud` widget setting.)
dynamiccategorytagcloud/DynamicCategoryTagCloud.php 85% from 13 tests
The main file in "DynamicCategoryTagCloud" v. 0.1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("dynamiccategorytagcloud.php" instead of "DynamicCategoryTagCloud.php")
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 detected553 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 81 | 134 | 467 |
PO File | 1 | 25 | 25 | 70 |
CSS | 1 | 4 | 8 | 16 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 46.50 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 4.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 17 | 70.83% |
▷ Public methods | 24 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 6.07KB | 4.78KB | ▼ 21.34% |