Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.54ms] Passed 4 tests
Analyzing server-side resources used by WPC Variations Table for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 35.20 ▼6.49 |
Dashboard /wp-admin | 3.33 ▲0.02 | 43.95 ▼3.07 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 48.50 ▲5.90 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 84.25 ▼2.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.85 ▲1.81 |
About /wp-admin/admin.php?page=wpclever | 3.21 | 27.62 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.56 | 29.44 |
Server storage [IO: ▲0.11MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WPC Variations Table for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 14.37 ▼0.06 | 1.64 ▼0.12 | 42.49 ▼1.39 |
Dashboard /wp-admin | 2,286 ▲101 | 4.89 ▲0.03 | 111.38 ▼3.35 | 81.08 ▲38.87 |
Posts /wp-admin/edit.php | 2,172 ▲80 | 2.03 ▲0.02 | 37.01 ▲0.29 | 33.47 ▲0.70 |
Add New Post /wp-admin/post-new.php | 1,607 ▲87 | 18.01 ▼5.09 | 737.21 ▲61.63 | 67.48 ▲10.78 |
Media Library /wp-admin/upload.php | 1,468 ▲86 | 4.20 ▼0.02 | 103.92 ▲6.06 | 46.39 ▲2.65 |
About /wp-admin/admin.php?page=wpclever | 1,396 | 2.16 | 32.96 | 37.29 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,724 | 2.17 | 33.83 | 54.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
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)
No browser issues were 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
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2 in wpc-variations-table/assets to your readme.txt
wpc-variations-table/wpc-variations-table.php Passed 13 tests
The entry point to "WPC Variations Table for WooCommerce" version 3.5.6 is a PHP file that has certain tags in its header comment area
74 characters long description:
WPC Variations Table will replace dropdown selects with a beautiful table.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin2,056 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 204 | 42 | 1,298 |
CSS | 4 | 108 | 8 | 561 |
JavaScript | 3 | 29 | 2 | 168 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This is a very shot review of 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.37 |
Average class complexity | 43.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 4.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 55.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 | 45 | |
▷ Static methods | 3 | 6.67% |
▷ Public methods | 45 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin