78% mediamaster-reader-rss

Code Review | RSS Reader Animated

WordPress plugin RSS Reader Animated scored78%from 54 tests.

About plugin

  • Plugin page: mediamaster-reade...
  • Plugin version: 2.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-4.3.1
  • WordPress version: 6.3.1
  • First release: Jan 29, 2013
  • Latest release: Dec 6, 2015
  • Number of updates: 37
  • Update frequency: every 28.1 days
  • Top authors: ulmdesign (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

40+ active /7,151 total downloads

Benchmarks

Plugin footprint 83% from 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.05MB] [CPU: ▼2.10ms] Passed 4 tests

An overview of server-side resources used by RSS Reader Animated
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0550.77 ▲7.83
Dashboard /wp-admin3.36 ▲0.0646.59 ▼1.58
Posts /wp-admin/edit.php3.41 ▲0.0551.55 ▼1.03
Add New Post /wp-admin/post-new.php5.94 ▲0.0593.37 ▼6.84
Media Library /wp-admin/upload.php3.28 ▲0.0535.86 ▲1.04

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 21 new options
New WordPress options
pub_date
aRSS_source_media
aRSS_social_user
widget_recent-posts
db_upgraded
aRSS_input_paginate
can_compress_scripts
theysaidso_admin_options
aRSS_date_visible
widget_theysaidso_widget
...

Browser metrics Passed 4 tests

RSS Reader Animated: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,853 ▲10713.63 ▼0.996.23 ▲4.3349.44 ▲12.08
Dashboard /wp-admin2,222 ▲344.86 ▼0.03107.40 ▼1.7942.03 ▲0.70
Posts /wp-admin/edit.php2,108 ▲192.02 ▲0.0242.09 ▲4.8137.99 ▲3.19
Add New Post /wp-admin/post-new.php1,547 ▲3323.33 ▲5.74654.62 ▼14.9251.70 ▼4.31
Media Library /wp-admin/upload.php1,407 ▲164.24 ▲0.0196.65 ▼0.6243.88 ▼0.02

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 21 options
    • title_feeds
    • aRSS_input_url
    • widget_recent-comments
    • widget_recent-posts
    • aRSS_max_items
    • aRSS_target_link
    • aRSS_input_apikey
    • aRSS_input_pause
    • can_compress_scripts
    • aRSS_date_visible
    • ...

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test

SRP 0% 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× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/mediamaster-reader-rss/rss.php
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mediamaster-reader-rss/mediamaster_rd_rss.php:44

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed: You can take inspiration from this readme.txt

mediamaster-reader-rss/mediamaster_rd_rss.php 92% from 13 tests

"RSS Reader Animated" version 2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mediamaster-reader-rss.php" instead of "mediamaster_rd_rss.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected1,129 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript414041834
PHP22237198
CSS210097

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.00
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%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.24MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
js/hv.png2.80KB7.32KB0.00%
img/mediamaster_rss_reader_proicon.png100.12KB32.56KB▼ 67.48%
img/screenedit.png53.68KB17.17KB▼ 68.02%
js/hs.png2.62KB7.54KB0.00%
img/rssreaderpro.png31.69KB11.26KB▼ 64.46%