Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.82ms] Passed 4 tests
A check of server-side resources used by Et-woo-product-price
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 33.95 ▼8.61 |
Dashboard /wp-admin | 3.31 ▲0.01 | 41.82 ▼8.78 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.89 ▲1.51 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.91 ▼3.39 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.26 ▲1.93 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
pricelist_header |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
facebook_chat |
pricelist_logo |
db_upgraded |
Browser metrics Passed 4 tests
Et-woo-product-price: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.73 ▼1.02 | 1.65 ▼0.07 | 40.36 ▼4.97 |
Dashboard /wp-admin | 2,206 ▲18 | 4.88 ▼1.03 | 114.64 ▲1.44 | 41.77 ▼2.24 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.99 ▼0.01 | 39.57 ▲1.88 | 37.43 ▲3.57 |
Add New Post /wp-admin/post-new.php | 1,547 ▲14 | 18.21 ▼5.09 | 605.91 ▼74.29 | 77.21 ▲23.09 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.15 ▼0.07 | 102.61 ▼3.39 | 41.92 ▼1.30 |
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
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/et-woo-product-price/template/productprice.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/et-woo-product-price/et-woo-product-price.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/et-woo-product-price/views/productprice_admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (http://easytech.vn/wp-content/uploads/2019/12/woo_product-1024x574.png) image required
et-woo-product-price/et-woo-product-price.php Passed 13 tests
The principal PHP file in "Et-woo-product-price" v. 1.2 is loaded by WordPress automatically on each request
77 characters long description:
This plugin displays a table of products and their prices group by categories
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
Everything looks great! No dangerous files found in this plugin730 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 239 | 44 | 730 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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