10% skeedee-booking-widget

Code Review | Skeedee Booking Widget

WordPress plugin Skeedee Booking Widget scored10%from 54 tests.

About plugin

  • Plugin page: skeedee-booking-w...
  • Plugin version: 1.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.1.1
  • WordPress version: 6.3.1
  • First release: Mar 26, 2023
  • Latest release: Mar 26, 2023
  • Number of updates: 9
  • Update frequency: every 0.3 days
  • Top authors: skeedee (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /93 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
  • This plugin did not install gracefully
    • > Parse error in wp-content/plugins/skeedee-booking-widget/skeedee-booking-widget.php+88
    syntax error, unexpected end of file

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.60ms] Passed 4 tests

Analyzing server-side resources used by Skeedee Booking Widget
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.90 ▼5.44
Dashboard /wp-admin3.30 ▲0.0044.44 ▼0.60
Posts /wp-admin/edit.php3.36 ▲0.0044.42 ▼2.98
Add New Post /wp-admin/post-new.php5.89 ▲0.0090.15 ▼1.36
Media Library /wp-admin/upload.php3.23 ▲0.0034.47 ▲0.84

Server storage [IO: ▲0.00MB] [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_recent-posts
widget_theysaidso_widget
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

Skeedee Booking Widget: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.26 ▼1.494.54 ▲2.9740.07 ▼2.79
Dashboard /wp-admin2,209 ▲205.86 ▲0.90104.96 ▼14.4039.58 ▼3.98
Posts /wp-admin/edit.php2,089 ▼01.98 ▼0.0739.16 ▼5.9434.61 ▼1.82
Add New Post /wp-admin/post-new.php1,543 ▲2422.92 ▼0.08572.79 ▼101.9960.43 ▲1.99
Media Library /wp-admin/upload.php1,388 ▼04.15 ▼0.0994.97 ▼4.7541.16 ▼2.53

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Parse error
      syntax error, unexpected end of file in wp-content/plugins/skeedee-booking-widget/skeedee-booking-widget.php on line 88

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Contributors: Plugin contributors field is missing
The official readme.txt is a good inspiration

skeedee-booking-widget/skeedee-booking-widget.php Passed 13 tests

The main PHP script in "Skeedee Booking Widget" version 1.0 is automatically included on every request by WordPress
91 characters long description:
Plugin will connect widget from Skeedee.com to your WordPress website without code editing.

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

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
No PNG images were found in this plugin