WordPress plugin DaySchedule scored89%from 54 tests.

About plugin

  • Plugin page: dayschedule-appoi...
  • Plugin version: 0.0.6
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Jan 19, 2023
  • Latest release: Feb 9, 2023
  • Number of updates: 28
  • Update frequency: every 0.8 days
  • Top authors: dayschedule (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active /717 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼3.32ms] Passed 4 tests

A check of server-side resources used by DaySchedule
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0540.43 ▼2.96
Dashboard /wp-admin3.35 ▲0.0551.29 ▼0.92
Posts /wp-admin/edit.php3.47 ▲0.1153.89 ▼0.06
Add New Post /wp-admin/post-new.php5.94 ▲0.0495.97 ▼9.35
Media Library /wp-admin/upload.php3.28 ▲0.0437.44 ▲0.02

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

DaySchedule: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,861 ▲10021.50 ▲6.9884.79 ▲83.0742.27 ▼2.64
Dashboard /wp-admin2,215 ▲355.58 ▲0.0187.78 ▼4.8237.54 ▼5.19
Posts /wp-admin/edit.php2,117 ▲172.02 ▲0.0335.23 ▼3.0735.38 ▼2.21
Add New Post /wp-admin/post-new.php1,537 ▲1123.05 ▲0.07605.31 ▼88.9854.38 ▼8.86
Media Library /wp-admin/upload.php1,408 ▲54.21 ▼0.0297.58 ▼13.8143.15 ▼5.10

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 88% 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
Attributes that require attention:
  • Donate link: Please fix this invalid url: ""
  • Tags: You are using too many tags: 12 tag instead of maximum 10
You can look at the official readme.txt

dayschedule-appointment-event-and-service-booking/dayschedule.php 77% from 13 tests

"DaySchedule" version 0.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: Name the main plugin file the same as the plugin slug ("dayschedule-appointment-event-and-service-booking.php" instead of "dayschedule.php")
  • Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
  • Description: The description should be shorter than 140 characters (currently 486 characters long)

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
No dangerous file extensions were detected202 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
PHP664351184
JavaScript222117
CSS1001

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.15
Average class complexity1.75
▷ Minimum class complexity1.00
▷ Maximum class complexity3.00
Average method complexity1.21
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes125.00%
Methods14
▷ Static methods17.14%
▷ Public methods1178.57%
▷ Protected methods00.00%
▷ Private methods321.43%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.37MB with 0.25MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/icon-256x256.png12.37KB5.00KB▼ 59.55%
assets/screenshot-2.png88.65KB24.66KB▼ 72.18%
assets/banner-772x250.png77.86KB26.12KB▼ 66.45%
assets/screenshot-3.png97.27KB28.13KB▼ 71.08%
assets/screenshot-1.png100.61KB29.38KB▼ 70.80%