Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼2.41ms] Passed 4 tests
Server-side resources used by RSS King Pro
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 37.56 ▼3.65 |
Dashboard /wp-admin | 3.45 ▲0.15 | 43.96 ▼2.27 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.45 ▲1.42 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 83.02 ▼5.14 |
Media Library /wp-admin/upload.php | 3.37 ▲0.15 | 39.34 ▲10.62 |
RSS King Pro /wp-admin/admin.php?page=rsskingpro | 3.36 | 33.08 |
King Pro Plugins /wp-admin/admin.php?page=kpp_menu | 3.35 | 33.97 |
Server storage [IO: ▲0.56MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 31 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_rsskingpro_widget |
rsspk_db_version |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by RSS King Pro
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲159 | 13.59 ▼0.69 | 8.21 ▲6.17 | 40.86 ▼6.64 |
Dashboard /wp-admin | 2,239 ▲48 | 4.86 ▼0.04 | 97.50 ▼12.10 | 44.35 ▼0.17 |
Posts /wp-admin/edit.php | 2,119 ▲30 | 1.97 ▼0.04 | 41.26 ▲5.99 | 35.69 ▲2.19 |
Add New Post /wp-admin/post-new.php | 1,539 ▲3 | 17.82 ▼5.19 | 651.43 ▼12.75 | 58.04 ▲7.72 |
Media Library /wp-admin/upload.php | 1,418 ▲36 | 4.23 ▲0.06 | 99.58 ▲3.17 | 40.78 ▼0.80 |
RSS King Pro /wp-admin/admin.php?page=rsskingpro | 1,216 | 2.08 | 23.87 | 45.72 |
King Pro Plugins /wp-admin/admin.php?page=kpp_menu | 949 | 2.04 | 25.83 | 33.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- rsspk_db_version
- widget_recent-posts
- widget_rsskingpro_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=rsskingpro
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/admin.php?page=rsskingpro
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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 take a closer look at the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/rsskingpro/rsskingpro.php:42
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rsskingpro/includes/widget.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/rsskingpro/includes/screens/kpp.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/rsskingpro/includes/admin_area.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/rsskingpro/includes/output.php:259
- > PHP Fatal error
Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/rsskingpro/includes/screens/settings.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
7 plugin tags: items, feed, links, ajax, paging...
rsskingpro/rsskingpro.php Passed 13 tests
The main PHP script in "RSS King Pro" version 1.0.9 is automatically included on every request by WordPress
63 characters long description:
RSS King Pro allows you display and format a RSS feed on a page
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
Good job! No executable or dangerous file extensions detected1,752 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 97 | 58 | 760 |
CSS | 3 | 29 | 2 | 574 |
SVG | 1 | 0 | 0 | 399 |
JavaScript | 1 | 1 | 0 | 19 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 72.00 |
▷ Minimum class complexity | 72.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 18.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 13 | |
▷ Named functions | 13 | 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 Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
8 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/rsskp-icon_32x32.png | 2.54KB | 1.58KB | ▼ 37.91% |
images/kpp-icon_16x16.png | 1.75KB | 0.85KB | ▼ 51.14% |
images/kpp-icon_32x32_sat.png | 2.88KB | 1.59KB | ▼ 44.89% |
images/kpp-icon_16x16_sat.png | 1.75KB | 0.85KB | ▼ 51.28% |
images/rsskp-icon_16x16.png | 1.70KB | 0.91KB | ▼ 46.88% |