Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- The plugin cannot be installed
- > Deprecated in wp-content/plugins/better-rss-widget/better-rss-widget.php+649
Function create_function() is deprecated
Server metrics [RAM: ▼1.89MB] [CPU: ▼184.35ms] Passed 4 tests
Server-side resources used by Better RSS Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.74 ▼1.09 | 4.26 ▼26.88 |
Dashboard /wp-admin | 1.76 ▼1.29 | 6.76 ▼37.37 |
Posts /wp-admin/edit.php | 1.76 ▼1.34 | 4.90 ▼36.50 |
Add New Post /wp-admin/post-new.php | 1.76 ▼3.67 | 5.50 ▼636.64 |
Media Library /wp-admin/upload.php | 1.76 ▼1.24 | 5.91 ▼26.31 |
Better RSS Widget /wp-admin/options-general.php?page=better-rss-widget-settings | 1.76 | 5.26 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_better_rss_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Better RSS Widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,684 ▲88 | 15.81 ▲0.24 | 8.59 ▼1.75 | 45.79 ▲0.10 |
Dashboard /wp-admin | 2,972 ▲35 | 5.90 ▼0.01 | 137.34 ▼15.32 | 111.90 ▲1.91 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.70 ▲0.02 | 66.00 ▼3.39 | 85.25 ▼5.64 |
Add New Post /wp-admin/post-new.php | 1,503 ▼180 | 18.60 ▼0.21 | 380.54 ▲24.80 | 103.96 ▼9.72 |
Media Library /wp-admin/upload.php | 1,812 ▲2 | 5.02 ▲0.02 | 154.04 ▲11.36 | 110.61 ▼10.88 |
Better RSS Widget /wp-admin/options-general.php?page=better-rss-widget-settings | 1,522 | 2.30 | 52.53 | 104.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/better-rss-widget/better-rss-widget.php+649
Function create_function() is deprecated
- The uninstall procedure has failed, leaving 1 option in the database
- widget_better_rss_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=better-rss-widget-settings
- > Deprecated in wp-content/plugins/better-rss-widget/better-rss-widget.php+649
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=better-rss-widget-settings
- > User deprecated in wp-includes/functions.php+5304
The called constructor method for WP_Widget in better_rss_widget is deprecated since version 4.3.0! Use __construct() instead.
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/better-rss-widget/includes/settings.php
- > /wp-content/plugins/better-rss-widget/includes/widget-form.php
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/better-rss-widget/better-rss-widget.php:34
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
9 plugin tags: list, shortcode, feed, link, posts...
better-rss-widget/better-rss-widget.php Passed 13 tests
The principal PHP file in "Better RSS Widget" v. 2.7.1 is loaded by WordPress automatically on each request
116 characters long description:
Replacement for the built in RSS widget that adds an optional link target, shortcode_handler, and page conditionals.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Success! There were no dangerous files found in this plugin1,646 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 4 | 400 | 468 | 856 |
PHP | 3 | 117 | 148 | 696 |
CSS | 1 | 15 | 10 | 69 |
JavaScript | 1 | 4 | 16 | 25 |
PHP code Passed 2 tests
A brief analysis 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.21 |
Average class complexity | 75.00 |
▷ Minimum class complexity | 75.00 |
▷ Maximum class complexity | 75.00 |
Average method complexity | 4.70 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin