Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼142.17ms] Passed 4 tests
An overview of server-side resources used by Better user interface and experience for Bookly | Sbita Bookly Ui
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.96 ▲0.24 | 36.09 ▲16.39 |
Dashboard /wp-admin | 3.24 ▲0.19 | 47.81 ▲1.25 |
Posts /wp-admin/edit.php | 3.29 ▲0.18 | 47.91 ▲2.11 |
Add New Post /wp-admin/post-new.php | 5.54 ▲0.10 | 93.38 ▼564.61 |
Media Library /wp-admin/upload.php | 3.12 ▲0.12 | 28.10 ▼7.43 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 39 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Better user interface and experience for Bookly | Sbita Bookly Ui
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,731 ▲125 | 16.26 ▲0.19 | 9.57 ▼1.54 | 53.30 ▲7.91 |
Dashboard /wp-admin | 2,995 ▲59 | 5.95 ▼0.11 | 152.97 ▼4.81 | 104.21 ▼9.58 |
Posts /wp-admin/edit.php | 2,768 ▲29 | 2.71 ▲0.01 | 69.35 ▲4.88 | 89.55 ▲2.94 |
Add New Post /wp-admin/post-new.php | 1,702 ▲19 | 18.42 ▲0.03 | 408.44 ▲7.25 | 106.73 ▼2.04 |
Media Library /wp-admin/upload.php | 1,777 ▼33 | 5.00 ▼0.06 | 157.46 ▲3.04 | 112.87 ▼0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
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 Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: bookly, add-on, booking, ui, elementor
sbita-bookly-ui-add-on/main.php 77% from 13 tests
Analyzing the main PHP file in "Better user interface and experience for Bookly | Sbita Bookly Ui" version 1.0.4
You should first fix the following items:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("sbita-bookly-ui-add-on.php" instead of "main.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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 plugin1,750 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 33 | 382 | 554 | 1,519 |
CSS | 1 | 41 | 8 | 157 |
JavaScript | 1 | 6 | 0 | 37 |
Markdown | 1 | 5 | 0 | 37 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 3.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 62 | |
▷ Static methods | 42 | 67.74% |
▷ Public methods | 56 | 90.32% |
▷ Protected methods | 4 | 6.45% |
▷ Private methods | 2 | 3.23% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 4 | |
▷ Global constants | 2 | 50.00% |
▷ Class constants | 2 | 50.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin