Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- Install procedure had errors
- > Warning in wp-content/plugins/jpress-admin-column-search/jpress-admin-column-search.php+350
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Server metrics [RAM: ▼1.75MB] [CPU: ▼187.13ms] Passed 4 tests
An overview of server-side resources used by jPress Admin Column Search
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.89 ▼0.95 | 5.57 ▼27.24 |
Dashboard /wp-admin | 1.91 ▼1.15 | 5.69 ▼39.24 |
Posts /wp-admin/edit.php | 1.91 ▼1.20 | 6.59 ▼36.32 |
Add New Post /wp-admin/post-new.php | 1.91 ▼3.53 | 5.63 ▼645.71 |
Media Library /wp-admin/upload.php | 1.91 ▼1.10 | 6.16 ▼24.77 |
Admin Column Search /wp-admin/options-general.php?page=admin-column-search | 1.91 | 5.41 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by jPress Admin Column Search
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,719 ▲123 | 16.00 ▲0.37 | 9.95 ▲0.82 | 47.70 ▲3.81 |
Dashboard /wp-admin | 2,986 ▲55 | 6.50 ▲0.51 | 138.21 ▼4.12 | 103.81 ▼6.08 |
Posts /wp-admin/edit.php | 2,761 ▲22 | 2.92 ▲0.21 | 66.26 ▼3.82 | 87.48 ▼11.90 |
Add New Post /wp-admin/post-new.php | 1,632 ▲126 | 21.96 ▲3.41 | 272.22 ▼82.45 | 103.08 ▼4.55 |
Media Library /wp-admin/upload.php | 1,823 ▲16 | 5.15 ▲0.14 | 148.81 ▼7.13 | 122.47 ▲2.23 |
Admin Column Search /wp-admin/options-general.php?page=admin-column-search | 9,416 | 2.81 | 74.12 | 97.77 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/jpress-admin-column-search/jpress-admin-column-search.php+350
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
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
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=admin-column-search
- > Warning in wp-content/plugins/jpress-admin-column-search/jpress-admin-column-search.php+350
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
- 134 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=admin-column-search
- > Notice in wp-content/plugins/jpress-admin-column-search/pages/tab-configuration.php+187
Trying to access array offset on value of type bool
- 252 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=admin-column-search
- > Notice in wp-content/plugins/jpress-admin-column-search/pages/tab-configuration.php+187
Trying to access array offset on value of type null
- 21 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=admin-column-search
- > Deprecated in wp-content/plugins/jpress-admin-column-search/pages/tab-configuration.php+134
Function create_function() is deprecated
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
Please take a closer look at the following
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Warning
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in wp-content/plugins/jpress-admin-column-search/jpress-admin-column-search.php on line 350
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_types() in wp-content/plugins/jpress-admin-column-search/pages/tab-configuration.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/jpress-admin-column-search/pages/tab-settings.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/jpress-admin-column-search/pages/admin-page.php:8
- > PHP Warning
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 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
Attributes that require attention:
- Screenshots: Please describe screenshot #4 in jpress-admin-column-search/assets to your readme.txt
jpress-admin-column-search/jpress-admin-column-search.php Passed 13 tests
"jPress Admin Column Search" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
91 characters long description:
Add an advanced data search and filter on admin page list content for each declared columns
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 plugin3,975 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 215 | 330 | 2,064 |
CSS | 4 | 37 | 59 | 1,186 |
PHP | 4 | 76 | 52 | 583 |
PO File | 2 | 60 | 72 | 142 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
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 | 14 | |
▷ Named functions | 14 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
15 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/drag.png | 0.18KB | 0.13KB | ▼ 30.48% |
assets/css/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
assets/images/order_arrow.png | 0.75KB | 0.75KB | 0.00% |
assets/css/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
assets/css/images/ui-icons_222222_256x240.png | 6.76KB | 4.17KB | ▼ 38.24% |