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
Please fix the following installer errors
- Install procedure had errors
- > Deprecated in wp-content/plugins/search-by-taxonomy-tag-cloud-search/eps-tag-cloud.php+46
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼58.51ms] Passed 4 tests
An overview of server-side resources used by Term/Tag Cloud Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.25 ▼35.27 |
Dashboard /wp-admin | 2.05 ▼1.29 | 7.10 ▼53.31 |
Posts /wp-admin/edit.php | 2.06 ▼1.30 | 7.47 ▼41.06 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.83 | 6.20 ▼104.38 |
Media Library /wp-admin/upload.php | 2.05 ▼1.17 | 5.98 ▼28.70 |
EPS Term Tag Cloud Search /wp-admin/options-general.php?page=eps_tagcloud | 2.06 | 6.12 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
widget_eps_tagcloudwidget |
can_compress_scripts |
eps_tagcloud_version |
db_upgraded |
theysaidso_admin_options |
eps_tagcloud_general |
Browser metrics Passed 4 tests
A check of browser resources used by Term/Tag Cloud Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.56 ▼1.03 | 5.65 ▲3.83 | 37.11 ▼1.51 |
Dashboard /wp-admin | 2,218 ▲35 | 4.89 ▼0.07 | 107.03 ▼0.80 | 39.97 ▼3.19 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.05 ▼0.13 | 41.35 ▲4.23 | 36.03 ▼0.11 |
Add New Post /wp-admin/post-new.php | 1,525 ▲6 | 17.77 ▼5.23 | 627.80 ▼66.94 | 54.81 ▲3.24 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.20 ▲0.04 | 96.81 ▼0.75 | 43.12 ▲1.86 |
EPS Term Tag Cloud Search /wp-admin/options-general.php?page=eps_tagcloud | 785 | 1.73 | 25.77 | 25.83 |
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
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/search-by-taxonomy-tag-cloud-search/eps-tag-cloud.php+46
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 9 options in the database
- theysaidso_admin_options
- eps_tagcloud_general
- eps_tagcloud_version
- widget_recent-posts
- db_upgraded
- widget_eps_tagcloudwidget
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=eps_tagcloud
- > Deprecated in wp-content/plugins/search-by-taxonomy-tag-cloud-search/eps-tag-cloud.php+46
Function create_function() is deprecated
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
Almost there! Just fix the following items
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/search-by-taxonomy-tag-cloud-search/templates/admin.widget.form.php:2
- > PHP Fatal error
Uncaught Error: Class 'EPS_Plugin' not found in wp-content/plugins/search-by-taxonomy-tag-cloud-search/plugin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function home_url() in wp-content/plugins/search-by-taxonomy-tag-cloud-search/templates/widget.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/search-by-taxonomy-tag-cloud-search/eps-tag-cloud.php:25
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=eps_tagcloud
- > Network (severe)
wp-content/plugins/search-by-taxonomy-tag-cloud-search/css/admin.css?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== search-by-taxonomy-tag-cloud-search ===
)
search-by-taxonomy-tag-cloud-search/eps-tag-cloud.php 92% from 13 tests
The main PHP script in "Term/Tag Cloud Search" version 1.0.1 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("search-by-taxonomy-tag-cloud-search.php" instead of "eps-tag-cloud.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected575 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 128 | 193 | 487 |
CSS | 1 | 2 | 0 | 44 |
JavaScript | 2 | 7 | 3 | 36 |
JSON | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 11.75 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 2.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 4 | 11.11% |
▷ Public methods | 30 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 16.67% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin