Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼146.68ms] Passed 4 tests
Server-side resources used by Product Table for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 28.81 ▲4.23 |
Dashboard /wp-admin | 3.06 ▲0.00 | 47.51 ▼1.38 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 51.62 ▲2.94 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 94.36 ▼585.03 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 33.19 ▼3.26 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Product Table for WooCommerce
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲108 | 15.81 ▲0.18 | 7.78 ▼1.20 | 49.85 ▲1.66 |
Dashboard /wp-admin | 2,970 ▲36 | 5.95 ▲0.03 | 141.94 ▼10.48 | 118.82 ▲6.83 |
Posts /wp-admin/edit.php | 2,739 ▲3 | 2.70 ▲0.01 | 69.74 ▲0.99 | 92.59 ▼4.73 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.79 ▲0.08 | 384.60 ▼6.78 | 109.35 ▼7.79 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 4.99 ▼0.02 | 149.31 ▼10.75 | 126.98 ▲10.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstaller ran successfully
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
Good news, no errors were detected
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
7 plugin tags: tabular product, e-commerce, woocommerce, ecommerce table, ecommerce...
ecommerce-table/init.php 92% from 13 tests
The primary PHP file in "Product Table for WooCommerce" version 1.2.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("ecommerce-table.php" instead of "init.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected1,287 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 453 | 281 | 1,008 |
CSS | 2 | 8 | 0 | 152 |
JavaScript | 2 | 12 | 1 | 127 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 43.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 103.00 |
Average method complexity | 8.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 23 | 100.00% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin