Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-filter-posts/admin/install.php+80
Undefined variable: version
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.30ms] Passed 4 tests
Analyzing server-side resources used by WP Filter Posts - List Posts by Categories, Tags, Authors and dates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.63 ▼4.42 |
Dashboard /wp-admin | 3.32 ▲0.02 | 41.65 ▼9.72 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 45.82 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 83.41 ▼9.74 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 34.03 ▼1.31 |
Add New Filter /wp-admin/admin.php?page=xyz-wpf-filter-add-new | 3.38 | 30.74 |
Settings /wp-admin/admin.php?page=xyz-wpf-settings | 3.25 | 33.92 |
WP Filter Posts /wp-admin/admin.php?page=xyz-wpf-filter-manage | 3.31 | 32.70 |
Server storage [IO: ▲0.21MB] [DB: ▲0.08MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 41 new files
Database: 1 new table, 11 new options
New tables |
---|
wp_xyz_wp_posts_filter |
New WordPress options |
---|
widget_recent-comments |
xyz_wpf_credit_dismiss |
xyz_wpf_free_version |
widget_recent-posts |
widget_theysaidso_widget |
xyz_credit_link |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
xyz_wpf_installed_date |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Filter Posts - List Posts by Categories, Tags, Authors and dates
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲100 | 13.67 ▼0.95 | 3.70 ▲2.00 | 42.33 ▲3.48 |
Dashboard /wp-admin | 2,244 ▲52 | 4.87 ▼0.04 | 112.63 ▼1.00 | 56.12 ▲13.60 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.03 ▲0.02 | 36.83 ▼2.36 | 40.83 ▲6.39 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 17.48 ▼6.06 | 638.09 ▼45.44 | 53.20 ▲2.96 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.23 ▼0.04 | 99.83 ▼10.35 | 47.74 ▼0.33 |
Add New Filter /wp-admin/admin.php?page=xyz-wpf-filter-add-new | 1,643 | 1.91 | 31.56 | 67.04 |
Settings /wp-admin/admin.php?page=xyz-wpf-settings | 1,115 | 1.75 | 25.60 | 45.17 |
WP Filter Posts /wp-admin/admin.php?page=xyz-wpf-filter-manage | 1,087 | 1.87 | 25.78 | 49.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.08MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- xyz_credit_link
- widget_recent-comments
- xyz_wpf_installed_date
- widget_recent-posts
- xyz_wpf_free_version
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (Filter configuration screen.) image missing
wp-filter-posts/wp-filter-posts.php 92% from 13 tests
"WP Filter Posts - List Posts by Categories, Tags, Authors and dates" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 550 characters long)
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
Success! There were no dangerous files found in this plugin2,840 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 447 | 36 | 2,255 |
CSS | 1 | 113 | 4 | 573 |
JavaScript | 1 | 3 | 0 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
20 PNG files occupy 0.07MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/delete.png | 1.19KB | 1.39KB | 0.00% |
admin/images/twitter.png | 0.98KB | 0.85KB | ▼ 13.70% |
admin/images/orange_buynow.png | 7.67KB | 2.78KB | ▼ 63.80% |
admin/images/facebook.png | 0.65KB | 0.65KB | ▼ 0.75% |
admin/images/gplus.png | 1.06KB | 0.91KB | ▼ 13.85% |