Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/selective-tags/selective-tags.php+88
Methods with the same name as their class will not be constructors in a future version of PHP; TagWidget has a deprecated constructor
Server metrics [RAM: ▼1.86MB] [CPU: ▼55.35ms] Passed 4 tests
Server-side resources used by Selective Tag Cloud Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.13 ▼1.33 | 4.35 ▼36.27 |
Dashboard /wp-admin | 2.15 ▼1.15 | 5.49 ▼43.48 |
Posts /wp-admin/edit.php | 2.15 ▼1.21 | 8.85 ▼44.21 |
Add New Post /wp-admin/post-new.php | 2.15 ▼3.74 | 6.50 ▼89.41 |
Media Library /wp-admin/upload.php | 2.15 ▼1.08 | 5.55 ▼44.31 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_tag-widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Selective Tag Cloud Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,853 ▲118 | 14.86 ▲0.56 | 1.58 ▼0.21 | 39.25 ▼5.05 |
Dashboard /wp-admin | 2,249 ▲64 | 6.33 ▲0.46 | 125.07 ▲19.57 | 42.10 ▼5.83 |
Posts /wp-admin/edit.php | 2,141 ▲52 | 3.04 ▲1.05 | 51.25 ▲10.09 | 36.74 ▼0.38 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.45 ▲6.07 | 643.02 ▼68.57 | 35.43 ▼32.01 |
Media Library /wp-admin/upload.php | 1,437 ▲49 | 5.63 ▲1.53 | 107.10 ▲3.03 | 41.63 ▼2.03 |
Selective Tags /wp-admin/selective-tags.php | 26 | 0.44 | 0.09 | 14.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
The following items require your attention
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/selective-tags/selective-tags.php+88
Methods with the same name as their class will not be constructors in a future version of PHP; TagWidget has a deprecated constructor
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- widget_tag-widget
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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 take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/selective-tags/selective-tags.php:80
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
- > GET request to /wp-admin/selective-tags.php
- > Network (severe)
wp-admin/selective-tags.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Screenshot #1 (Widget settings page) image not found
selective-tags/selective-tags.php Passed 13 tests
The entry point to "Selective Tag Cloud Widget" version 1.2 is a PHP file that has certain tags in its header comment area
128 characters long description:
Provide sidebar widgets that can be used to display Selective Tags from a set of tags which is selected by admin in the sidebar.
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
No dangerous file extensions were detected2,219 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 463 | 233 | 1,724 |
PHP | 1 | 108 | 90 | 241 |
PO File | 5 | 70 | 95 | 199 |
CSS | 2 | 12 | 29 | 55 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 1.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 10.70KB | 5.12KB | ▼ 52.13% |