Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▼1.24MB] [CPU: ▼46.54ms] Passed 4 tests
An overview of server-side resources used by Posts RSS Feeds
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 12.67 ▼32.41 |
Dashboard /wp-admin | 2.77 ▼0.54 | 15.07 ▼33.70 |
Posts /wp-admin/edit.php | 2.77 ▼0.59 | 16.38 ▼33.01 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.12 | 15.04 ▼87.04 |
Media Library /wp-admin/upload.php | 2.77 ▼0.46 | 13.38 ▼20.69 |
Posts RSS Feeds /wp-admin/admin.php?page=cbprf-settings-page | 2.77 | 15.04 |
About Us /wp-admin/admin.php?page=cbprf-about-us | 2.77 | 16.32 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Posts RSS Feeds
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.41 ▼0.98 | 1.62 ▼0.38 | 42.59 ▼1.53 |
Dashboard /wp-admin | 2,234 ▲46 | 5.90 ▲0.99 | 107.79 ▼8.16 | 41.99 ▼6.51 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.05 ▲0.00 | 39.66 ▲3.75 | 38.38 ▲2.29 |
Add New Post /wp-admin/post-new.php | 1,535 ▲2 | 17.68 ▼5.34 | 655.53 ▲5.73 | 51.90 ▲1.00 |
Media Library /wp-admin/upload.php | 1,407 ▲22 | 4.23 ▼0.03 | 96.26 ▼2.88 | 41.26 ▼0.88 |
Posts RSS Feeds /wp-admin/admin.php?page=cbprf-settings-page | 899 | 2.03 | 24.04 | 29.37 |
About Us /wp-admin/admin.php?page=cbprf-about-us | 824 | 2.03 | 23.84 | 26.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The plugin did not uninstall gracefully
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cbprf-about-us
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- > GET request to /wp-admin/admin.php?page=cbprf-settings-page
- > Notice in wp-content/plugins/posts-rss-feeds/pages/cbprf-settings-page.php+6
Undefined variable: cbprf_setting_submit
- > GET request to /wp-admin/admin.php?page=cbprf-settings-page
- > Notice in wp-content/plugins/posts-rss-feeds/pages/cbprf-settings-page.php+25
Undefined variable: message
- > GET request to /wp-admin/admin.php?page=cbprf-about-us
- > Notice in wp-content/plugins/posts-rss-feeds/pages/cbprf-about-us.php+11
Undefined variable: stored_class
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/posts-rss-feeds/pages/cbprf-about-us.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Back end custom post RSS feed settings.), #2 (Front end XML feed view.)
posts-rss-feeds/cb-posts-rss-feeds.php 92% from 13 tests
Analyzing the main PHP file in "Posts RSS Feeds" version 1.0.0
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("posts-rss-feeds.php" instead of "cb-posts-rss-feeds.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin223 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 29 | 24 | 180 |
CSS | 1 | 9 | 2 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.49MB with 0.31MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 43.29KB | 19.74KB | ▼ 54.40% |
screenshot-2.png | 459.89KB | 132.96KB | ▼ 71.09% |