Benchmarks
Plugin footprint 83% from 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.01MB] [CPU: ▼5.70ms] Passed 4 tests
A check of server-side resources used by PayPal Payflow Pro Payment gateway for WooCommerce
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.72 ▼1.15 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.78 ▲3.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.67 ▼0.64 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 86.16 ▼18.09 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.69 ▼2.91 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for PayPal Payflow Pro Payment gateway for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.37 ▼0.21 | 2.33 ▲0.52 | 44.05 ▲0.72 |
Dashboard /wp-admin | 2,192 ▲12 | 5.58 ▼0.08 | 86.01 ▼7.45 | 39.85 ▼2.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.13 | 39.08 ▼0.60 | 35.60 ▼0.07 |
Add New Post /wp-admin/post-new.php | 1,545 ▲14 | 23.01 ▼0.20 | 673.78 ▼8.03 | 55.88 ▼2.72 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.25 ▲0.05 | 97.29 ▼13.92 | 44.02 ▼2.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
- Tested up to: The plugin version is formatted incorrectly
webmicro-payflowpro-woo-addon/webmicro-payflowpro-woo-addon.php Passed 13 tests
The principal PHP file in "PayPal Payflow Pro Payment gateway for WooCommerce" v. 1.0.0 is loaded by WordPress automatically on each request
113 characters long description:
This plugin adds a payment option in WooCommerce for customers to pay with their Credit Cards Via Paypal Payflow.
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
There were no executable files found in this plugin362 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 23 | 362 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 35.00 |
▷ Minimum class complexity | 35.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/visa.png | 1.25KB | 1.29KB | 0.00% |
images/amex.png | 2.19KB | 1.75KB | ▼ 20.33% |
images/jcb.png | 1.05KB | 0.76KB | ▼ 27.31% |
images/discover.png | 1.28KB | 1.30KB | 0.00% |
images/paypalpropayflow.png | 4.38KB | 2.84KB | ▼ 35.25% |