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
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/tag-cloud-canvas/tag-cloud-canvas.php+231
Function create_function() is deprecated
Server metrics [RAM: ▼1.83MB] [CPU: ▼50.69ms] Passed 4 tests
Server-side resources used by Tag Cloud Canvas
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.31 | 4.10 ▼33.75 |
Dashboard /wp-admin | 2.18 ▼1.13 | 5.21 ▼45.63 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 6.71 ▼40.49 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 5.63 ▼82.90 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 5.58 ▼29.41 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_tag_cloud_canvas |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Tag Cloud Canvas
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,914 ▲168 | 14.13 ▼0.62 | 5.09 ▲3.27 | 42.81 ▼2.07 |
Dashboard /wp-admin | 2,205 ▲17 | 6.04 ▲0.17 | 98.07 ▼20.33 | 42.02 ▼1.24 |
Posts /wp-admin/edit.php | 2,094 ▲2 | 2.19 ▲0.18 | 39.37 ▲5.33 | 36.61 ▲1.35 |
Add New Post /wp-admin/post-new.php | 1,530 ▼12 | 23.12 ▲4.78 | 600.26 ▼50.11 | 50.42 ▲3.68 |
Media Library /wp-admin/upload.php | 1,390 ▼1 | 4.26 ▲0.07 | 107.11 ▲9.07 | 41.84 ▼0.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/tag-cloud-canvas/tag-cloud-canvas.php+231
Function create_function() is deprecated
- This plugin did not uninstall successfully, leaving 7 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_tag_cloud_canvas
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)
Good news, no errors were detected
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
Please fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/tag-cloud-canvas/tag-cloud-canvas.php:34
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Widget view.), #2 (Widget options.)
tag-cloud-canvas/tag-cloud-canvas.php Passed 13 tests
The main PHP script in "Tag Cloud Canvas" version 0.1.0 is automatically included on every request by WordPress
47 characters long description:
Tag cloud 3d using canvas (Sphere and Cylinder)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected267 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 20 | 54 | 163 |
PO File | 2 | 38 | 42 | 103 |
JavaScript | 1 | 0 | 20 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 6.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 36.42KB | 12.71KB | ▼ 65.11% |
screenshot-2.png | 19.94KB | 6.45KB | ▼ 67.63% |