84% vertically-scroll-rss-feed

Code Review | Vertically scroll rss feed

WordPress plugin Vertically scroll rss feed scored84%from 54 tests.

About plugin

  • Plugin page: vertically-scroll...
  • Plugin version: 11.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.1
  • WordPress version: 6.3.1
  • First release: Jul 1, 2009
  • Latest release: Dec 1, 2022
  • Number of updates: 84
  • Update frequency: every 58.4 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

400+ active /53,397 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼2.63ms] Passed 4 tests

A check of server-side resources used by Vertically scroll rss feed
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0240.61 ▼1.00
Dashboard /wp-admin3.32 ▲0.0245.59 ▼2.99
Posts /wp-admin/edit.php3.37 ▲0.0245.85 ▼1.35
Add New Post /wp-admin/post-new.php5.90 ▲0.0286.38 ▼5.18
Media Library /wp-admin/upload.php3.24 ▲0.0134.06 ▼0.13
Vertically scroll rss /wp-admin/options-general.php?page=vertically-scroll-rss-feed3.2130.77

Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 19 new options
New WordPress options
gVerticalscroll_rssfeed_url
widget_recent-comments
gVerticalscroll_rssfeed_slidetimeout
gVerticalscroll_rssfeed_font
widget_theysaidso_widget
can_compress_scripts
gVerticalscroll_rssfeed_slidedirection
db_upgraded
gVerticalscroll_rssfeed_noannouncement
gVerticalscroll_rssfeed_title
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Vertically scroll rss feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.23 ▼1.391.72 ▼0.1443.04 ▼2.20
Dashboard /wp-admin2,213 ▲254.84 ▼1.06107.21 ▼6.8741.12 ▼1.73
Posts /wp-admin/edit.php2,096 ▲102.04 ▲0.0337.97 ▼0.2234.13 ▼4.65
Add New Post /wp-admin/post-new.php1,524 ▼923.13 ▼0.01627.40 ▼50.1253.22 ▼0.37
Media Library /wp-admin/upload.php1,395 ▲134.25 ▲0.0399.92 ▲4.4340.72 ▼6.55
Vertically scroll rss /wp-admin/options-general.php?page=vertically-scroll-rss-feed9412.0221.6626.29

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
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/vertically-scroll-rss-feed/vertically-scroll-rss-feed.php:425

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: feed, vertically, rss, scroll

vertically-scroll-rss-feed/vertically-scroll-rss-feed.php Passed 13 tests

The main PHP file in "Vertically scroll rss feed" ver. 11.1 adds more information about the plugin and also serves as the entry point for this plugin
129 characters long description:
This plug-in scroll the RSS feed title vertically in the widget, admin can add/update the RSS link & style via widget management.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected659 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP24515405
JavaScript110161
PO File2323493

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.07
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions10
▷ Named functions10100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin