Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▼0.36MB] [CPU: ▼20.63ms] Passed 4 tests
Server-side resources used by WP Admin Filter & Search
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.77 ▲1.74 |
Dashboard /wp-admin | 3.24 ▼0.06 | 40.96 ▼5.86 |
Posts /wp-admin/edit.php | 3.18 ▼0.18 | 27.33 ▼19.74 |
Add New Post /wp-admin/post-new.php | 4.64 ▼1.24 | 40.49 ▼54.64 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 33.53 ▼2.26 |
MkgCColumns /wp-admin/options-general.php?page=mkg_ccolumns | 3.24 | 28.73 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP Admin Filter & Search
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.75 ▲0.39 | 2.00 ▲0.46 | 37.18 ▼8.02 |
Dashboard /wp-admin | 2,199 ▲24 | 5.54 ▼0.06 | 82.11 ▼13.91 | 38.44 ▼6.71 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.01 ▼0.02 | 37.21 ▼1.04 | 35.00 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 18.28 ▼4.83 | 611.29 ▼59.82 | 67.70 ▲13.19 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.19 ▲0.04 | 97.37 ▼3.48 | 44.17 ▲0.11 |
MkgCColumns /wp-admin/options-general.php?page=mkg_ccolumns | 812 | 2.03 | 23.52 | 24.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=mkg_ccolumns
- > Notice in wp-content/plugins/wp-admin-filter-search/mkg-ccolumns-settings.php+9
Undefined variable: result
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just 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-admin-filter-search/mkg-ccolumns.php:15
- > PHP Notice
Undefined variable: result in wp-content/plugins/wp-admin-filter-search/mkg-ccolumns-settings.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-admin-filter-search/mkg-ccolumns-settings.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: sorting, custom fields, filter, post manager, search
wp-admin-filter-search/mkg-ccolumns.php 92% from 13 tests
The principal PHP file in "WP Admin Filter & Search" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-admin-filter-search.php" instead of "mkg-ccolumns.php")
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
No dangerous file extensions were detected242 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 73 | 9 | 242 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin