78% delay-posts-in-rss-feed

Code Review | Delay Posts From Appearing in WordPress RSS Feed

WordPress plugin Delay Posts From Appearing in WordPress RSS Feed scored78%from 54 tests.

About plugin

  • Plugin page: delay-posts-in-rs...
  • Plugin version: 1.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.4
  • WordPress version: 6.3.1
  • First release: Oct 27, 2017
  • Latest release: Jul 7, 2020
  • Number of updates: 10
  • Update frequency: every 98.5 days
  • Top authors: inthiscode (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /1,840 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼7.23ms] Passed 4 tests

An overview of server-side resources used by Delay Posts From Appearing in WordPress RSS Feed
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0036.98 ▼5.66
Dashboard /wp-admin3.31 ▲0.0147.26 ▼4.52
Posts /wp-admin/edit.php3.37 ▲0.0147.36 ▼0.97
Add New Post /wp-admin/post-new.php5.90 ▲0.0182.15 ▼17.78
Media Library /wp-admin/upload.php3.24 ▲0.0137.08 ▲6.63
Delay Posts in RSS Feed /wp-admin/options-general.php?page=dpwrs_itc3.1830.17

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Delay Posts From Appearing in WordPress RSS Feed
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,793 ▲3214.35 ▲0.151.58 ▲0.0337.37 ▼5.04
Dashboard /wp-admin2,202 ▲225.61 ▼0.0485.88 ▼6.6535.89 ▼3.30
Posts /wp-admin/edit.php2,104 ▲72.02 ▼0.0236.08 ▼2.6831.95 ▼8.16
Add New Post /wp-admin/post-new.php1,529 ▲123.02 ▼0.13595.80 ▼8.4059.28 ▼5.66
Media Library /wp-admin/upload.php1,401 ▲14.11 ▼0.0796.64 ▼6.2441.31 ▼2.56
Delay Posts in RSS Feed /wp-admin/options-general.php?page=dpwrs_itc8342.0323.9829.79

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a short smoke test looking for 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=dpwrs_itc
    • > Notice in wp-content/plugins/delay-posts-in-rss-feed/delay-posts-rss-feed.php+98
    Trying to access array offset on value of type bool

SRP 50% 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
The following issues need your attention
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/delay-posts-in-rss-feed/delay-posts-rss-feed.php

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
4 plugin tags: rss feed, rss feed pause, delay posts in rss feed, delay posts

delay-posts-in-rss-feed/delay-posts-rss-feed.php 85% from 13 tests

Analyzing the main PHP file in "Delay Posts From Appearing in WordPress RSS Feed" version 1.3.1
Please make the necessary changes and fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("delay-posts-in-rss-feed.php" instead of "delay-posts-rss-feed.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected80 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1132680

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin