Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲4.94MB] [CPU: ▲14.93ms] 75% from 4 tests
Server-side resources used by Checkout with Venmo on Woocommerce
The following require your attention
- CPU: Total CPU usage must kept under 500.00ms (currently 1,761.42ms on /wp-admin/admin.php?page=wc-settings&tab=checkout§ion=venmo)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.83 ▲5.37 | 60.49 ▲20.30 |
Dashboard /wp-admin | 8.85 ▲5.50 | 67.75 ▲7.42 |
Posts /wp-admin/edit.php | 8.85 ▲5.49 | 78.23 ▲28.80 |
Add New Post /wp-admin/post-new.php | 9.29 ▲3.41 | 110.77 ▲3.20 |
Media Library /wp-admin/upload.php | 8.85 ▲5.62 | 65.68 ▲31.64 |
Help /wp-admin/admin.php?page=wc_venmo_help_menu_page | 8.85 | 57.06 |
Automated Order Updates /wp-admin/admin.php?page=wc_venmo_automated_status | 8.85 | 65.94 |
Recommended /wp-admin/admin.php?page=wc_venmo_recommended_menu_page | 8.85 | 55.54 |
Venmo Link vs Pay with Venmo /wp-admin/admin.php?page=wc_venmo_compared | 8.85 | 56.84 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.85 | 55.44 |
Venmo Link /wp-admin/admin.php?page=wc-settings&tab=checkout§ion=venmo | 8.85 | 1,761.42 |
Venmo Pay /wp-admin/admin.php?page=wc-settings&tab=checkout§ion=venmo-pay | 8.85 | 57.41 |
Help /wp-admin/admin.php?page=wc_venmo_help | 8.85 | 56.08 |
Support /wp-admin/admin.php?page=mailto:info@theafricanboss.com?subject=WC%20Venmo%20Plugin%20Support&body=Hello%2C%0D%0A%0D%0A | 8.85 | 59.09 |
Server storage [IO: ▲8.63MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 239 new files
Database: no new tables, 10 new options
New WordPress options |
---|
fs_debug_mode |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
fs_accounts |
fs_active_plugins |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
Checking browser requirements for Checkout with Venmo on Woocommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲183 | 13.25 ▼1.34 | 1.73 ▲0.14 | 27.58 ▼13.34 |
Dashboard /wp-admin | 2,335 ▲147 | 4.89 ▼0.02 | 111.34 ▼5.71 | 44.95 ▼1.06 |
Posts /wp-admin/edit.php | 2,218 ▲129 | 2.13 ▲0.12 | 39.42 ▼1.92 | 37.51 ▲0.39 |
Add New Post /wp-admin/post-new.php | 1,610 ▲77 | 17.51 ▼5.88 | 660.83 ▲5.62 | 59.49 ▼4.38 |
Media Library /wp-admin/upload.php | 1,517 ▲132 | 4.27 ▲0.04 | 114.01 ▲11.36 | 47.32 ▲2.38 |
Help /wp-admin/admin.php?page=wc_venmo_help_menu_page | 2,096 | 22.87 | 521.17 | 94.67 |
Automated Order Updates /wp-admin/admin.php?page=wc_venmo_automated_status | 801 | 1.14 | 8.48 | 35.40 |
Recommended /wp-admin/admin.php?page=wc_venmo_recommended_menu_page | 1,002 | 2.06 | 24.76 | 43.85 |
Venmo Link vs Pay with Venmo /wp-admin/admin.php?page=wc_venmo_compared | 1,210 | 2.03 | 25.80 | 73.44 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,181 | 1.84 | 22.98 | 26.03 |
Venmo Link /wp-admin/admin.php?page=wc-settings&tab=checkout§ion=venmo | 1,092 | 1.86 | 27.65 | 54.45 |
Venmo Pay /wp-admin/admin.php?page=wc-settings&tab=checkout§ion=venmo-pay | 28 | 0.44 | 0.10 | 3.35 |
Help /wp-admin/admin.php?page=wc_venmo_help | 2,046 | 16.36 | 449.46 | 48.69 |
Support /wp-admin/admin.php?page=mailto:info@theafricanboss.com?subject=WC%20Venmo%20Plugin%20Support&body=Hello%2C%0D%0A%0D%0A | 28 | 0.44 | 0.08 | 5.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/momo-venmo/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- This plugin does not fully uninstall, leaving 10 options in the database
- recovery_mode_email_last_sent
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- fs_active_plugins
- db_upgraded
- fs_accounts
- fs_debug_mode
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wc_venmo_automated_status
- > Error in wp-content/plugins/momo-venmo/includes/admin/email-receipts.php+8
Uncaught Error: Class 'WC_Venmo_Gateway' not found in wp-content/plugins/momo-venmo/includes/admin/email-receipts.php:8
Stack trace:
#0 wp-content/plugins/momo-venmo/includes/admin/dashboard.php(217): require_once()
#1 wp-includes/class-wp-hook.php(310): wc_venmo_email_receipts_menu_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/momo-venmo/languages/index.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wc-settings&tab=checkout§ion=venmo-pay
- > Network (severe)
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=venmo-pay - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=mailto:info@theafricanboss.com?subject=WC%20Venmo%20Plugin%20Support&body=Hello%2C%0D%0A%0D%0A
- > Network (severe)
wp-admin/admin.php?page=mailto:info@theafricanboss.com?subject=WC%20Venmo%20Plugin%20Support&body=Hello%2C%0D%0A%0D%0A - Failed to load resource: the server responded with a status of 403 (Forbidden)
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
Please fix the following attributes:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #5 (Thank you page after placing the order via the Venmo Link payment method), #6 (This is where the Venmo link brings the customer with a prefilled order amount, id, and note)
momo-venmo/venmo.php 77% from 13 tests
Analyzing the main PHP file in "Checkout with Venmo on Woocommerce" version 4.2
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("momo-venmo.php" instead of "venmo.php")
- Domain Path: The domain path must begin with a forward slash character ("/languages")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin35,732 lines of code in 164 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 138 | 8,214 | 17,606 | 34,997 |
JavaScript | 9 | 72 | 243 | 578 |
CSS | 16 | 29 | 6 | 156 |
SVG | 1 | 0 | 0 | 1 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 88.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 52 | |
▷ Abstract classes | 2 | 3.85% |
▷ Concrete classes | 50 | 96.15% |
▷ Final classes | 0 | 0.00% |
Methods | 1,291 | |
▷ Static methods | 197 | 15.26% |
▷ Public methods | 900 | 69.71% |
▷ Protected methods | 19 | 1.47% |
▷ Private methods | 372 | 28.81% |
Functions | 113 | |
▷ Named functions | 108 | 95.58% |
▷ Anonymous functions | 5 | 4.42% |
Constants | 153 | |
▷ Global constants | 106 | 69.28% |
▷ Class constants | 47 | 30.72% |
▷ Public constants | 47 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
14 PNG files occupy 1.32MB with 0.67MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/zelle-256x256.png | 9.01KB | 5.04KB | ▼ 44.06% |
assets/images/cashapp-256x256.png | 12.59KB | 5.87KB | ▼ 53.36% |
freemius/assets/img/momo-venmo.png | 11.55KB | 5.61KB | ▼ 51.38% |
assets/images/icon-256x256.png | 11.55KB | 5.61KB | ▼ 51.38% |
assets/images/venmo-256x256.png | 11.55KB | 5.61KB | ▼ 51.38% |