89% embed-sched

Code Review | Sched Event Management Software

WordPress plugin Sched Event Management Software scored89%from 54 tests.

About plugin

  • Plugin page: embed-sched
  • Plugin version: 1.1.9
  • PHP version: 7.4.16
  • WordPress compatibility: 3.4-5.9
  • WordPress version: 6.3.1
  • First release: May 7, 2019
  • Latest release: Feb 22, 2022
  • Number of updates: 55
  • Update frequency: every 18.6 days
  • Top authors: schedllc (100%)

Code review

54 tests

User reviews

32 reviews

Install metrics

300+ active /42,925 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully

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

Server-side resources used by Sched Event Management Software
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0346.00 ▲1.64
Dashboard /wp-admin3.33 ▼0.0150.92 ▼19.50
Posts /wp-admin/edit.php3.38 ▲0.0350.02 ▼2.81
Add New Post /wp-admin/post-new.php5.91 ▲0.0390.32 ▼22.58
Media Library /wp-admin/upload.php3.26 ▲0.0341.63 ▲4.73

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

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

Browser metrics Passed 4 tests

Sched Event Management Software: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲4314.31 ▼0.041.87 ▲0.0442.69 ▼5.94
Dashboard /wp-admin2,195 ▲155.59 ▼0.0589.91 ▼8.7743.01 ▼1.30
Posts /wp-admin/edit.php2,100 ▼02.01 ▼0.0141.01 ▲5.1635.62 ▼2.07
Add New Post /wp-admin/post-new.php1,526 ▼023.16 ▼0.41660.86 ▼28.2455.43 ▼0.34
Media Library /wp-admin/upload.php1,403 ▲64.24 ▲0.04113.40 ▲6.1843.57 ▼2.82

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
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-posts
    • 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
The smoke test was a success, however most plugin functionality was not tested

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 90% 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
Attributes that need to be fixed:
  • Screenshots: These screenshots lack descriptions #1, #2, #3 in embed-sched/assets to your readme.txt
The official readme.txt might help

embed-sched/sched-embed.php 85% from 13 tests

The main file in "Sched Event Management Software" v. 1.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
  • Domain Path: The domain path folder was not found ("/languages/")
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("embed-sched.php" instead of "sched-embed.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin139 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP16184139

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity15.00
▷ Minimum class complexity4.00
▷ Maximum class complexity26.00
Average method complexity4.11
▷ Minimum method complexity1.00
▷ Maximum method complexity20.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods9
▷ Static methods111.11%
▷ Public methods888.89%
▷ Protected methods00.00%
▷ Private methods111.11%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin