Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼10.26ms] Passed 4 tests
A check of server-side resources used by Multi Feed Reader
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 50.08 ▼4.55 |
Dashboard /wp-admin | 3.46 ▲0.16 | 56.67 ▲1.97 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 66.31 ▲5.73 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 91.45 ▼36.30 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.23 ▼2.17 |
Multi Feed Reader /wp-admin/options-general.php?page=multi_feed_reader_handle | 3.40 | 37.01 |
Server storage [IO: ▲0.63MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
Please fix the following
- Illegal file modification found: 1 file (0.00KB) outside of "wp-content/plugins/multi-feed-reader/" and "wp-content/uploads/"
- (new file) wp-content/multi-feed-reader/cache/.empty
Filesystem: 19 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_multifeedreader_feed |
wp_multifeedreader_feedcollection |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Multi Feed Reader
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲4 | 13.69 ▼1.05 | 1.89 ▼0.35 | 43.41 ▼11.14 |
Dashboard /wp-admin | 2,213 ▲10 | 4.83 ▼1.05 | 111.83 ▼15.95 | 42.55 ▼5.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.01 | 36.68 ▼9.59 | 38.10 ▲0.90 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 17.94 ▼5.22 | 764.16 ▲152.83 | 63.64 ▲9.51 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.12 | 104.21 ▼3.54 | 45.64 ▲1.74 |
Multi Feed Reader /wp-admin/options-general.php?page=multi_feed_reader_handle | 1,134 | 2.03 | 29.22 | 33.38 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 items
- 11× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/multi-feed-reader/bootstrap/constants.php on line 25
- > PHP Fatal error
Uncaught Error: Class 'MultiFeedReader\\Models\\Base' not found in wp-content/plugins/multi-feed-reader/lib/models/feed_collection.php:4
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/multi-feed-reader/bootstrap/constants.php on line 25
- > PHP Fatal error
Uncaught Error: Class 'MultiFeedReader\\Models\\Base' not found in wp-content/plugins/multi-feed-reader/lib/models/feed.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function MultiFeedReader\\Settings\\add_action() in wp-content/plugins/multi-feed-reader/mfrsettings.php:106
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-feed-reader/bootstrap/constants.php on line 25
- > PHP Warning
require_once(ABSPATH/wp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/multi-feed-reader/bootstrap/constants.php on line 25
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATH/wp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-feed-reader/bootstrap/constants.php on line 25
- > PHP Fatal error
Uncaught Error: Call to undefined function MultiFeedReader\\register_activation_hook() in wp-content/plugins/multi-feed-reader/plugin.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function MultiFeedReader\\Settings\\add_action() in wp-content/plugins/multi-feed-reader/mfrsettings.php:106
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=multi_feed_reader_handle
- > Network (severe)
https://button.flattr.com/loader.js?mode=auto - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (The Admin Interface), #2 (Example Archive)
multi-feed-reader/multi-feed-reader.php Passed 13 tests
"Multi Feed Reader" version 2.2.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
90 characters long description:
Reads multiple feeds. Output can be customized via templates. Is displayed via Shortcodes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,269 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 238 | 241 | 1,138 |
PO File | 1 | 54 | 108 | 131 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.80 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 20.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 17 | 35.42% |
▷ Public methods | 39 | 81.25% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 9 | 18.75% |
Functions | 38 | |
▷ Named functions | 23 | 60.53% |
▷ Anonymous functions | 15 | 39.47% |
Constants | 13 | |
▷ Global constants | 5 | 38.46% |
▷ Class constants | 8 | 61.54% |
▷ Public constants | 8 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.57MB with 0.38MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 314.34KB | 103.58KB | ▼ 67.05% |
screenshot-1.png | 268.95KB | 94.04KB | ▼ 65.03% |