Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼149.02ms] Passed 4 tests
This is a short check of server-side resources used by Featured Image In RSS Feed
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 22.78 ▼2.04 |
Dashboard /wp-admin | 3.07 ▲0.00 | 32.50 ▼3.34 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 31.00 ▲1.97 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.01 | 66.10 ▼591.52 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 22.79 ▲0.84 |
Image In Rss Feed /wp-admin/options-general.php?page=z-featured-image-in-rss-feed/plugin_interface.php | 2.96 | 21.98 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
fir_rss_image_size |
Browser metrics Passed 4 tests
A check of browser resources used by Featured Image In RSS Feed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,671 ▲70 | 15.95 ▲0.00 | 4.84 ▼0.21 | 76.69 ▲0.73 |
Dashboard /wp-admin | 2,935 ▲40 | 6.04 ▼0.14 | 115.77 ▼16.20 | 166.83 ▼8.63 |
Posts /wp-admin/edit.php | 2,745 ▲8 | 3.36 ▲0.11 | 62.89 ▲0.11 | 138.48 ▼1.86 |
Add New Post /wp-admin/post-new.php | 3,725 ▼10 | 18.72 ▼0.26 | 418.60 ▼19.10 | 160.13 ▼0.85 |
Media Library /wp-admin/upload.php | 1,757 ▲5 | 5.53 ▲0.02 | 147.45 ▲0.78 | 186.97 ▲4.23 |
Image In Rss Feed /wp-admin/options-general.php?page=z-featured-image-in-rss-feed/plugin_interface.php | 1,095 | 2.36 | 51.22 | 127.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 1 option in the database
- fir_rss_image_size
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/z-featured-image-in-rss-feed/z-featured-image-in-rss-feed.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/z-featured-image-in-rss-feed/plugin_interface.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Requires at least: The plugin version is formatted incorrectly
z-featured-image-in-rss-feed/z-featured-image-in-rss-feed.php Passed 13 tests
The principal PHP file in "Featured Image In RSS Feed" v. 0.3 is loaded by WordPress automatically on each request
63 characters long description:
Add Featured Image to your RSS Feed w/ CSS set to display:none.
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 plugin58 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 9 | 9 | 58 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
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 | 4 | |
▷ Named functions | 4 | 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
No PNG images were found in this plugin