84% marquee-xml-rss-feed-scroll

Code Review | Marquee xml rss feed scroll

WordPress plugin Marquee xml rss feed scroll scored84%from 54 tests.

About plugin

  • Plugin page: marquee-xml-rss-f...
  • Plugin version: 7.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-6.1
  • WordPress version: 6.3.1
  • First release: Aug 11, 2011
  • Latest release: Dec 1, 2022
  • Number of updates: 48
  • Update frequency: every 86.0 days
  • Top authors: gopiplus (100%)

Code review

54 tests

User reviews

1 review

Install metrics

500+ active /21,674 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼1.18ms] Passed 4 tests

An overview of server-side resources used by Marquee xml rss feed scroll
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0740.30 ▼3.69
Dashboard /wp-admin3.38 ▲0.0850.24 ▼4.88
Posts /wp-admin/edit.php3.43 ▲0.0751.02 ▲1.70
Add New Post /wp-admin/post-new.php5.96 ▲0.0795.64 ▲2.51
Media Library /wp-admin/upload.php3.30 ▲0.0738.73 ▲2.14
Marquee xml rss feed /wp-admin/options-general.php?page=marquee-xml-rss-feed-scroll/marquee-xml-rss-feed-scroll.php3.2733.37

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 18 new options
New WordPress options
db_upgraded
can_compress_scripts
widget_theysaidso_widget
mxrf_rss1
mxrf_rss3
mxrf_rss2
mxrf_rss5
widget_recent-comments
mxrf_target
mxrf_direction
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Marquee xml rss feed scroll
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.73 ▲0.351.79 ▼0.2144.64 ▼2.47
Dashboard /wp-admin2,199 ▲225.64 ▼0.2092.27 ▼11.0140.53 ▼5.95
Posts /wp-admin/edit.php2,104 ▲42.04 ▼0.0039.64 ▲5.2535.04 ▼3.21
Add New Post /wp-admin/post-new.php1,548 ▲323.31 ▲0.08669.69 ▲45.8859.59 ▲10.59
Media Library /wp-admin/upload.php1,404 ▲74.10 ▼0.09100.20 ▼7.2644.15 ▼4.32
Marquee xml rss feed /wp-admin/options-general.php?page=marquee-xml-rss-feed-scroll/marquee-xml-rss-feed-scroll.php9082.0528.0731.95

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-posts
    • db_upgraded

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
  • 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/marquee-xml-rss-feed-scroll/marquee-xml-rss-feed-scroll.php:75

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 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
4 plugin tags: title, post, marquee, scroll

marquee-xml-rss-feed-scroll/marquee-xml-rss-feed-scroll.php Passed 13 tests

"Marquee xml rss feed scroll" version 7.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
108 characters long description:
Marquee xml rss feed scroll is a simple wordpress plugin to create the marquee in the website with rss feed.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected468 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP26018347
PO File24658121

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
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%
Functions11
▷ Named functions11100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin