Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidgetM has a deprecated constructor
Server metrics [RAM: ▼1.97MB] [CPU: ▼350.39ms] Passed 4 tests
Analyzing server-side resources used by 3D WP Tag Cloud-M
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.40 ▼1.11 | 4.93 ▼54.68 |
Dashboard /wp-admin | 2.42 ▼0.99 | 4.97 ▼34.14 |
Posts /wp-admin/edit.php | 2.42 ▼1.22 | 5.42 ▼38.02 |
Add New Post /wp-admin/post-new.php | 2.42 ▼4.55 | 6.02 ▼1,274.73 |
Media Library /wp-admin/upload.php | 2.42 ▼0.88 | 4.47 ▼23.36 |
Add New /wp-admin/link-add.php | 2.42 | 12.25 |
All Links /wp-admin/link-manager.php | 2.43 | 5.69 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 2.42 | 8.94 |
Server storage [IO: ▲1.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 58 new files
Database: no new tables, 3 new options
New WordPress options |
---|
widget_wptagcanvaswidgetm |
plugin_m_version |
widget_links |
Browser metrics Passed 4 tests
3D WP Tag Cloud-M: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,825 ▲67 | 16.02 ▲0.24 | 6.08 ▲0.27 | 2.95 ▲0.27 |
Dashboard /wp-admin | 2,918 ▲60 | 6.08 ▼0.18 | 119.08 ▼38.61 | 172.93 ▲4.47 |
Posts /wp-admin/edit.php | 2,733 ▲45 | 3.24 ▼0.00 | 65.15 ▼5.21 | 139.61 ▼22.08 |
Add New Post /wp-admin/post-new.php | 1,687 ▲19 | 17.06 ▼0.76 | 452.68 ▲53.47 | 188.19 ▲29.46 |
Media Library /wp-admin/upload.php | 1,740 ▲42 | 5.51 ▲0.05 | 133.75 ▼7.46 | 220.10 ▲34.81 |
Add New /wp-admin/link-add.php | 2,232 | 3.49 | 75.29 | 165.08 |
All Links /wp-admin/link-manager.php | 1,336 | 2.42 | 52.45 | 114.95 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,679 | 2.77 | 54.82 | 113.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidgetM has a deprecated constructor
- The uninstall procedure has failed, leaving 3 options in the database
- widget_links
- widget_wptagcanvaswidgetm
- plugin_m_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Deprecated in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidgetM has a deprecated constructor
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Notice in wp-content/plugins/3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php+1371
Undefined variable: mopt
SRP 0% 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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/3d-wp-tag-cloud-m/help/m.tips.php
- 1015× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 329
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 329
- > PHP Notice
Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 194
- > PHP Notice
Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 353
- > PHP Notice
Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 392
- > PHP Notice
Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 189
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 500
- > PHP Notice
Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 31
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 236
- > PHP Notice
Undefined variable: instance in wp-content/plugins/3d-wp-tag-cloud-m/m.variables.php on line 327
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: tags, shapes, images, tag cloud, cloud...
3d-wp-tag-cloud-m/3D.WP.Tag.Cloud.M.php 85% from 13 tests
The entry point to "3D WP Tag Cloud-M" version 3.2.7 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 349 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("3d-wp-tag-cloud-m.php" instead of "3D.WP.Tag.Cloud.M.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin14,068 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 71 | 102 | 9,258 |
JavaScript | 4 | 91 | 127 | 3,669 |
HTML | 1 | 1 | 0 | 701 |
CSS | 1 | 0 | 3 | 440 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 62.00 |
▷ Minimum class complexity | 62.00 |
▷ Maximum class complexity | 62.00 |
Average method complexity | 13.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 56.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 | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
37 compressed PNG files occupy 0.64MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
help/image0462.png | 7.73KB | 8.16KB | 0.00% |
help/image015.png | 30.14KB | 31.36KB | 0.00% |
help/image047.png | 9.21KB | 9.75KB | 0.00% |
help/image027.png | 6.04KB | 6.22KB | 0.00% |
help/image037.png | 9.53KB | 10.12KB | 0.00% |