Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Warning in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-cron.php+8
Use of undefined constant wpfcrf - assumed 'wpfcrf' (this will throw an Error in a future version of PHP)
Server metrics [RAM: ▼0.26MB] [CPU: ▼12.30ms] Passed 4 tests
Analyzing server-side resources used by WP Filter & Combine RSS Feeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.89 ▲0.43 | 42.37 ▲0.85 |
Dashboard /wp-admin | 3.72 ▲0.42 | 57.05 ▲4.34 |
Posts /wp-admin/edit.php | 3.84 ▲0.48 | 55.99 ▲3.29 |
Add New Post /wp-admin/post-new.php | 3.57 ▼2.32 | 42.52 ▼56.73 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 38.74 ▲3.39 |
Feeds items /wp-admin/edit.php?post_type=wpfcrf_feeds | 3.54 | 35.15 |
Add a feed source /wp-admin/post-new.php?post_type=wpfcrf_sources | 3.57 | 38.34 |
Settings /wp-admin/edit.php?post_type=wpfcrf_sources&page=wpfcrf-settings | 3.59 | 38.81 |
Feeds sources /wp-admin/edit.php?post_type=wpfcrf_sources | 3.69 | 40.35 |
Server storage [IO: ▲1.17MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Filter & Combine RSS Feeds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲150 | 13.49 ▼0.80 | 8.27 ▲6.38 | 42.01 ▼4.37 |
Dashboard /wp-admin | 2,219 ▲39 | 5.58 ▼0.08 | 86.85 ▼3.74 | 81.46 ▲36.62 |
Posts /wp-admin/edit.php | 2,142 ▲42 | 2.01 ▲0.02 | 38.08 ▲3.07 | 34.55 ▼3.11 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 22.99 ▼0.03 | 647.79 ▼59.85 | 145.62 ▲90.39 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.21 ▼0.01 | 109.82 ▲0.31 | 79.03 ▲31.28 |
Feeds items /wp-admin/edit.php?post_type=wpfcrf_feeds | 1,198 | 1.96 | 35.42 | 30.02 |
Add a feed source /wp-admin/post-new.php?post_type=wpfcrf_sources | 1,487 | 2.51 | 47.93 | 61.79 |
Settings /wp-admin/edit.php?post_type=wpfcrf_sources&page=wpfcrf-settings | 1,614 | 2.05 | 23.85 | 45.28 |
Feeds sources /wp-admin/edit.php?post_type=wpfcrf_sources | 1,126 | 1.95 | 36.01 | 29.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=wpfcrf_feeds
- > Notice in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-manage-menus-and-actions.php+198
Undefined index: wpfcrf_source_filter
- > GET request to /wp-admin/post-new.php?post_type=wpfcrf_sources
- > Notice in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-metaboxes.php+76
Undefined index: wpfcrf_feed_item_metabox_nonce
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=wpfcrf_sources
- > Notice in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-metaboxes.php+132
Trying to get property 'ID' of non-object
- > GET request to /wp-admin/post-new.php?post_type=wpfcrf_sources
- > Notice in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-metaboxes.php+131
Undefined index: wpfcrf_feed_url_source_metabox_nonce
- > GET request to /wp-admin/edit.php?post_type=wpfcrf_sources&page=wpfcrf-settings
- > Notice in wp-content/plugins/wp-filter-combine-rss-feeds/wp-filter-combine-rss-feeds-options.php+248
date_default_timezone_set(): Timezone ID '' is invalid
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
The following issues need your attention
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-custom-post-types.php:84
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-admin-submit-form.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-manage-menus-and-actions.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-filter-combine-rss-feeds/wp-filter-combine-rss-feeds.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-delete.php:45
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-filtering.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-cron.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-filtering.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-filter-combine-rss-feeds/inc/wpfcrf-metaboxes.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 35 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (Settings page (page des paramètres).), #2 (RSS Feeds page (pages des flux RSS).), #3 (First example with "dark blocks" template (Exemple avec le thème "dark blocks").), #4 (Second example with a search filter by name and "blue text" template (Exemple avec un filtre de recherche par nom et le thème "blue text").)
wp-filter-combine-rss-feeds/wp-filter-combine-rss-feeds.php 85% from 13 tests
The main file in "WP Filter & Combine RSS Feeds" v. 0.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 434 characters long)
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected2,389 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 213 | 331 | 1,576 |
PO File | 2 | 666 | 1,332 | 804 |
CSS | 7 | 0 | 0 | 7 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 75 | |
▷ Named functions | 73 | 97.33% |
▷ Anonymous functions | 2 | 2.67% |
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
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.95MB with 0.61MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon-16x16.png | 1.27KB | 0.52KB | ▼ 58.87% |
img/slogan.png | 21.80KB | 8.35KB | ▼ 61.71% |
screenshot-3.png | 174.32KB | 60.17KB | ▼ 65.48% |
screenshot-4.png | 149.89KB | 51.49KB | ▼ 65.65% |
screenshot-1.png | 529.50KB | 169.86KB | ▼ 67.92% |