Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.00MB] [CPU: ▼138.61ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Digital Download Free Shipping
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.00 | 37.48 ▲2.11 |
Dashboard /wp-admin | 3.06 ▲0.00 | 41.24 ▲0.59 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 43.07 ▲4.17 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 94.62 ▼550.59 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 31.90 ▼6.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Digital Download Free Shipping
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.91 ▲0.32 | 8.64 ▼2.74 | 46.41 ▼6.87 |
Dashboard /wp-admin | 2,986 ▲52 | 6.13 ▼0.06 | 144.58 ▼28.12 | 113.26 ▲9.53 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▲0.00 | 64.76 ▼5.42 | 88.61 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,683 ▼1,953 | 18.38 ▲3.17 | 362.39 ▼134.72 | 108.33 ▼0.05 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.01 ▼0.03 | 147.82 ▼15.20 | 115.45 ▼14.75 |
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
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Requires at least: Invalid version format
- Tested up to: Invalid version format
woocommerce-digital-download-free-shipping/woocommerce-digital-download-free-shipping.php Passed 13 tests
The main PHP file in "WooCommerce Digital Download Free Shipping" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
75 characters long description:
Provides Free shipping to Digital Downloads, set by Product Shipping Class.
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 detected130 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 40 | 79 | 130 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin