Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure had errors
- > Warning in wp-content/plugins/buybot-notifications/core/order.class.php+11
require_once(/wp-content/plugins/woocommerce/includes/wc-cart-functions.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.89ms] Passed 4 tests
Server-side resources used by Green Receipt- WhatsApp Commerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.68 ▼2.30 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.13 ▼5.37 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.81 ▼2.91 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 90.44 ▲4.53 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.58 ▼0.96 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Green Receipt- WhatsApp Commerce: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.14 | 1.66 ▼0.09 | 38.85 ▼7.57 |
Dashboard /wp-admin | 2,206 ▲15 | 5.77 ▲0.89 | 96.24 ▼8.24 | 39.79 ▲1.68 |
Posts /wp-admin/edit.php | 2,089 ▲18 | 2.01 ▼0.02 | 40.97 ▲5.39 | 36.60 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,544 ▲30 | 18.57 ▲1.10 | 582.44 ▼122.79 | 50.74 ▲2.64 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.22 ▲0.04 | 91.89 ▼16.29 | 40.20 ▼10.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Requires php: Version format is invalid
- Requires at least: Version format is invalid
buybot-notifications/buybotnotifications.php 69% from 13 tests
Analyzing the main PHP file in "Green Receipt- WhatsApp Commerce" version 1.0.3
You should first fix the following items:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Requires at least: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.8 or higher")
- Requires PHP: Required version number should only contain digits separated by dots (ex. "7.0" instead of "5.6 or higher")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("buybot-notifications.php" instead of "buybotnotifications.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin755 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 205 | 101 | 661 |
CSS | 2 | 26 | 0 | 93 |
JavaScript | 2 | 18 | 94 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
There were not PNG files found in your plugin