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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.82MB] [CPU: ▼307.36ms] Passed 4 tests
This is a short check of server-side resources used by WP Post List UI
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.11 | 66.76 ▲18.04 |
Dashboard /wp-admin | 3.53 ▲0.13 | 51.23 ▼25.58 |
Posts /wp-admin/edit.php | 3.76 ▲0.12 | 39.18 ▲1.61 |
Add New Post /wp-admin/post-new.php | 3.33 ▼3.64 | 32.96 ▼1,202.74 |
Media Library /wp-admin/upload.php | 3.42 ▲0.13 | 27.14 ▼2.74 |
Add New /wp-admin/post-new.php?post_type=wplpui | 3.33 | 27.81 |
All Lists /wp-admin/edit.php?post_type=wplpui | 3.46 | 30.52 |
Server storage [IO: ▲4.03MB] [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: 442 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WP Post List UI
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,859 ▲115 | 16.52 ▲0.56 | 6.10 ▲0.17 | 3.11 ▲0.90 |
Dashboard /wp-admin | 2,952 ▲94 | 7.21 ▲1.12 | 123.34 ▼15.09 | 160.55 ▼12.87 |
Posts /wp-admin/edit.php | 2,761 ▲91 | 3.57 ▲0.32 | 118.96 ▲36.72 | 147.31 ▼14.70 |
Add New Post /wp-admin/post-new.php | 1,720 ▲55 | 15.88 ▼4.30 | 443.38 ▲5.71 | 178.12 ▲12.60 |
Media Library /wp-admin/upload.php | 1,767 ▲69 | 6.23 ▲0.71 | 135.46 ▼7.51 | 195.25 ▲6.28 |
Add New /wp-admin/post-new.php?post_type=wplpui | 3,400 | 5.36 | 114.23 | 200.25 |
All Lists /wp-admin/edit.php?post_type=wplpui | 1,448 | 3.71 | 79.84 | 111.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+293
Undefined index: wplpuimeta_noncename
- 15 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+101
Trying to get property '_post_types' of non-object
- 16 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+376
in_array() expects parameter 2 to be array, null given
- 10 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+125
Trying to get property '_orderby' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+133
Trying to get property '_order' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+139
Trying to get property '_posts_per_page' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+144
Trying to get property '_offset' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+149
Trying to get property '_post__in' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+154
Trying to get property '_post__not_in' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+161
Trying to get property '_pagination' of non-object
- 8 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+175
Trying to get property '_post_status' of non-object
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+558
Only variables should be passed by reference
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+185
Trying to get property '_template' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+196
Trying to get property '_template_name' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+202
Trying to get property '_wplpui_template_code' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+370
Undefined index: post_type
- > GET request to /wp-admin/post-new.php?post_type=wplpui
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php+376
Trying to get property '_tax_query' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function the_ID() in wp-content/plugins/wp-post-list-ui/templates/content-default.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-post-list-ui/wp-post-list-ui.php:35
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (This screen-shot shows the simple list of post lists. This screen also shows the "Add New List Button".), #2 (This screen-shot is to add new Post List. Here you can add your own code.), #3 (Screenshot to add new template and add code.), #4 (Shortcode sidebar after publish the post list.)
- Plugin Name: Please specify the plugin name on the first line (
=== wp-post-list-ui ===
)
wp-post-list-ui/wp-post-list-ui.php Passed 13 tests
"WP Post List UI" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
38 characters long description:
List the post by make the custom list.
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
Good job! No executable or dangerous file extensions detected73,966 lines of code in 424 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 199 | 5,431 | 3,882 | 50,636 |
HTML | 166 | 3,392 | 12 | 20,461 |
CSS | 50 | 342 | 184 | 2,050 |
PHP | 2 | 127 | 146 | 518 |
SVG | 1 | 1 | 1 | 179 |
Markdown | 2 | 22 | 0 | 77 |
JSON | 2 | 0 | 0 | 37 |
Bourne Shell | 1 | 0 | 1 | 5 |
YAML | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
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 | 15 | |
▷ Named functions | 15 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
8 PNG files occupy 0.89MB with 0.62MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
codemirror/doc/yinyang.png | 4.52KB | 2.03KB | ▼ 55.19% |
assets/screenshot-1.png | 76.78KB | 21.41KB | ▼ 72.12% |
screenshot-4.png | 236.38KB | 63.98KB | ▼ 72.93% |
assets/screenshot-2.png | 215.36KB | 58.18KB | ▼ 72.99% |
screenshot-3.png | 81.77KB | 22.88KB | ▼ 72.02% |