79% delay-rss-feeds

Code Review | Delay RSS Feeds

WordPress plugin Delay RSS Feeds scored79%from 54 tests.

About plugin

  • Plugin page: delay-rss-feeds
  • Plugin version: 1.3
  • PHP compatiblity: 5.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.6
  • WordPress version: 6.3.1
  • First release: Feb 2, 2019
  • Latest release: Jan 7, 2021
  • Number of updates: 6
  • Update frequency: every 117.5 days
  • Top authors: techofweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active /793 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
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Delay RSS Feeds
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.51 ▼2.35
Dashboard /wp-admin3.33 ▲0.0248.86 ▼2.81
Posts /wp-admin/edit.php3.38 ▲0.0248.92 ▼2.74
Add New Post /wp-admin/post-new.php5.91 ▲0.0286.47 ▼5.31
Media Library /wp-admin/upload.php3.26 ▲0.0242.27 ▲7.37
Delay RSS Feeds /wp-admin/options-general.php?page=delay_rss_feeds3.2032.65

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
db_upgraded
widget_recent-posts
can_compress_scripts
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Delay RSS Feeds
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲714.75 ▲0.391.89 ▼0.1544.32 ▼0.07
Dashboard /wp-admin2,202 ▲285.62 ▼0.0188.65 ▼17.6843.69 ▼2.22
Posts /wp-admin/edit.php2,104 ▲42.03 ▲0.0242.34 ▲3.1139.22 ▲1.90
Add New Post /wp-admin/post-new.php1,553 ▲2722.92 ▲5.40698.81 ▲6.6159.75 ▲6.58
Media Library /wp-admin/upload.php1,398 ▲14.25 ▼0.0998.21 ▼8.3243.89 ▼2.26
Delay RSS Feeds /wp-admin/options-general.php?page=delay_rss_feeds8372.0227.8831.48

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
  • 4 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=delay_rss_feeds
    • > Notice in wp-content/plugins/delay-rss-feeds/delay-rss-feeds.php+98
    Trying to access array offset on value of type bool

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/delay-rss-feeds/delay-rss-feeds.php

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 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
7 plugin tags: delay rss, pause feed, pause rss, delay posts, delay posts in rss...

delay-rss-feeds/delay-rss-feeds.php Passed 13 tests

"Delay RSS Feeds" version 1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
70 characters long description:
A plugin to delay your wordpress posts in publishing to your RSS feed.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected80 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1142580

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.24
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.PNG11.95KB5.96KB▼ 50.12%