Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.24MB] [CPU: ▼42.66ms] Passed 4 tests
Server-side resources used by WP Custom Post RSS Feed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 15.66 ▼29.01 |
Dashboard /wp-admin | 2.77 ▼0.53 | 16.59 ▼30.52 |
Posts /wp-admin/edit.php | 2.77 ▼0.58 | 17.00 ▼26.04 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.11 | 15.44 ▼85.07 |
Media Library /wp-admin/upload.php | 2.77 ▼0.45 | 16.67 ▼20.17 |
Custom Post RSS Feeds /wp-admin/admin.php?page=wpcpf-settings-page | 2.77 | 15.31 |
About Us /wp-admin/admin.php?page=wpcpf-about-us | 2.77 | 16.84 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
WP Custom Post RSS Feed: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.23 ▼1.08 | 1.69 ▼0.04 | 43.33 ▼3.92 |
Dashboard /wp-admin | 2,231 ▲40 | 4.85 ▼1.06 | 113.60 ▲8.11 | 42.25 ▲2.34 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.00 | 34.75 ▼6.60 | 32.24 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 23.14 ▲4.67 | 649.53 ▲33.50 | 64.22 ▲2.93 |
Media Library /wp-admin/upload.php | 1,413 ▲28 | 4.21 ▲0.00 | 95.34 ▼3.97 | 41.38 ▼1.89 |
Custom Post RSS Feeds /wp-admin/admin.php?page=wpcpf-settings-page | 899 | 2.03 | 23.26 | 28.30 |
About Us /wp-admin/admin.php?page=wpcpf-about-us | 823 | 2.19 | 23.67 | 28.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_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)
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpcpf-about-us
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
- > GET request to /wp-admin/admin.php?page=wpcpf-settings-page
- > Notice in wp-content/plugins/wp-custom-post-rss-feed/pages/wpcpf-settings-page.php+4
Undefined index: wpcpf_setting_submit
- > GET request to /wp-admin/admin.php?page=wpcpf-settings-page
- > Notice in wp-content/plugins/wp-custom-post-rss-feed/pages/wpcpf-settings-page.php+6
Undefined index: post_type_to_feed
- > GET request to /wp-admin/admin.php?page=wpcpf-settings-page
- > Notice in wp-content/plugins/wp-custom-post-rss-feed/pages/wpcpf-settings-page.php+7
Undefined index: post_cont_in_feed
- > GET request to /wp-admin/admin.php?page=wpcpf-settings-page
- > Notice in wp-content/plugins/wp-custom-post-rss-feed/pages/wpcpf-settings-page.php+8
Undefined index: saved
- > GET request to /wp-admin/admin.php?page=wpcpf-settings-page
- > Notice in wp-content/plugins/wp-custom-post-rss-feed/pages/wpcpf-settings-page.php+23
Undefined variable: message
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-custom-post-rss-feed/wp-custom-post-rss-feed.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/wp-custom-post-rss-feed/pages/wpcpf-settings-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-custom-post-rss-feed/pages/custom-feed.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/wp-custom-post-rss-feed/pages/wpcpf-about-us.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Back end custom post RSS feed settings.), #2 (Front end XML feed view.)
wp-custom-post-rss-feed/wp-custom-post-rss-feed.php Passed 13 tests
The main file in "WP Custom Post RSS Feed" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
60 characters long description:
Plugin helps to generate xml feeds of post/page/custom post.
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 detected221 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 41 | 23 | 178 |
CSS | 1 | 9 | 2 | 43 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.49MB with 0.31MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 43.29KB | 19.74KB | ▼ 54.40% |
screenshot-2.png | 459.89KB | 132.96KB | ▼ 71.09% |