89% management-booking-services-xcloud-pro

Code Review | Management & Booking Services - xCloud.pro

WordPress plugin Management & Booking Services - xCloud.pro scored89%from 54 tests.

About plugin

  • Plugin page: management-bookin...
  • Plugin version: 1.0.5
  • PHP compatiblity: 5.5+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.2.2-6.2
  • WordPress version: 6.3.1
  • First release: Nov 23, 2017
  • Latest release: Apr 14, 2023
  • Number of updates: 7
  • Update frequency: every 281.1 days
  • Top authors: lucianopreite (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /707 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.01MB] [CPU: ▲1.28ms] Passed 4 tests

A check of server-side resources used by Management & Booking Services - xCloud.pro
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0044.76 ▲0.26
Dashboard /wp-admin3.32 ▲0.0152.69 ▲0.31
Posts /wp-admin/edit.php3.37 ▲0.0152.91 ▲0.94
Add New Post /wp-admin/post-new.php5.90 ▲0.01103.81 ▲7.22
Media Library /wp-admin/upload.php3.24 ▲0.0139.81 ▲3.59

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

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

Browser metrics Passed 4 tests

An overview of browser requirements for Management & Booking Services - xCloud.pro
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,856 ▲9513.24 ▼0.721.94 ▼0.2139.59 ▼6.06
Dashboard /wp-admin2,228 ▲315.90 ▲0.95128.78 ▲10.5554.85 ▲8.76
Posts /wp-admin/edit.php2,119 ▲162.04 ▲0.0139.87 ▼5.4336.36 ▼2.12
Add New Post /wp-admin/post-new.php1,558 ▲14923.46 ▲5.54681.26 ▲71.3549.49 ▼7.26
Media Library /wp-admin/upload.php1,413 ▲134.17 ▼0.0499.93 ▼16.6144.17 ▼6.73

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting 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
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention: Please take inspiration from this readme.txt

management-booking-services-xcloud-pro/management-booking-services-xcloud-pro.php 85% from 13 tests

The entry point to "Management & Booking Services - xCloud.pro" version 1.0.5 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 277 characters long)
  • Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin141 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP3282482
PO File1204159

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.10
Average class complexity1.00
▷ Minimum class complexity1.00
▷ Maximum class complexity1.00
Average method complexity1.00
▷ Minimum method complexity1.00
▷ Maximum method complexity1.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants00.00%
▷ Class constants2100.00%
▷ Public constants2100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected