Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼295.68ms] Passed 4 tests
A check of server-side resources used by Wooketing Variation Selector
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 65.96 ▲7.19 |
Dashboard /wp-admin | 3.41 ▲0.01 | 36.23 ▲0.80 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 41.95 ▲1.72 |
Add New Post /wp-admin/post-new.php | 6.88 ▼0.09 | 97.56 ▼1,187.86 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 27.23 ▲2.63 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by Wooketing Variation Selector
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲83 | 16.02 ▲0.41 | 6.31 ▲0.56 | 3.07 ▲0.44 |
Dashboard /wp-admin | 2,902 ▲44 | 6.12 ▼0.04 | 116.69 ▼16.21 | 153.82 ▼9.16 |
Posts /wp-admin/edit.php | 2,704 ▲13 | 3.23 ▲0.00 | 67.49 ▲3.69 | 138.86 ▼2.81 |
Add New Post /wp-admin/post-new.php | 1,723 ▲62 | 21.41 ▲5.65 | 411.43 ▼16.30 | 159.95 ▲3.18 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.55 ▲0.06 | 138.30 ▼12.10 | 188.47 ▼1.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== wk-variation-selector ===
) - Donate link: Invalid URI ("")
wk-variation-selector/wooketing-variation-selector.php 92% from 13 tests
The primary PHP file in "Wooketing Variation Selector" version 1.1.7 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("wk-variation-selector.php" instead of "wooketing-variation-selector.php")
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
Good job! No executable or dangerous file extensions detected1,411 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 129 | 90 | 814 |
PHP | 7 | 100 | 258 | 473 |
CSS | 2 | 18 | 38 | 124 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
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 | 10.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 26 | |
▷ Static methods | 3 | 11.54% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 1 | 3.85% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin