Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.38MB] [CPU: ▼5.36ms] Passed 4 tests
A check of server-side resources used by Post grid and filter ultimate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.79 ▲0.33 | 39.17 ▼2.01 |
Dashboard /wp-admin | 3.75 ▲0.41 | 51.63 ▼18.86 |
Posts /wp-admin/edit.php | 3.80 ▲0.45 | 49.04 ▲2.58 |
Add New Post /wp-admin/post-new.php | 6.31 ▲0.42 | 95.64 ▼3.15 |
Media Library /wp-admin/upload.php | 3.61 ▲0.38 | 35.90 ▲3.22 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 69 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
wpos_anylc_redirect |
wpos_anylc_site_uid |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Post grid and filter ultimate
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,541 ▼1,206 | 10.26 ▼4.45 | 1.38 ▼0.36 | 17.65 ▼25.34 |
Dashboard /wp-admin | 2,221 ▲40 | 5.66 ▼0.02 | 103.39 ▼5.44 | 53.94 ▲7.83 |
Posts /wp-admin/edit.php | 2,122 ▲19 | 2.00 ▲0.04 | 40.94 ▲4.08 | 34.78 ▼1.41 |
Add New Post /wp-admin/post-new.php | 6,218 ▲4,692 | 19.00 ▼4.47 | 919.79 ▲318.61 | 54.47 ▲1.36 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.16 ▼0.02 | 95.62 ▼1.45 | 38.30 ▼5.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 8 options in the database
- wpos_anylc_redirect
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- wpos_anylc_site_uid
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
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
Even though everything seems fine, this is not 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
Please fix the following items
- 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/post-grid-and-filter-ultimate/templates/grid/design-2.php on line 9
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-2.php on line 7
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-1.php on line 3
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-2.php on line 1
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-1.php on line 5
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-1.php on line 9
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-1.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-2.php:14
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-2.php on line 3
- > PHP Notice
Undefined variable: gridcol in wp-content/plugins/post-grid-and-filter-ultimate/templates/grid/design-2.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
post-grid-and-filter-ultimate/post-grid-and-filter-ultimate.php Passed 13 tests
The main PHP script in "Post grid and filter ultimate" version 1.7 is automatically included on every request by WordPress
127 characters long description:
Easy to add and display post grid on your website with or without categoryies filter. Also work with Gutenberg shortcode block.
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
There were no executable files found in this plugin3,364 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 646 | 935 | 2,849 |
JavaScript | 7 | 94 | 48 | 268 |
CSS | 5 | 17 | 14 | 163 |
SVG | 6 | 0 | 0 | 82 |
JSON | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 16.62 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 2 | 25.00% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 40 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 9.09% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 21 | |
▷ Global constants | 21 | 100.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
21 PNG files occupy 0.10MB with 0.05MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/SlidersPack-50.png | 6.48KB | 2.79KB | ▼ 56.91% |
assets/images/utility-50.png | 1.64KB | 0.82KB | ▼ 50.30% |
assets/images/security-icon.png | 5.55KB | 1.43KB | ▼ 74.21% |
wpos-plugins/assets/images/cart-2.png | 2.20KB | 1.82KB | ▼ 17.38% |
assets/images/popup-anything-icon.png | 6.69KB | 2.25KB | ▼ 66.36% |