Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼4.81ms] Passed 4 tests
Server-side resources used by Page Tag Cloud
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 40.88 ▼3.14 |
Dashboard /wp-admin | 3.35 ▲0.05 | 48.89 ▲0.70 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 44.27 ▼1.93 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 84.68 ▼14.88 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.81 ▲1.02 |
Page Tags /wp-admin/edit-tags.php?taxonomy=page_tags&post_type=page | 3.39 | 35.62 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_ptc_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Page Tag Cloud
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲94 | 14.78 ▲0.48 | 2.13 ▲0.28 | 44.40 ▲3.96 |
Dashboard /wp-admin | 2,213 ▲22 | 4.86 ▼0.04 | 110.91 ▲7.29 | 41.75 ▼5.76 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 1.99 ▼0.01 | 35.16 ▼4.51 | 35.17 ▲1.56 |
Add New Post /wp-admin/post-new.php | 1,536 ▼0 | 23.07 ▼0.18 | 684.82 ▼6.38 | 52.04 ▼2.90 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.19 ▼0.02 | 92.98 ▼15.52 | 41.72 ▼6.32 |
Page Tags /wp-admin/edit-tags.php?taxonomy=page_tags&post_type=page | 1,246 | 2.13 | 27.61 | 28.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- widget_ptc_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/page-tag-cloud/widget.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/page-tag-cloud/widget.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: tags, tag cloud, page tags
page-tag-cloud/page-tag-cloud.php Passed 13 tests
"Page Tag Cloud" version 2.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
Add tags to pages and display them in a tag cloud widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin120 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 84 | 120 |
PHP code Passed 2 tests
A short 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.19 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 12 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 8.33% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin