Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼9.45ms] Passed 4 tests
This is a short check of server-side resources used by OlalaWeb - WooCommerce Category Prices
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 39.01 ▼15.89 |
Dashboard /wp-admin | 3.32 ▲0.01 | 46.34 ▼0.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.14 ▲0.44 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.45 ▼19.46 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.25 ▼1.82 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for OlalaWeb - WooCommerce Category Prices
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.24 ▼1.39 | 1.65 ▼1.03 | 48.14 ▼9.16 |
Dashboard /wp-admin | 2,203 ▲21 | 5.83 ▲0.96 | 124.96 ▲12.00 | 45.17 ▲0.04 |
Posts /wp-admin/edit.php | 2,086 ▼0 | 2.06 ▼0.00 | 38.61 ▲0.17 | 32.68 ▼2.92 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 22.96 ▼0.11 | 660.81 ▲42.29 | 82.18 ▲15.04 |
Media Library /wp-admin/upload.php | 1,385 ▼0 | 4.25 ▲0.03 | 100.97 ▼16.23 | 42.28 ▼6.54 |
Uninstaller [IO: ▲0.01MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin cannot be uninstalled
- > Error in wp-content/plugins/olalaweb-woocommerce-category-prices/uninstall.php+11
Uncaught Error: Call to undefined function delete_woocommerce_term_meta() in wp-content/plugins/olalaweb-woocommerce-category-prices/uninstall.php:11
Stack trace:
#0 wp-admin/includes/plugin.php(1245): include_once()
#1 wp-admin/includes/plugin.php(960): uninstall_plugin() - Incomplete uninstall procedure, leaving 5 files (0.01MB) in the plugin directory
- (new file) readme.txt
- (new file) uninstall.php
- (new file) lang/.empty
- (new file) ola-wccp.php
- (new file) index.html
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- recovery_mode_email_last_sent
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
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)
Even though everything seems fine, this is not 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
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: A description for screenshot #2 is required in olalaweb-woocommerce-category-prices/assets to your readme.txt
olalaweb-woocommerce-category-prices/ola-wccp.php 69% from 13 tests
This is the main PHP file of "OlalaWeb - WooCommerce Category Prices" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages/")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("olalaweb-woocommerce-category-prices.php" instead of "ola-wccp.php")
- Domain Path: Use only dashes and lowercase characters for the domain path ("languages/")
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
There were no executable files found in this plugin102 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 20 | 46 | 102 |
HTML | 1 | 0 | 4 | 0 |
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 code | 0.33 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin