73% rss-chimp

Code Review | Featured images in RSS feed — RSS Chimp

WordPress plugin Featured images in RSS feed — RSS Chimp scored73%from 54 tests.

About plugin

  • Plugin page: rss-chimp
  • Plugin version: 1.2.5
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.9-6.2
  • WordPress version: 6.3.1
  • First release: Oct 4, 2019
  • Latest release: Jul 6, 2023
  • Number of updates: 43
  • Update frequency: every 31.9 days
  • Top authors: kerosindigital (69.77%)kerosco (32.56%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,377 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▲5.01MB] [CPU: ▲21.83ms] 75% from 4 tests

An overview of server-side resources used by Featured images in RSS feed — RSS Chimp
It is recommended to improve the following
  • Extra RAM: Extra memory usage must be kept under 5MB (currently 5.01MB on /wp-admin/admin.php?page=freemius)
PageMemory (MB)CPU Time (ms)
Home /8.86 ▲5.3963.27 ▲26.68
Dashboard /wp-admin8.91 ▲5.5686.62 ▲19.59
Posts /wp-admin/edit.php8.91 ▲5.5569.85 ▲21.36
Add New Post /wp-admin/post-new.php9.42 ▲3.53118.26 ▲19.68
Media Library /wp-admin/upload.php8.91 ▲5.6766.48 ▲28.83
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius8.9159.10

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 195 new files
Database: no new tables, 10 new options
New WordPress options
widget_theysaidso_widget
widget_recent-posts
rss_chimp_customfeed_name
fs_debug_mode
theysaidso_admin_options
fs_active_plugins
can_compress_scripts
widget_recent-comments
fs_accounts
db_upgraded

Browser metrics Passed 4 tests

An overview of browser requirements for Featured images in RSS feed — RSS Chimp
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,822 ▲7614.35 ▲0.001.85 ▲0.2131.91 ▼6.62
Dashboard /wp-admin2,228 ▲475.61 ▼0.1089.77 ▼9.8345.18 ▲1.09
Posts /wp-admin/edit.php2,134 ▲341.97 ▼0.0734.49 ▼5.3934.24 ▼5.63
Add New Post /wp-admin/post-new.php1,553 ▲1817.87 ▼0.07615.77 ▼20.1071.50 ▲6.32
Media Library /wp-admin/upload.php1,433 ▲334.20 ▼0.0293.72 ▼11.3745.23 ▼0.57
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius1,1011.6924.4027.40

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > Notice in wp-content/plugins/rss-chimp/freemius/includes/class-freemius.php+8486
    Undefined property: stdClass::$plugins
  • This plugin did not uninstall successfully, leaving 10 options in the database
    • fs_active_plugins
    • fs_accounts
    • fs_debug_mode
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • rss_chimp_customfeed_name
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments

Smoke tests 75% 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)
Everything seems fine, however this is by no means an exhaustive test

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
Please fix the following items
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/rss-chimp/admin/partials/rss-chimp-admin-display.php:17

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

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
5 plugin tags: featured image, images in rss, add featured image to rss, feed images, rss images

rss-chimp/rss-chimp.php 92% from 13 tests

The entry point to "Featured images in RSS feed — RSS Chimp" version 1.2.5 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
  • Description: The description should be shorter than 140 characters (currently 297 characters long)

Code Analysis 97% from 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
Everything looks great! No dangerous files found in this plugin34,495 lines of code in 146 files:
LanguageFilesBlank linesComment linesLines of code
PHP1268,12617,83033,900
PO File1184339270
JavaScript43660232
CSS14161872
SVG10021

PHP code 50% from 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Please fix the following
  • Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity
Average complexity per logical line of code0.62
Average class complexity83.81
▷ Minimum class complexity1.00
▷ Maximum class complexity3,073.00
Average method complexity4.48
▷ Minimum method complexity1.00
▷ Maximum method complexity94.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes54
▷ Abstract classes23.70%
▷ Concrete classes5296.30%
▷ Final classes00.00%
Methods1,313
▷ Static methods19915.16%
▷ Public methods92070.07%
▷ Protected methods171.29%
▷ Private methods37628.64%
Functions105
▷ Named functions10499.05%
▷ Anonymous functions10.95%
Constants146
▷ Global constants9967.81%
▷ Class constants4732.19%
▷ Public constants47100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant
FileSize - originalSize - compressedSavings
admin/assets/rss-chimp-icon.png5.14KB2.45KB▼ 52.38%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%