Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.01ms] Passed 4 tests
A check of server-side resources used by RSS News Scroller
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.20 ▼2.00 |
Dashboard /wp-admin | 3.35 ▲0.05 | 50.98 ▼6.04 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 51.06 ▲1.72 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.05 | 88.89 ▼9.41 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 36.78 ▼2.57 |
RSS News /wp-admin/options-general.php?page=rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php | 3.22 | 32.56 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 12 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_recent-comments |
npr_rss_url |
npr_speed |
npr_autoplay |
npr_title |
npr_rss_title |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
RSS News Scroller: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲87 | 13.24 ▼1.14 | 2.99 ▲0.85 | 46.01 ▼13.02 |
Dashboard /wp-admin | 2,210 ▲19 | 5.79 ▲0.90 | 108.71 ▲0.86 | 43.48 ▲1.76 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▲0.01 | 35.31 ▼5.99 | 32.63 ▼5.18 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.24 ▲0.04 | 644.09 ▲14.08 | 49.67 ▼5.66 |
Media Library /wp-admin/upload.php | 1,389 ▼2 | 4.16 ▼0.08 | 103.22 ▲3.45 | 41.93 ▼1.74 |
RSS News /wp-admin/options-general.php?page=rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php | 865 | 2.03 | 27.42 | 26.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php
- > Notice in wp-content/plugins/rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php+197
Undefined index: npr_submit
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 take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php:283
- > PHP Warning
Use of undefined constant WPINC - assumed 'WPINC' (this will throw an Error in a future version of PHP) in wp-content/plugins/rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php on line 30
- > PHP Warning
include_once(ABSPATHWPINC/feed.php): failed to open stream: No such file or directory in wp-content/plugins/rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php on line 30
- > PHP Warning
include_once(): Failed opening 'ABSPATHWPINC/feed.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php on line 30
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php on line 30
- > 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 issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add images for these screenshots: #1 (The screenshot description corresponds to screenshot-1.(png|jpg|jpeg|gif).), #2 (The screenshot description corresponds to screenshot-2.(png|jpg|jpeg|gif).), #3 (The screenshot description corresponds to screenshot-3.(png|jpg|jpeg|gif).)
rss-news-scroller-by-pierpaolo-romanelli/rss-news-by-pierpaolo-romanelli.php 92% from 13 tests
The main PHP file in "RSS News Scroller" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("rss-news-scroller-by-pierpaolo-romanelli.php" instead of "rss-news-by-pierpaolo-romanelli.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
There were no executable files found in this plugin1,919 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 84 | 559 | 995 |
Markdown | 1 | 95 | 0 | 483 |
PHP | 1 | 50 | 29 | 210 |
CSS | 1 | 34 | 22 | 148 |
HTML | 1 | 24 | 0 | 58 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
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
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
jqueryslider/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |