Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼296.39ms] Passed 4 tests
Analyzing server-side resources used by RSS News Scroller
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 55.92 ▲0.93 |
Dashboard /wp-admin | 3.42 ▲0.01 | 35.10 ▲1.47 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 34.20 ▼2.17 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 93.15 ▼1,176.00 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 25.36 ▼8.33 |
RSS News Scroller by Vimal Ghorecha /wp-admin/options-general.php?page=rss-news-scroller/rss-news-scroller-by-vimal-ghorecha.php | 3.25 | 23.71 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 10 new options
New WordPress options |
---|
vhg_title |
vhg_full3D |
vhg_rss_title |
vhg_pause |
vhg_news_items |
vhg_opacity |
vhg_rss_url |
vhg_shading |
vhg_speed |
vhg_direction |
Browser metrics Passed 4 tests
An overview of browser requirements for RSS News Scroller
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,802 ▲45 | 15.69 ▲0.45 | 8.40 ▲1.01 | 3.33 ▲0.73 |
Dashboard /wp-admin | 2,893 ▲33 | 6.15 ▼0.11 | 121.10 ▼3.44 | 160.48 ▼1.16 |
Posts /wp-admin/edit.php | 2,690 ▲5 | 3.22 ▼0.01 | 67.51 ▲1.09 | 156.83 ▲9.46 |
Add New Post /wp-admin/post-new.php | 1,714 ▲59 | 20.91 ▲0.51 | 461.06 ▲27.13 | 160.22 ▼12.29 |
Media Library /wp-admin/upload.php | 1,703 ▲8 | 5.52 ▲0.05 | 149.40 ▲6.49 | 191.83 ▼10.43 |
RSS News Scroller by Vimal Ghorecha /wp-admin/options-general.php?page=rss-news-scroller/rss-news-scroller-by-vimal-ghorecha.php | 1,084 | 2.38 | 79.55 | 109.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=rss-news-scroller/rss-news-scroller-by-vimal-ghorecha.php
- > Notice in wp-content/plugins/rss-news-scroller/rss-news-scroller-by-vimal-ghorecha.php+177
Undefined index: vhg_submit
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× 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-news-scroller/rss-news-scroller-by-vimal-ghorecha.php:262
- > 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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: rss, news, scroller
rss-news-scroller/rss-news-scroller-by-vimal-ghorecha.php 92% from 13 tests
The main file in "RSS News Scroller" v. 2.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("rss-news-scroller.php" instead of "rss-news-scroller-by-vimal-ghorecha.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected690 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 26 | 73 | 503 |
PHP | 1 | 45 | 36 | 187 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
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 | 10 | |
▷ Named functions | 10 | 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
2 compressed PNG files occupy 0.00MB
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
imageCubeShad.png | 0.08KB | 0.08KB | ▼ 3.53% |
imageCubeHigh.png | 0.14KB | 0.11KB | ▼ 21.83% |