Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.63ms] Passed 4 tests
Analyzing server-side resources used by Taxus Advanced Search
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.83 ▼0.77 |
Dashboard /wp-admin | 3.36 ▲0.05 | 44.58 ▼3.92 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 48.29 ▼0.49 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 90.81 ▲0.62 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.15 ▼1.34 |
Taxus Settings /wp-admin/admin.php?page=taxus_config_page | 3.29 | 30.71 |
Sync /wp-admin/admin.php?page=taxus_send_data_page | 3.27 | 29.42 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
taxus_unique_id |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Taxus Advanced Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,933 ▲198 | 13.56 ▼0.76 | 9.44 ▲7.72 | 44.30 ▲1.84 |
Dashboard /wp-admin | 2,233 ▲41 | 5.81 ▲0.91 | 98.47 ▼16.32 | 37.46 ▼1.61 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.06 ▲0.02 | 39.17 ▼0.28 | 36.35 ▲0.61 |
Add New Post /wp-admin/post-new.php | 1,556 ▲23 | 23.27 ▲0.19 | 605.29 ▼72.57 | 54.22 ▲0.52 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.22 ▲0.02 | 95.49 ▼10.94 | 41.31 ▼5.07 |
Taxus Settings /wp-admin/admin.php?page=taxus_config_page | 831 | 2.03 | 24.90 | 25.42 |
Sync /wp-admin/admin.php?page=taxus_send_data_page | 831 | 2.07 | 25.09 | 28.01 |
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_recent-comments
- widget_recent-posts
- taxus_unique_id
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=taxus_config_page
- > Notice in wp-content/plugins/taxus-advanced-search/admin/config.php+23
Undefined index: apisearch
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix 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 __() in wp-content/plugins/taxus-advanced-search/languages/common-strings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% 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
Please fix the following attributes:
- Screenshots: Please describe screenshot #3 in taxus-advanced-search/assets to your readme.txt
taxus-advanced-search/taxus-advanced-search.php 92% from 13 tests
This is the main PHP file of "Taxus Advanced Search" version 1.1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin762 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 91 | 24 | 629 |
PO File | 1 | 45 | 49 | 133 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 27 | |
▷ Named functions | 25 | 92.59% |
▷ Anonymous functions | 2 | 7.41% |
Constants | 2 | |
▷ Global constants | 2 | 100.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 files were detected