Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/my-wp-tagcanvas/3D.WP.Tag.Cloud.S.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidget has a deprecated constructor
Server metrics [RAM: ▼1.77MB] [CPU: ▼56.96ms] Passed 4 tests
Server-side resources used by 3D WP Tag Cloud-S
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.22 ▼1.24 | 5.13 ▼34.07 |
Dashboard /wp-admin | 2.24 ▼1.06 | 6.01 ▼55.32 |
Posts /wp-admin/edit.php | 2.24 ▼1.11 | 6.09 ▼42.55 |
Add New Post /wp-admin/post-new.php | 2.24 ▼3.65 | 6.63 ▼95.90 |
Media Library /wp-admin/upload.php | 2.24 ▼0.99 | 6.39 ▼31.43 |
Add New /wp-admin/link-add.php | 2.24 | 6.23 |
All Links /wp-admin/link-manager.php | 2.26 | 7.42 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 2.24 | 5.61 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 40 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_wptagcanvaswidget |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
plugin_version |
can_compress_scripts |
widget_links |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for 3D WP Tag Cloud-S
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.42 ▲0.07 | 1.67 ▲0.13 | 42.80 ▼0.43 |
Dashboard /wp-admin | 2,220 ▲40 | 5.55 ▲0.02 | 90.68 ▼1.74 | 42.28 ▼0.82 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 1.95 ▼0.00 | 33.62 ▼3.77 | 40.90 ▼2.08 |
Add New Post /wp-admin/post-new.php | 1,552 ▲26 | 23.29 ▲0.35 | 662.54 ▼8.87 | 54.87 ▼0.80 |
Media Library /wp-admin/upload.php | 1,434 ▲31 | 4.19 ▼0.05 | 103.25 ▲2.61 | 48.24 ▲4.73 |
Add New /wp-admin/link-add.php | 1,656 | 2.56 | 46.98 | 35.23 |
All Links /wp-admin/link-manager.php | 1,068 | 2.02 | 26.45 | 31.95 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,314 | 2.12 | 29.08 | 32.03 |
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
These items require your attention
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/my-wp-tagcanvas/3D.WP.Tag.Cloud.S.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidget has a deprecated constructor
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_links
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- widget_wptagcanvaswidget
- plugin_version
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit-tags.php?taxonomy=link_category
- > Deprecated in wp-content/plugins/my-wp-tagcanvas/3D.WP.Tag.Cloud.S.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; wpTagCanvasWidget 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/my-wp-tagcanvas/3D.WP.Tag.Cloud.S.php+498
Undefined variable: opt
SRP 0% 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
Please take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/my-wp-tagcanvas/help/s.tips.php
- 282× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: instance in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 93
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 131
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 12
- > PHP Notice
Undefined variable: instance in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 100
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 143
- > PHP Notice
Undefined variable: instance in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 84
- > PHP Notice
Undefined variable: instance in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 78
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 80
- > PHP Notice
Undefined variable: instance in wp-content/plugins/my-wp-tagcanvas/s.variables.php on line 28
- > 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 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: widget, multiple shapes, shortcode, cloud, html5...
my-wp-tagcanvas/3D.WP.Tag.Cloud.S.php 85% from 13 tests
The main file in "3D WP Tag Cloud-S" v. 5.3.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 336 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("my-wp-tagcanvas.php" instead of "3D.WP.Tag.Cloud.S.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin7,626 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 36 | 49 | 3,531 |
JavaScript | 4 | 55 | 123 | 3,067 |
HTML | 1 | 1 | 1 | 582 |
CSS | 1 | 3 | 3 | 446 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 6.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.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
All PNG images should be compressed to minimize bandwidth usage for end users
28 compressed PNG files occupy 0.70MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
help/image011.png | 8.80KB | 9.03KB | 0.00% |
help/image013.png | 17.26KB | 18.25KB | 0.00% |
help/image025.png | 12.61KB | 13.20KB | 0.00% |
css/glass_75_e6e6e6.png | 0.26KB | 0.15KB | ▼ 42.37% |
help/example-2.png | 33.19KB | 34.69KB | 0.00% |