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.27MB] [CPU: ▼2.82ms] Passed 4 tests
An overview of server-side resources used by Wallet Up Checkout for WPForms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.26 | 41.58 ▲1.62 |
Dashboard /wp-admin | 3.56 ▲0.25 | 49.09 ▼0.54 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 53.09 ▲1.88 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 87.70 ▼14.24 |
Media Library /wp-admin/upload.php | 3.48 ▲0.25 | 38.66 ▲3.34 |
Walup Tags /wp-admin/edit-tags.php?taxonomy=walup_tag&post_type=walup | 3.47 | 36.87 |
All Walups /wp-admin/edit.php?post_type=walup | 3.52 | 36.02 |
Add Walup Page /wp-admin/post-new.php?post_type=walup | 6.28 | 83.82 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 29 new files
Database: no new tables, 7 new options
New WordPress options |
---|
walup_installed |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Wallet Up Checkout for WPForms
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,913 ▲152 | 13.67 ▼0.68 | 7.90 ▲5.16 | 43.30 ▼0.96 |
Dashboard /wp-admin | 2,230 ▲50 | 5.53 ▼0.07 | 85.79 ▼3.74 | 38.15 ▼6.90 |
Posts /wp-admin/edit.php | 2,138 ▲38 | 2.03 ▲0.06 | 37.32 ▲2.36 | 32.03 ▼8.31 |
Add New Post /wp-admin/post-new.php | 1,556 ▲30 | 23.09 ▼0.18 | 660.40 ▲25.00 | 53.42 ▼2.24 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.21 ▼0.06 | 105.99 ▲7.32 | 47.69 ▲4.13 |
Walup Tags /wp-admin/edit-tags.php?taxonomy=walup_tag&post_type=walup | 1,281 | 2.12 | 26.75 | 31.01 |
All Walups /wp-admin/edit.php?post_type=walup | 1,104 | 1.97 | 30.37 | 31.09 |
Add Walup Page /wp-admin/post-new.php?post_type=walup | 6,309 | 23.40 | 868.19 | 30.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- walup_installed
- widget_recent-comments
Smoke tests 50% from 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 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/walup/public/partials/walup-public-display.php
- > /wp-content/plugins/walup/admin/partials/walup-admin-display.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/walup/templates/pages/walup_wpf_insert.php:74
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/walup/templates/wpforms/walup-checkout-template.php:1379
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/walup/walup-code-snippets-json/walup-submit-condition.code-snippets.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Please delete some tags, you are using 23 tag instead of maximum 10
walup/walup.php 92% from 13 tests
"Wallet Up Checkout for WPForms" version 1.0.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 216 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected1,706 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 179 | 515 | 1,700 |
JavaScript | 2 | 4 | 6 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 1.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 2 | 8.33% |
▷ Public methods | 19 | 79.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 20.83% |
Functions | 9 | |
▷ Named functions | 8 | 88.89% |
▷ Anonymous functions | 1 | 11.11% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.17MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/steps/steps_walup.png | 173.13KB | 55.38KB | ▼ 68.01% |