Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼138.86ms] Passed 4 tests
An overview of server-side resources used by Wordpress Backend Terms Filter
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.12 | 36.23 ▲14.28 |
Dashboard /wp-admin | 3.09 ▲0.03 | 45.91 ▲4.28 |
Posts /wp-admin/edit.php | 3.20 ▲0.09 | 39.17 ▼4.34 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 89.34 ▼555.53 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 32.57 ▲0.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Wordpress Backend Terms Filter: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,910 ▲314 | 17.57 ▲1.80 | 8.47 ▼1.08 | 43.94 ▼11.82 |
Dashboard /wp-admin | 3,199 ▲268 | 8.02 ▲1.90 | 155.84 ▲17.64 | 118.58 ▼4.58 |
Posts /wp-admin/edit.php | 2,969 ▲230 | 4.30 ▲1.59 | 81.71 ▲19.33 | 89.12 ▼3.47 |
Add New Post /wp-admin/post-new.php | 1,619 ▼64 | 21.63 ▲2.97 | 253.61 ▼129.05 | 117.10 ▲5.77 |
Media Library /wp-admin/upload.php | 1,815 ▲5 | 4.79 ▼0.24 | 113.13 ▼28.40 | 117.94 ▼6.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-terms-filter/modules/hooks.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-terms-filter/modules/hooks.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-terms-filter/modules/scripts.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues 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: These screenshots require images: #1 (New filed for terms filtering), #2 (Filtering result)
wp-terms-filter/wp-terms-filter.php Passed 13 tests
The main PHP script in "Wordpress Backend Terms Filter" version 1.0 is automatically included on every request by WordPress
122 characters long description:
With this simple plugin you can add filtering functionality to your terms in backend, and use it when you make your posts.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin74 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 18 | 2 | 43 |
PHP | 3 | 19 | 8 | 31 |
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 | 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 | 2 | |
▷ Named functions | 2 | 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
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 25.13KB | 9.97KB | ▼ 60.34% |
screenshot-2.png | 24.66KB | 9.83KB | ▼ 60.13% |