Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.72ms] Passed 4 tests
Analyzing server-side resources used by VisualWP Restrict RSS Feeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.21 ▼0.58 |
Dashboard /wp-admin | 3.32 ▼0.03 | 49.78 ▼20.60 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.87 ▲0.85 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 97.32 ▼2.56 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.34 ▲2.43 |
Restrict RSS Feed /wp-admin/options-general.php?page=visualwp-restrict-rss | 3.21 | 36.16 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for VisualWP Restrict RSS Feeds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲59 | 14.35 ▲0.00 | 2.18 ▲0.45 | 42.08 ▲0.24 |
Dashboard /wp-admin | 2,201 ▲21 | 5.61 ▲0.04 | 94.61 ▼3.30 | 39.66 ▲1.26 |
Posts /wp-admin/edit.php | 2,109 ▲9 | 2.02 ▲0.00 | 38.92 ▲3.37 | 34.84 ▼0.93 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.34 ▲5.25 | 672.19 ▲37.94 | 62.99 ▼5.36 |
Media Library /wp-admin/upload.php | 1,409 ▲6 | 4.21 ▼0.02 | 111.90 ▲7.10 | 50.36 ▲3.30 |
Restrict RSS Feed /wp-admin/options-general.php?page=visualwp-restrict-rss | 866 | 2.11 | 26.73 | 39.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/visualwp-restrict-rss-feeds/visualwp-restrict-rss.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
3 plugin tags: feed, disable, rss
visualwp-restrict-rss-feeds/visualwp-restrict-rss.php 92% from 13 tests
The primary PHP file in "VisualWP Restrict RSS Feeds" version 1.0.2 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("visualwp-restrict-rss-feeds.php" instead of "visualwp-restrict-rss.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
No dangerous file extensions were detected569 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 67 | 39 | 370 |
PHP | 1 | 62 | 26 | 199 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
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 | 8 | |
▷ Named functions | 8 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/vwp-logo.png | 6.17KB | 3.20KB | ▼ 48.24% |
admin/images/vwp-restrict-rss.png | 23.76KB | 10.29KB | ▼ 56.67% |
admin/images/donate.png | 4.63KB | 4.64KB | 0.00% |