Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼7.25ms] Passed 4 tests
This is a short check of server-side resources used by SimpleWP Post Filter Plugin for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 37.73 ▼6.18 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.83 ▼5.81 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 46.80 ▼7.43 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 89.64 ▼9.57 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 40.69 ▲0.87 |
Server storage [IO: ▲0.11MB] [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: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
SimpleWP Post Filter Plugin for WordPress: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,890 ▲129 | 13.47 ▼0.82 | 10.58 ▲8.25 | 38.33 ▼7.03 |
Dashboard /wp-admin | 2,209 ▲32 | 5.58 ▼0.01 | 88.07 ▲0.44 | 38.97 ▼4.03 |
Posts /wp-admin/edit.php | 2,111 ▲8 | 2.01 ▲0.02 | 40.15 ▼4.03 | 34.88 ▼1.20 |
Add New Post /wp-admin/post-new.php | 1,543 ▲15 | 23.38 ▲0.16 | 614.20 ▼79.62 | 64.67 ▲8.75 |
Media Library /wp-admin/upload.php | 1,417 ▲14 | 4.19 ▼0.01 | 99.41 ▼2.16 | 45.21 ▼2.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
- 12× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-2.php on line 7
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-1.php on line 1
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-1.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-2.php:14
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-1.php on line 9
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-1.php on line 3
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-2.php on line 9
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-2.php on line 5
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-1.php on line 5
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/simplewp-post-filter/frontend/grid/layout-2.php on line 3
- > PHP Notice
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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: show, column, grid, posts, filter...
simplewp-post-filter/wp-post-filter.php 85% from 13 tests
The main file in "SimpleWP Post Filter Plugin for WordPress" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("simplewp-post-filter.php" instead of "wp-post-filter.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,184 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 146 | 239 | 907 |
JavaScript | 2 | 50 | 28 | 141 |
CSS | 2 | 18 | 32 | 95 |
SVG | 3 | 0 | 0 | 41 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.67 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.25 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
No PNG images were found in this plugin