Benchmarks
Plugin footprint 83% from 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: ▼298.55ms] Passed 4 tests
A check of server-side resources used by Checkout with Venmo on EDD
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.01 | 53.03 ▲0.06 |
Dashboard /wp-admin | 3.41 ▲0.00 | 34.78 ▼0.50 |
Posts /wp-admin/edit.php | 3.64 ▲0.00 | 36.78 ▼3.99 |
Add New Post /wp-admin/post-new.php | 6.91 ▼0.09 | 96.61 ▼1,189.76 |
Media Library /wp-admin/upload.php | 3.30 ▲0.00 | 27.38 ▲1.81 |
Server storage [IO: ▲3.68MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 202 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_active_plugins |
fs_accounts |
fs_debug_mode |
fs_gdpr |
Browser metrics Passed 4 tests
Checkout with Venmo on EDD: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,763 ▲10 | 15.93 ▲0.35 | 5.83 ▼0.00 | 2.52 ▼0.06 |
Dashboard /wp-admin | 2,895 ▲34 | 6.17 ▲0.02 | 119.02 ▼14.97 | 156.91 ▼6.50 |
Posts /wp-admin/edit.php | 2,688 ▼6 | 3.23 ▼0.01 | 65.94 ▲0.80 | 135.93 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,696 ▼15 | 21.09 ▲0.46 | 440.72 ▼29.39 | 155.26 ▼1.07 |
Media Library /wp-admin/upload.php | 1,698 ▼0 | 5.53 ▲0.05 | 143.56 ▲2.12 | 177.22 ▼12.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 4 options in the database
- fs_accounts
- fs_debug_mode
- fs_gdpr
- fs_active_plugins
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/edd-venmo/freemius/templates/ajax-loader.php
- 9× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/edd-venmo/freemius/templates/account/partials/addon.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/edd-venmo/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/edd-venmo/freemius/templates/account/partials/addon.php on line 7
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/edd-venmo/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/edd-venmo/freemius/templates/account/partials/addon.php on line 6
- > PHP Notice
Undefined variable: VARS in wp-content/plugins/edd-venmo/freemius/templates/account/partials/addon.php on line 8
- > PHP Fatal error
Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/edd-venmo/freemius/templates/account/partials/addon.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function freemius() in wp-content/plugins/edd-venmo/freemius/templates/partials/network-activation.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/edd-venmo/languages/index.php:3
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: There are too many tags (16 tag instead of maximum 10)
- Screenshots: Add descriptions for screenshots #2, #3, #4, #5 in edd-venmo/assets to your readme.txt
edd-venmo/edd-venmo.php 77% from 13 tests
The main file in "Checkout with Venmo on EDD" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Domain Path: Please prefix the domain path with a forward slash character ("/languages")
- Description: Please keep the plugin description shorter than 140 characters (currently 142 characters long)
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin31,288 lines of code in 138 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 119 | 7,278 | 16,140 | 30,827 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 3 | 34 | 59 | 194 |
JSON | 1 | 0 | 0 | 27 |
CSS | 13 | 0 | 6 | 25 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
The following items need your attention
- Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,907)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.63 |
Average class complexity | 90.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,907.00 |
Average method complexity | 4.65 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 2 | 4.44% |
▷ Concrete classes | 43 | 95.56% |
▷ Final classes | 0 | 0.00% |
Methods | 1,132 | |
▷ Static methods | 173 | 15.28% |
▷ Public methods | 792 | 69.96% |
▷ Protected methods | 15 | 1.33% |
▷ Private methods | 325 | 28.71% |
Functions | 112 | |
▷ Named functions | 109 | 97.32% |
▷ Anonymous functions | 3 | 2.68% |
Constants | 127 | |
▷ Global constants | 102 | 80.31% |
▷ Class constants | 25 | 19.69% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 0.09MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/zelle_35.png | 1.17KB | 1.06KB | ▼ 9.22% |
assets/images/venmo_35.png | 0.91KB | 0.79KB | ▼ 12.85% |
assets/images/cashapp_35.png | 1.15KB | 1.02KB | ▼ 11.12% |
assets/images/cashapp.png | 17.09KB | 7.62KB | ▼ 55.39% |
assets/images/venmo.png | 14.51KB | 6.87KB | ▼ 52.63% |