Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼140.59ms] Passed 4 tests
This is a short check of server-side resources used by Digital Goods Checkout on WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.02 | 34.86 ▲0.99 |
Dashboard /wp-admin | 3.07 ▲0.02 | 43.04 ▲2.04 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 45.53 ▲9.06 |
Add New Post /wp-admin/post-new.php | 5.43 ▼0.00 | 90.74 ▼562.30 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 30.97 ▼3.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 3 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Digital Goods Checkout on WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.86 ▲0.21 | 9.37 ▲0.03 | 45.47 ▼1.11 |
Dashboard /wp-admin | 2,973 ▲42 | 5.96 ▼0.05 | 136.95 ▼20.70 | 113.48 ▲6.87 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.00 | 65.32 ▼3.27 | 89.46 ▼2.61 |
Add New Post /wp-admin/post-new.php | 1,500 ▼0 | 18.48 ▼0.06 | 362.88 ▼6.12 | 114.51 ▲10.70 |
Media Library /wp-admin/upload.php | 1,807 ▲3 | 5.05 ▼0.01 | 146.78 ▲6.67 | 123.12 ▼1.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: woocommerce, digital goods, virtual products
wc-digital-goods-checkout/wc-digital-goods-checkout.php 77% from 13 tests
The principal PHP file in "Digital Goods Checkout on WooCommerce" v. 1.1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "3.0")
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages/")
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 detected55 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 63 | 55 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 1 | 16.67% |
▷ Public methods | 4 | 66.67% |
▷ Protected methods | 1 | 16.67% |
▷ Private methods | 1 | 16.67% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
No PNG files were detected