Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.35ms] Passed 4 tests
Analyzing server-side resources used by Plugin Name: Disable Variable Product Price Range Woocommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.26 ▼4.98 |
Dashboard /wp-admin | 3.33 ▼0.01 | 48.68 ▼16.03 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.49 ▲3.07 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 92.73 ▼5.00 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 34.92 ▲0.63 |
Disable price range /wp-admin/admin.php?page=wdvppr-disable-price-range | 3.22 | 31.91 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Plugin Name: Disable Variable Product Price Range Woocommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,925 ▲138 | 13.38 ▼0.97 | 7.55 ▲5.79 | 38.41 ▼6.46 |
Dashboard /wp-admin | 2,212 ▲31 | 5.52 ▼0.21 | 91.71 ▼17.90 | 41.96 ▲1.78 |
Posts /wp-admin/edit.php | 2,118 ▲15 | 2.12 ▲0.18 | 41.22 ▲2.40 | 35.84 ▲0.43 |
Add New Post /wp-admin/post-new.php | 1,611 ▲85 | 23.22 ▲0.01 | 656.83 ▲58.15 | 64.09 ▲15.48 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.21 ▲0.02 | 95.55 ▼0.79 | 41.94 ▲0.63 |
Disable price range /wp-admin/admin.php?page=wdvppr-disable-price-range | 1,299 | 1.68 | 25.64 | 54.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== Plugin Name: Disable Variable Product Price Range Woocommerce===
) - Screenshots: A description for screenshot #2 is required in disable-variable-product-price-range/assets to your readme.txt
disable-variable-product-price-range/plugin.php 85% from 13 tests
Analyzing the main PHP file in "Plugin Name: Disable Variable Product Price Range Woocommerce" version 2.4
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 151 characters long)
- Main file name: It is recommended to name the main PHP file as the plugin slug ("disable-variable-product-price-range.php" instead of "plugin.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
Good job! No executable or dangerous file extensions detected731 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 87 | 54 | 515 |
JavaScript | 2 | 33 | 14 | 118 |
CSS | 2 | 20 | 4 | 98 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.73 |
Average class complexity | 134.00 |
▷ Minimum class complexity | 134.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 8.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 17 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
No PNG images were found in this plugin