Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼305.65ms] Passed 4 tests
Server-side resources used by MSRP (List Price/RRP) for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.02 | 52.20 ▼1.07 |
Dashboard /wp-admin | 3.43 ▲0.02 | 35.88 ▼0.14 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 37.08 ▼3.61 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 95.11 ▼1,216.73 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 22.66 ▼1.20 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by MSRP (List Price/RRP) for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,795 ▲73 | 15.89 ▲0.35 | 6.50 ▲0.98 | 3.01 ▲0.55 |
Dashboard /wp-admin | 2,892 ▲31 | 6.09 ▼0.11 | 117.67 ▼16.94 | 153.88 ▼11.02 |
Posts /wp-admin/edit.php | 2,688 ▼3 | 3.23 ▲0.01 | 63.06 ▼5.79 | 139.82 ▼8.34 |
Add New Post /wp-admin/post-new.php | 1,668 ▼28 | 18.14 ▼3.14 | 410.59 ▼26.77 | 157.74 ▼3.34 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.49 ▼0.01 | 140.77 ▼6.27 | 188.72 ▲5.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: These screenshots need descriptions #1, #2, #3 in msrp-for-woocommerce/assets to your readme.txt
msrp-for-woocommerce/msrp-for-woocommerce.php Passed 13 tests
The main file in "MSRP (List Price/RRP) for WooCommerce" v. 1.7.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
45 characters long description:
Save and display product MSRP in WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,708 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 185 | 730 | 1,708 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 32.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 187.00 |
Average method complexity | 4.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 79 | |
▷ Static methods | 1 | 1.27% |
▷ Public methods | 79 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin