89% send-images-rss

Code Review | Send Images to RSS

WordPress plugin Send Images to RSS scored89%from 54 tests.

About plugin

  • Plugin page: send-images-rss
  • Plugin version: 3.4.1
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.9-5.5
  • WordPress version: 6.3.1
  • First release: Aug 9, 2014
  • Latest release: Sep 1, 2020
  • Number of updates: 39
  • Update frequency: every 56.8 days
  • Top authors: littler.chicken (100%)

Code review

54 tests

User reviews

26 reviews

Install metrics

5,000+ active /72,849 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.26MB] [CPU: ▼7.59ms] Passed 4 tests

Analyzing server-side resources used by Send Images to RSS
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.70 ▲0.2440.45 ▲0.22
Dashboard /wp-admin3.62 ▲0.2846.55 ▼13.60
Posts /wp-admin/edit.php3.67 ▲0.3250.98 ▼0.47
Add New Post /wp-admin/post-new.php6.14 ▲0.2589.45 ▼16.14
Media Library /wp-admin/upload.php3.48 ▲0.2536.94 ▼0.16
Send Images to RSS /wp-admin/options-general.php?page=sendimagesrss3.4531.73

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
can_compress_scripts
db_upgraded
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Send Images to RSS
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5813.15 ▼1.641.87 ▼0.1037.00 ▼4.07
Dashboard /wp-admin2,210 ▲185.88 ▲0.97109.77 ▲3.2341.78 ▼1.35
Posts /wp-admin/edit.php2,096 ▲72.10 ▲0.0839.93 ▼1.3336.32 ▲0.80
Add New Post /wp-admin/post-new.php1,538 ▲1922.91 ▼0.20622.26 ▲18.7756.05 ▼11.14
Media Library /wp-admin/upload.php1,386 ▼54.20 ▼0.0198.60 ▲1.0042.02 ▼0.23
Send Images to RSS /wp-admin/options-general.php?page=sendimagesrss1,0822.1523.2332.85

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success

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

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
  • Tags: Please delete some tags, you are using 11 tag instead of maximum 10
The official readme.txt might help

send-images-rss/send-images-rss.php 92% from 13 tests

The primary PHP file in "Send Images to RSS" version 3.4.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin1,211 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP92587851,091
PO File12333120

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity24.71
▷ Minimum class complexity3.00
▷ Maximum class complexity52.00
Average method complexity3.05
▷ Minimum method complexity1.00
▷ Maximum method complexity13.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods81
▷ Static methods00.00%
▷ Public methods3037.04%
▷ Protected methods4960.49%
▷ Private methods22.47%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.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
No PNG images were found in this plugin