Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.36ms] Passed 4 tests
Analyzing server-side resources used by Tag Cloud 3D
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.84 ▼3.97 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.59 ▼6.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.79 ▼4.50 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 82.91 ▼18.54 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 34.28 ▲3.47 |
3D Tag Cloud /wp-admin/options-general.php?page=wp_3d_tag_cloud_slug | 3.28 | 37.65 |
Server storage [IO: ▲1.83MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 62 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
c3dtc_bg_color |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
c3dtc_txt_color |
Browser metrics Passed 4 tests
An overview of browser requirements for Tag Cloud 3D
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,894 ▲137 | 14.05 ▼0.14 | 5.64 ▲3.12 | 37.10 ▼12.22 |
Dashboard /wp-admin | 2,211 ▲20 | 5.90 ▼0.02 | 99.62 ▼0.77 | 40.61 ▼0.54 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.20 ▲0.17 | 39.77 ▲1.91 | 35.42 ▲0.33 |
Add New Post /wp-admin/post-new.php | 1,521 ▼12 | 23.21 ▲0.26 | 649.95 ▼14.06 | 67.86 ▲15.63 |
Media Library /wp-admin/upload.php | 1,399 ▲8 | 4.25 ▲0.03 | 98.46 ▼3.77 | 42.41 ▼7.88 |
3D Tag Cloud /wp-admin/options-general.php?page=wp_3d_tag_cloud_slug | 1,030 | 2.31 | 30.91 | 33.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- c3dtc_txt_color
- theysaidso_admin_options
- widget_theysaidso_widget
- c3dtc_bg_color
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
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 items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tag-cloud-3d/scriptcase_3D_tag_cloud.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/tag-cloud-3d/scriptcase_3D_tag_cloud_options.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (screenshot-1.gif), #2 (screenshot-2.gif)
tag-cloud-3d/scriptcase_3D_tag_cloud.php 92% from 13 tests
"Tag Cloud 3D" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("tag-cloud-3d.php" instead of "scriptcase_3D_tag_cloud.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin14,200 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 7 | 20 | 8,575 |
JavaScript | 5 | 582 | 241 | 1,596 |
LESS | 14 | 26 | 33 | 1,364 |
Sass | 13 | 26 | 24 | 1,352 |
SVG | 2 | 0 | 0 | 853 |
PHP | 2 | 11 | 11 | 274 |
PO File | 4 | 64 | 64 | 186 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 8 | |
▷ Named functions | 8 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.05MB with 0.05MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tag-icon.png | 49.03KB | 0.58KB | ▼ 98.83% |