Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.90MB] [CPU: ▲4.18ms] Passed 4 tests
An overview of server-side resources used by Easy Digital Downloads - Paddle Gateway
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.36 ▲0.89 | 46.61 ▲1.72 |
Dashboard /wp-admin | 4.21 ▲0.91 | 56.11 ▲10.04 |
Posts /wp-admin/edit.php | 4.33 ▲0.97 | 52.19 ▲3.03 |
Add New Post /wp-admin/post-new.php | 6.79 ▲0.90 | 99.61 ▲1.92 |
Media Library /wp-admin/upload.php | 4.14 ▲0.90 | 43.38 ▲11.36 |
Dashboard /wp-admin/admin.php?page=wpfront-paddle-gateway-dashboard | 4.14 | 38.41 |
Settings /wp-admin/admin.php?page=wpfront-paddle-gateway-settings | 4.11 | 35.94 |
Payments /wp-admin/admin.php?page=wpfront-paddle-gateway-payments | 4.11 | 38.67 |
Paylinks /wp-admin/admin.php?page=wpfront-paddle-gateway-paylinks | 4.11 | 36.02 |
Server storage [IO: ▲0.42MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 51 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_wpfront_paddle_payments |
wp_wpfront_paddle_paylink |
wp_wpfront_paddle_settings |
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
wp_wpfront_paddle_settings-db-version |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Digital Downloads - Paddle Gateway
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.26 ▼1.15 | 1.74 ▼0.77 | 43.83 ▲0.81 |
Dashboard /wp-admin | 2,241 ▲50 | 5.80 ▲0.93 | 97.78 ▼0.55 | 39.69 ▼5.13 |
Posts /wp-admin/edit.php | 2,124 ▲32 | 2.01 ▼0.01 | 39.45 ▼2.21 | 34.62 ▼2.83 |
Add New Post /wp-admin/post-new.php | 1,575 ▲61 | 18.26 ▲0.80 | 602.22 ▼1.41 | 62.37 ▲5.43 |
Media Library /wp-admin/upload.php | 1,426 ▲44 | 4.20 ▲0.02 | 96.30 ▲0.71 | 41.58 ▲0.72 |
Dashboard /wp-admin/admin.php?page=wpfront-paddle-gateway-dashboard | 972 | 4.11 | 90.55 | 32.42 |
Settings /wp-admin/admin.php?page=wpfront-paddle-gateway-settings | 1,016 | 2.06 | 22.31 | 27.43 |
Payments /wp-admin/admin.php?page=wpfront-paddle-gateway-payments | 1,159 | 2.20 | 24.84 | 26.63 |
Paylinks /wp-admin/admin.php?page=wpfront-paddle-gateway-paylinks | 1,026 | 2.07 | 27.32 | 26.41 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
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 Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
3 plugin tags: paddle, paddle payment gateway, easy digital downloads paddle gateway
wpfront-paddle-gateway/wpfront-paddle-gateway.php Passed 13 tests
The main PHP file in "Easy Digital Downloads - Paddle Gateway" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
90 characters long description:
Integrate your WordPress site or Easy Digital Downloads store with Paddle payment gateway.
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
There were no executable files found in this plugin4,555 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 30 | 1,119 | 841 | 4,110 |
PO File | 1 | 128 | 197 | 339 |
CSS | 2 | 16 | 0 | 63 |
JavaScript | 3 | 10 | 11 | 43 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.78 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 1 | 3.70% |
▷ Concrete classes | 26 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 254 | |
▷ Static methods | 15 | 5.91% |
▷ Public methods | 183 | 72.05% |
▷ Protected methods | 63 | 24.80% |
▷ Private methods | 8 | 3.15% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 9 | 100.00% |
▷ Public constants | 9 | 100.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