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.29MB] [CPU: ▼2.45ms] Passed 4 tests
Analyzing server-side resources used by WPC Product Table for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.29 | 42.55 ▲5.01 |
Dashboard /wp-admin | 3.60 ▲0.29 | 44.35 ▼2.82 |
Posts /wp-admin/edit.php | 3.71 ▲0.35 | 46.39 ▼0.65 |
Add New Post /wp-admin/post-new.php | 6.20 ▲0.31 | 79.34 ▼8.93 |
Media Library /wp-admin/upload.php | 3.52 ▲0.29 | 37.19 ▲2.61 |
About /wp-admin/admin.php?page=wpclever | 3.48 | 33.42 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.48 | 29.97 |
Server storage [IO: ▲1.39MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WPC Product Table for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲105 | 14.42 ▲0.07 | 2.03 ▲0.20 | 52.77 ▲14.46 |
Dashboard /wp-admin | 2,272 ▲98 | 5.57 ▲0.04 | 80.05 ▼12.49 | 85.51 ▲45.35 |
Posts /wp-admin/edit.php | 2,184 ▲84 | 2.00 ▲0.04 | 37.39 ▲3.52 | 35.29 ▼3.45 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 23.13 ▲0.12 | 787.24 ▲99.91 | 60.14 ▲7.49 |
Media Library /wp-admin/upload.php | 1,474 ▲77 | 4.22 ▲0.01 | 112.87 ▲5.97 | 79.57 ▲31.48 |
About /wp-admin/admin.php?page=wpclever | 1,408 | 2.14 | 30.84 | 35.10 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.16 | 32.31 | 57.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
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
Even though no errors were found, 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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in wpc-product-table/assets to your readme.txt
wpc-product-table/wpc-product-table.php Passed 13 tests
The principal PHP file in "WPC Product Table for WooCommerce" v. 2.2.8 is loaded by WordPress automatically on each request
74 characters long description:
WPC Product Table helps you show selected products as a table on the page.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin17,504 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 18 | 3,315 | 14,212 | 13,214 |
CSS | 18 | 578 | 134 | 2,781 |
PHP | 5 | 179 | 26 | 1,480 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 49.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 150.00 |
Average method complexity | 5.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.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 | 44 | |
▷ Static methods | 3 | 6.82% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 9 | |
▷ Global constants | 9 | 100.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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/libs/datatables/DataTables-1.10.22/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/libs/datatables/DataTables-1.10.22/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |
assets/libs/datatables/DataTables-1.10.22/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
assets/libs/datatables/DataTables-1.10.22/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
assets/libs/datatables/DataTables-1.10.22/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |