Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/youbaze-free-crm-contact-form/youbaze.php+633
Function create_function() is deprecated
Server metrics [RAM: ▼1.74MB] [CPU: ▼56.28ms] Passed 4 tests
Server-side resources used by YouBaze
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.25 ▼1.21 | 5.70 ▼41.93 |
Dashboard /wp-admin | 2.27 ▼1.03 | 7.96 ▼46.98 |
Posts /wp-admin/edit.php | 2.27 ▼1.08 | 6.95 ▼45.93 |
Add New Post /wp-admin/post-new.php | 2.27 ▼3.61 | 6.27 ▼90.29 |
Media Library /wp-admin/upload.php | 2.27 ▼0.96 | 5.98 ▼28.93 |
YouBaze /wp-admin/options-general.php?page=youbaze | 2.27 | 7.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
youbaze |
widget_youbaze |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
YouBaze: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▼17 | 13.32 ▼1.46 | 2.08 ▲0.01 | 44.74 ▲0.23 |
Dashboard /wp-admin | 2,212 ▲6 | 4.84 ▼0.03 | 105.14 ▼7.77 | 36.78 ▼5.37 |
Posts /wp-admin/edit.php | 2,074 ▼18 | 2.03 ▼0.01 | 33.66 ▼1.36 | 33.45 ▲1.76 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 23.25 ▲0.24 | 684.64 ▲10.06 | 56.85 ▼0.74 |
Media Library /wp-admin/upload.php | 1,394 ▲12 | 4.27 ▼0.05 | 92.75 ▼7.59 | 41.66 ▼1.59 |
YouBaze /wp-admin/options-general.php?page=youbaze | 792 | 2.03 | 24.69 | 27.73 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/youbaze-free-crm-contact-form/youbaze.php+633
Function create_function() is deprecated
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_youbaze
- widget_recent-posts
- widget_theysaidso_widget
- youbaze
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=youbaze
- > Deprecated in wp-content/plugins/youbaze-free-crm-contact-form/youbaze.php+633
Function create_function() is deprecated
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/youbaze-free-crm-contact-form/youbaze.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
9 plugin tags: form, contact form, contact, free business software, youbaze...
youbaze-free-crm-contact-form/youbaze.php 85% from 13 tests
The entry point to "YouBaze" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("youbaze-free-crm-contact-form.php" instead of "youbaze.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
Good job! No executable or dangerous file extensions detected585 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 55 | 7 | 572 |
CSS | 2 | 1 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 86.00 |
▷ Minimum class complexity | 86.00 |
▷ Maximum class complexity | 86.00 |
Average method complexity | 9.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 50.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 50.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin