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
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼298.25ms] Passed 4 tests
An overview of server-side resources used by WP DropFilters
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 54.59 ▲7.02 |
Dashboard /wp-admin | 3.42 ▲0.02 | 32.27 ▼1.94 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.29 ▼0.11 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.07 | 97.85 ▼1,187.56 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 23.57 ▼3.39 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
WP DropFilters: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,773 ▲19 | 16.02 ▲0.45 | 5.92 ▲0.16 | 2.04 ▼0.70 |
Dashboard /wp-admin | 2,898 ▲37 | 6.25 ▲0.07 | 115.66 ▼16.62 | 154.95 ▼5.41 |
Posts /wp-admin/edit.php | 2,744 ▲50 | 3.17 ▼0.06 | 74.53 ▲12.69 | 153.00 ▲9.85 |
Add New Post /wp-admin/post-new.php | 1,669 ▲8 | 15.93 ▼0.53 | 399.75 ▲29.01 | 158.95 ▲8.76 |
Media Library /wp-admin/upload.php | 1,750 ▲55 | 5.67 ▲0.11 | 139.56 ▼5.84 | 188.89 ▼4.14 |
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
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-dropfilters/wp-dropfilters.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% 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
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in wp-dropfilters/assets to your readme.txt
wp-dropfilters/wp-dropfilters.php Passed 13 tests
"WP DropFilters" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
54 characters long description:
Better Select Boxes and Filters in the WordPress Admin
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
Good job! No executable or dangerous file extensions detected339 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 58 | 33 | 282 |
Markdown | 1 | 16 | 0 | 24 |
JavaScript | 2 | 6 | 7 | 17 |
PHP | 1 | 9 | 33 | 16 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
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 | 3 | |
▷ Named functions | 3 | 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
No PNG images were found in this plugin