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
- > Notice in wp-content/plugins/search-taxonomy-gt/searchTaxonomyGT.php+38
Undefined variable: searchTaxonomyGT_version
Server metrics [RAM: ▼0.84MB] [CPU: ▼168.77ms] Passed 4 tests
Analyzing server-side resources used by Search Taxonomy GT
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.83 ▲7.32 |
Dashboard /wp-admin | 2.81 ▼0.25 | 21.18 ▼21.38 |
Posts /wp-admin/edit.php | 2.81 ▼0.30 | 21.66 ▼22.57 |
Add New Post /wp-admin/post-new.php | 2.81 ▼2.62 | 18.18 ▼619.68 |
Media Library /wp-admin/upload.php | 2.81 ▼0.19 | 21.27 ▼11.43 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
searchTaxonomyGT_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Search Taxonomy GT
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,874 ▲278 | 17.42 ▲1.82 | 8.37 ▼1.34 | 44.97 ▼2.78 |
Dashboard /wp-admin | 3,168 ▲234 | 7.91 ▲1.94 | 163.97 ▲1.43 | 115.69 ▲1.71 |
Posts /wp-admin/edit.php | 2,963 ▲224 | 4.43 ▲1.72 | 84.56 ▲21.27 | 87.38 ▼5.23 |
Add New Post /wp-admin/post-new.php | 1,617 ▼259 | 21.51 ▲2.33 | 252.06 ▼131.81 | 131.34 ▲17.08 |
Media Library /wp-admin/upload.php | 1,738 ▼69 | 4.79 ▼0.25 | 131.50 ▼22.96 | 122.16 ▲5.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-includes/class-wp-hook.php+303
call_user_func_array() expects parameter 1 to be a valid callback, function 'my_plugin_admin_init' not found or invalid function name
- This plugin does not fully uninstall, leaving 1 option in the database
- searchTaxonomyGT_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/search-taxonomy-gt/searchTaxonomyGT.php:45
- > 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 90% 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 require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== search-taxonomy-gt ===
)
search-taxonomy-gt/searchTaxonomyGT.php 85% from 13 tests
The primary PHP file in "Search Taxonomy GT" version 1.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Text Domain: The text domain name must use dashes instead of underscores, and it must be lowercase
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("search-taxonomy-gt.php" instead of "searchTaxonomyGT.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin75 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 8 | 5 | 34 |
PHP | 1 | 13 | 24 | 30 |
CSS | 1 | 1 | 0 | 11 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
No PNG files were detected