Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.23ms] Passed 4 tests
This is a short check of server-side resources used by feed-modify-on-your-choice
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.76 ▼7.48 |
Dashboard /wp-admin | 3.32 ▲0.01 | 43.40 ▼9.78 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 52.63 ▲4.22 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.67 ▼8.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.07 ▼2.69 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
feed-modify-on-your-choice: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.64 ▲0.34 | 1.92 ▲0.00 | 43.10 ▲1.07 |
Dashboard /wp-admin | 2,192 ▲12 | 5.58 ▼0.02 | 89.02 ▼17.10 | 37.88 ▼7.24 |
Posts /wp-admin/edit.php | 2,097 ▼3 | 2.05 ▼0.00 | 35.41 ▼4.90 | 30.31 ▼5.37 |
Add New Post /wp-admin/post-new.php | 1,554 ▲23 | 18.11 ▼5.04 | 652.35 ▼19.67 | 52.69 ▼0.49 |
Media Library /wp-admin/upload.php | 1,394 ▼9 | 4.26 ▼0.01 | 100.75 ▼6.38 | 47.16 ▲2.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
Almost there! Just fix the following items
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/rss-feed-modify-on-your-choice/feedfile/feed-atom-comments.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/rss-feed-modify-on-your-choice/feedfile/feed-atom.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function remove_filter() in wp-content/plugins/rss-feed-modify-on-your-choice/feed-modify-on-your-choice.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/rss-feed-modify-on-your-choice/feedfile/feed-rss2.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/rss-feed-modify-on-your-choice/feedfile/feed-rss.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/rss-feed-modify-on-your-choice/feedfile/feed-rss2-comments.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function feed_content_type() in wp-content/plugins/rss-feed-modify-on-your-choice/feedfile/feed-rdf.php:8
- > 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Donate link: Please fix this invalid url: ""
rss-feed-modify-on-your-choice/feed-modify-on-your-choice.php 85% from 13 tests
The main PHP script in "feed-modify-on-your-choice" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rss-feed-modify-on-your-choice.php" instead of "feed-modify-on-your-choice.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin599 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 101 | 366 | 580 |
PO File | 1 | 2 | 1 | 19 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 16.67% |
Functions | 28 | |
▷ Named functions | 28 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin