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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼5.94ms] Passed 4 tests
Analyzing server-side resources used by Cubilis Fastbooker - Wordpress plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 41.17 ▼0.45 |
Dashboard /wp-admin | 3.44 ▲0.09 | 51.31 ▼14.71 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 48.62 ▼1.01 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 98.98 ▼7.59 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 41.91 ▲2.82 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 68 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_cubilis_fastbooker_widget |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Cubilis Fastbooker - Wordpress plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,930 ▲184 | 13.68 ▼1.07 | 6.94 ▲5.20 | 39.09 ▲0.68 |
Dashboard /wp-admin | 2,218 ▲29 | 5.84 ▼0.09 | 103.49 ▼2.24 | 79.18 ▲37.13 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 1.98 ▼0.02 | 37.88 ▲3.63 | 36.87 ▲2.12 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 18.19 ▼5.06 | 737.57 ▲48.39 | 64.35 ▲3.05 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.15 ▼0.03 | 101.72 ▼3.00 | 81.74 ▲35.96 |
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 does not fully uninstall, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_cubilis_fastbooker_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
stardekk-cubilis-fastbooker/cubilis-fastbooker.php 69% from 13 tests
The entry point to "Cubilis Fastbooker - Wordpress plugin" version v.2.4.0... is a PHP file that has certain tags in its header comment area
The following require your attention:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "v.2.4.0...")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Description: Please don't use more than 140 characters for the plugin description (currently 324 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("stardekk-cubilis-fastbooker.php" instead of "cubilis-fastbooker.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin4,050 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 336 | 251 | 1,949 |
PO File | 8 | 376 | 424 | 1,078 |
CSS | 3 | 63 | 28 | 598 |
PHP | 4 | 78 | 70 | 423 |
JSON | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 43.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 11.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.03MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/cubilis_klein.png | 16.54KB | 1.02KB | ▼ 93.83% |
trunk/assets/cubilis_klein.png | 16.54KB | 1.02KB | ▼ 93.83% |