Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▼1.24ms] Passed 4 tests
An overview of server-side resources used by RSS Feed Podcast by Categories
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 37.77 ▲0.72 |
Dashboard /wp-admin | 3.32 ▲0.01 | 45.48 ▼1.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.91 ▲0.71 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.45 ▼3.55 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.47 ▼1.09 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for RSS Feed Podcast by Categories
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 13.63 ▼0.67 | 1.89 ▲0.07 | 40.09 ▼1.03 |
Dashboard /wp-admin | 2,203 ▲12 | 5.84 ▲0.96 | 97.65 ▼8.03 | 40.32 ▼1.99 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▲0.01 | 39.32 ▲2.24 | 34.19 ▼1.99 |
Add New Post /wp-admin/post-new.php | 1,544 ▲25 | 18.51 ▼4.66 | 664.10 ▼16.63 | 60.93 ▼2.29 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.19 ▲0.04 | 95.63 ▼10.85 | 43.59 ▼0.66 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
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)
Even though no errors were found, this is by no means an exhaustive test
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
Almost there! Just fix the following items
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rss-feed-podcast-by-categories/rssreader.php:68
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rss-feed-podcast-by-categories/rssreadershortcode.php on line 154
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/rss-feed-podcast-by-categories/rssreadershortcode.php on line 146
- > PHP Notice
Undefined variable: wporg_atts in wp-content/plugins/rss-feed-podcast-by-categories/rssreadershortcode.php on line 146
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_remote_get() in wp-content/plugins/rss-feed-podcast-by-categories/rssreadershortcode.php:15
- > PHP Notice
Undefined variable: wporg_atts in wp-content/plugins/rss-feed-podcast-by-categories/rssreadershortcode.php on line 154
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
4 plugin tags: category, feed, rss, podcast
rss-feed-podcast-by-categories/rssreader.php 92% from 13 tests
"RSS Feed Podcast by Categories" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("rss-feed-podcast-by-categories.php" instead of "rssreader.php")
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
Success! There were no dangerous files found in this plugin5,965 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 8 | 2,233 | 6,916 | 5,511 |
CSS | 2 | 22 | 55 | 174 |
PHP | 2 | 34 | 30 | 174 |
SVG | 4 | 0 | 4 | 83 |
HTML | 1 | 3 | 0 | 23 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
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 | 11 | |
▷ Named functions | 11 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected