Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼2.77ms] Passed 4 tests
Server-side resources used by Responsive Table for Woocommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.28 ▼0.41 |
Dashboard /wp-admin | 3.37 ▲0.06 | 43.11 ▼6.92 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 45.91 ▲0.41 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 83.79 ▼4.14 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.20 ▲2.72 |
Responsive Table /wp-admin/admin.php?page=dc-rtfw-menu-page | 3.27 | 31.91 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
dc_rtfw_activate_wishlist |
can_compress_scripts |
dc_rtfw_activate |
dc_rtfw_activate_cart |
dc_rtfw_wishlist_page |
db_upgraded |
Browser metrics Passed 4 tests
Responsive Table for Woocommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲83 | 13.40 ▼1.25 | 1.69 ▼0.13 | 44.74 ▲0.71 |
Dashboard /wp-admin | 2,221 ▲33 | 4.85 ▼1.05 | 99.09 ▼15.21 | 39.69 ▼8.06 |
Posts /wp-admin/edit.php | 2,106 ▲17 | 2.04 ▲0.01 | 42.15 ▲1.16 | 36.20 ▼1.54 |
Add New Post /wp-admin/post-new.php | 1,532 ▲13 | 22.98 ▼0.19 | 645.83 ▼1.38 | 60.55 ▲7.60 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.31 ▲0.05 | 97.56 ▼0.27 | 42.23 ▼2.41 |
Responsive Table /wp-admin/admin.php?page=dc-rtfw-menu-page | 895 | 2.06 | 26.70 | 24.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/responsive-table-for-woocommerce/public/partials/dc-rtfw-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/responsive-table-for-woocommerce/admin/partials/dc-rtfw-admin-display.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 90% 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:
- Tags: You are using too many tags: 17 tag instead of maximum 10
responsive-table-for-woocommerce/dc-rtfw.php 85% from 13 tests
"Responsive Table for Woocommerce" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("responsive-table-for-woocommerce.php" instead of "dc-rtfw.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin503 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 123 | 546 | 302 |
CSS | 4 | 20 | 33 | 98 |
JavaScript | 4 | 6 | 86 | 60 |
PO File | 1 | 11 | 11 | 43 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 2 | 6.90% |
▷ Public methods | 24 | 82.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 17.24% |
Functions | 3 | |
▷ Named functions | 3 | 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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin