Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/rss-blogroll/rss-blogroll.php+30
Methods with the same name as their class will not be constructors in a future version of PHP; RSSBlogroll has a deprecated constructor
Server metrics [RAM: ▼1.84MB] [CPU: ▼55.71ms] Passed 4 tests
Server-side resources used by RSS Blogroll
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.16 ▼1.30 | 4.69 ▼41.05 |
Dashboard /wp-admin | 2.18 ▼1.17 | 6.29 ▼53.18 |
Posts /wp-admin/edit.php | 2.18 ▼1.18 | 6.29 ▼41.03 |
Add New Post /wp-admin/post-new.php | 2.18 ▼3.71 | 6.90 ▼87.56 |
Media Library /wp-admin/upload.php | 2.18 ▼1.05 | 5.64 ▼29.94 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_rssblogroll |
Browser metrics Passed 4 tests
RSS Blogroll: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.27 ▼1.03 | 1.61 ▼0.37 | 37.22 ▼11.95 |
Dashboard /wp-admin | 2,206 ▲15 | 5.85 ▲0.95 | 106.77 ▼15.97 | 37.84 ▼8.24 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.06 | 38.85 ▲2.80 | 37.64 ▲3.95 |
Add New Post /wp-admin/post-new.php | 1,535 ▲21 | 23.34 ▲5.53 | 620.57 ▼72.73 | 53.75 ▼10.05 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.22 ▲0.01 | 97.26 ▼2.36 | 44.11 ▼3.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/rss-blogroll/rss-blogroll.php+30
Methods with the same name as their class will not be constructors in a future version of PHP; RSSBlogroll has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_rssblogroll
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/rss-blogroll/rss-blogroll.php:30
- > 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)
No browser errors were detected
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 require attention:
- Screenshots: These screenshots require images: #1 (Example implementation), #2 (Widget options)
rss-blogroll/rss-blogroll.php Passed 13 tests
The primary PHP file in "RSS Blogroll" version 0.4 is used by WordPress to initiate all plugin functionality
74 characters long description:
Sidebar widget that links to latest articles from your favorite RSS feeds.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin222 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 50 | 27 | 222 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 36.00 |
▷ Minimum class complexity | 36.00 |
▷ Maximum class complexity | 36.00 |
Average method complexity | 8.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
2 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 97.94KB | 37.89KB | ▼ 61.31% |
screenshot-2.png | 47.28KB | 16.66KB | ▼ 64.77% |