Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/rssfeedchecker/RSSFeedCheckerWidget.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; RSSCheckWidget has a deprecated constructor
Server metrics [RAM: ▼1.81MB] [CPU: ▼54.64ms] Passed 4 tests
This is a short check of server-side resources used by RSS Feed Checker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 5.50 ▼33.37 |
Dashboard /wp-admin | 2.20 ▼1.11 | 6.18 ▼44.77 |
Posts /wp-admin/edit.php | 2.20 ▼1.16 | 7.20 ▼44.36 |
Add New Post /wp-admin/post-new.php | 2.20 ▼3.69 | 7.05 ▼96.06 |
Media Library /wp-admin/upload.php | 2.20 ▼1.03 | 6.82 ▼31.64 |
All Links /wp-admin/link-manager.php | 2.22 | 6.72 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 2.20 | 6.63 |
Add New /wp-admin/link-add.php | 2.20 | 6.25 |
RSS Feed Checker /wp-admin/link-manager.php?page=RSSFeedChecker | 2.22 | 8.14 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 11 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_links_rss |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_rsscheckwidget |
widget_recent-comments |
widget_links |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for RSS Feed Checker
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,830 ▲69 | 14.39 ▲0.00 | 1.74 ▼0.09 | 41.80 ▼4.06 |
Dashboard /wp-admin | 2,230 ▲53 | 5.59 ▼0.05 | 83.47 ▼8.46 | 39.53 ▼5.02 |
Posts /wp-admin/edit.php | 2,141 ▲41 | 2.05 ▼0.01 | 41.49 ▲3.18 | 41.69 ▲1.54 |
Add New Post /wp-admin/post-new.php | 1,561 ▲16 | 17.71 ▼5.52 | 708.85 ▲66.43 | 57.55 ▼11.26 |
Media Library /wp-admin/upload.php | 1,441 ▲44 | 4.20 ▲0.02 | 101.83 ▲0.12 | 40.31 ▼3.96 |
All Links /wp-admin/link-manager.php | 1,078 | 1.71 | 27.05 | 32.67 |
Link Categories /wp-admin/edit-tags.php?taxonomy=link_category | 1,318 | 2.30 | 31.10 | 29.96 |
Add New /wp-admin/link-add.php | 1,710 | 2.27 | 50.68 | 38.92 |
RSS Feed Checker /wp-admin/link-manager.php?page=RSSFeedChecker | 948 | 1.76 | 29.06 | 30.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Uninstall procedure had uncaught errors
- > Deprecated in wp-content/plugins/rssfeedchecker/RSSFeedCheckerWidget.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; RSSCheckWidget has a deprecated constructor
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_theysaidso_widget
- widget_links
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_rsscheckwidget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 5 occurences, only the last one shown
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/rssfeedchecker/RSSFeedCheckerWidget.php+13
Methods with the same name as their class will not be constructors in a future version of PHP; RSSCheckWidget has a deprecated constructor
- 5 occurences, only the last one shown
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/rssfeedchecker/RSSFeedCheckerWidget.php+15
Function create_function() is deprecated
- 5 occurences, only the last one shown
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RSSCheckWidget is deprecated since version 4.3.0! Use __construct() instead.
- 6 occurences, only the last one shown
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/rssfeedchecker/RSSFeedCheckerSettings.php+79
Trying to access array offset on value of type bool
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/rssfeedchecker/RSSFeedCheckerUI.php+186
Undefined variable: message
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > Deprecated in wp-content/plugins/rssfeedchecker/RSSFeedCheckerUI.php+190
Non-static method RSSCheckerProcessor::get_server_load() should not be called statically
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/rssfeedchecker/RSSFeedCheckerUI.php+193
Trying to get property 'rss_address' of non-object
- > GET request to /wp-admin/link-manager.php?page=RSSFeedChecker
- > POST request to /wp-admin/admin-ajax.php
- > Notice in wp-content/plugins/rssfeedchecker/RSSFeedCheckerUI.php+197
Undefined variable: workresult
SRP 50% 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 fix the following items
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/rssfeedchecker/RSSFeedCheckerProcessor.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/rssfeedchecker/uninstall.php:11
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/rssfeedchecker/RSSFeedCheckerProcessor.php on line 17
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/rssfeedchecker/RSSFeedCheckerProcessor.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rssfeedchecker/RSSFeedCheckerWidget.php:13
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/rssfeedchecker/RSSFeedCheckerProcessor.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rssfeedchecker/RSSFeedCheckerWidget.php:13
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/rssfeedchecker/RSSFeedCheckerProcessor.php on line 17
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/rssfeedchecker/RSSFeedCheckerProcessor.php on line 17
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/rssfeedchecker/RSSFeedCheckerProcessor.php on line 17
- > PHP Warning
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: blogroll, rss
rssfeedchecker/RSSFeedChecker.php 92% from 13 tests
The main PHP file in "RSS Feed Checker" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rssfeedchecker.php" instead of "RSSFeedChecker.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
No dangerous file extensions were detected856 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 228 | 157 | 809 |
JavaScript | 1 | 8 | 3 | 39 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 11.43 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 82 | |
▷ Static methods | 71 | 86.59% |
▷ Public methods | 82 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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