90% missed-schedule-post-publisher

Code Review | Missed Schedule Post Publisher

WordPress plugin Missed Schedule Post Publisher scored 90% from 54 tests.

About plugin

  • Plugin page: missed-schedule-p...
  • Plugin version: 1.0.3
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3.1
  • WordPress version: 6.3.1
  • First release: Jul 27, 2018
  • Latest release: Sep 18, 2023
  • Number of updates: 34
  • Update frequency: every 55.3 days
  • Top authors: ufukart (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

3,000+ active / 13,781 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
This plugin's installer ran successfully

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

This is a short check of server-side resources used by Missed Schedule Post Publisher
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0237.71 ▼2.47
Dashboard /wp-admin3.32 ▲0.0246.68 ▼14.04
Posts /wp-admin/edit.php3.37 ▲0.0249.45 ▼0.80
Add New Post /wp-admin/post-new.php5.90 ▲0.0289.05 ▼9.11
Media Library /wp-admin/upload.php3.24 ▲0.0136.91 ▲4.78
Missed Schedule /wp-admin/options-general.php?page=missed-schedule-post-publisher3.2131.81

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

How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 8 new options
New WordPress options
theysaidso_admin_options
widget_recent-posts
mspp_last_execute_time
widget_theysaidso_widget
db_upgraded
mspp_execute_time
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Missed Schedule Post Publisher
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.16 ▼1.234.42 ▲2.4740.92 ▼3.04
Dashboard /wp-admin2,204 ▲195.81 ▼0.05106.99 ▲0.7838.46 ▼2.67
Posts /wp-admin/edit.php2,096 ▲42.01 ▼0.0340.17 ▼1.4737.04 ▼0.04
Add New Post /wp-admin/post-new.php1,536 ▲1723.56 ▲0.28681.51 ▲15.7858.88 ▲5.59
Media Library /wp-admin/upload.php1,392 ▲14.18 ▼0.0794.75 ▼8.1939.69 ▼4.00
Missed Schedule /wp-admin/options-general.php?page=missed-schedule-post-publisher8132.0525.1324.30

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files

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)
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: scheduled post, scheduled posts, schedule, missed schedule, trigger...

missed-schedule-post-publisher/missed-schedule-post-publisher.php 92% from 13 tests

The principal PHP file in "Missed Schedule Post Publisher" v. 1.0.3 is loaded by WordPress automatically on each request
The following require your attention:
  • Domain Path: The domain path points to a folder that does not exist ("/languages/")

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
Success! There were no dangerous files found in this plugin62 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP194162

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.43
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%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected