90% snack-missed-schedule

Code Review | Snack Missed Schedule

WordPress plugin Snack Missed Schedule scored90%from 54 tests.

About plugin

  • Plugin page: snack-missed-sche...
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.3
  • WordPress version: 6.3.1
  • First release: Mar 2, 2022
  • Latest release: Aug 22, 2023
  • Number of updates: 10
  • Update frequency: every 53.8 days
  • Top authors: bouk (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /1,207 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.08MB] [CPU: ▼4.63ms] Passed 4 tests

A check of server-side resources used by Snack Missed Schedule
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.55 ▲0.0939.22 ▲2.70
Dashboard /wp-admin3.38 ▲0.0848.17 ▼2.86
Posts /wp-admin/edit.php3.50 ▲0.1447.80 ▼1.39
Add New Post /wp-admin/post-new.php5.96 ▲0.0888.24 ▼10.82
Media Library /wp-admin/upload.php3.30 ▲0.0835.70 ▼3.45

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by Snack Missed Schedule
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,825 ▲7913.54 ▼0.831.91 ▲0.0945.49 ▲0.92
Dashboard /wp-admin2,206 ▲155.85 ▲0.9696.91 ▼10.3140.34 ▼4.16
Posts /wp-admin/edit.php2,089 ▲32.05 ▼0.0038.91 ▲2.7234.32 ▼2.30
Add New Post /wp-admin/post-new.php1,533 ▲1423.18 ▲0.20685.91 ▲12.6652.06 ▼6.33
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.02106.44 ▼6.4947.39 ▼2.80

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
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
  • Donate link: Invalid url: ""
The official readme.txt might help

snack-missed-schedule/snack-missed-schedule.php Passed 13 tests

This is the main PHP file of "Snack Missed Schedule" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
37 characters long description:
Efficiently handles missed schedules.

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
Everything looks great! No dangerous files found in this plugin686 lines of code in 13 files:
LanguageFilesBlank linesComment linesLines of code
PHP12171452681
JSON1005

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.47
Average class complexity17.67
▷ Minimum class complexity1.00
▷ Maximum class complexity47.00
Average method complexity3.04
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces4
Interfaces0
Traits0
Classes6
▷ Abstract classes00.00%
▷ Concrete classes6100.00%
▷ Final classes00.00%
Methods50
▷ Static methods1836.00%
▷ Public methods4794.00%
▷ Protected methods00.00%
▷ Private methods36.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants4
▷ Global constants250.00%
▷ Class constants250.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin