Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.93ms] Passed 4 tests
This is a short check of server-side resources used by E-xact | Hosted Payment |
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 38.67 ▼4.83 |
Dashboard /wp-admin | 3.47 ▲0.17 | 47.18 ▼7.01 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 49.55 ▼2.14 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 88.66 ▼5.72 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 37.27 ▲0.71 |
E-xact Current HTML /wp-admin/admin.php?page=HTML | 3.36 | 33.83 |
E-xact Gateway /wp-admin/admin.php?page=E-xact-Gateway | 3.33 | 33.66 |
Server storage [IO: ▲4.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by E-xact | Hosted Payment |
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲69 | 13.32 ▼1.08 | 2.00 ▲0.00 | 40.40 ▼5.88 |
Dashboard /wp-admin | 2,232 ▲44 | 5.86 ▲0.96 | 99.54 ▼19.68 | 81.49 ▲35.93 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 1.99 ▼0.05 | 39.33 ▼1.26 | 36.84 ▲3.77 |
Add New Post /wp-admin/post-new.php | 1,690 ▲157 | 22.38 ▼0.80 | 697.85 ▼40.03 | 53.20 ▼13.35 |
Media Library /wp-admin/upload.php | 1,417 ▲29 | 4.20 ▼0.02 | 94.42 ▼14.13 | 77.01 ▲28.57 |
E-xact Current HTML /wp-admin/admin.php?page=HTML | 791 | 2.03 | 28.21 | 22.32 |
E-xact Gateway /wp-admin/admin.php?page=E-xact-Gateway | 2,404 | 1.77 | 30.95 | 45.38 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+202
Undefined variable: x_login
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+208
Undefined variable: transaction_key
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+275
Undefined variable: user_1
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+284
Undefined variable: user_2
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+293
Undefined variable: user_3
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+307
Undefined variable: x_tax
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+317
Undefined variable: x_logo_url
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+331
Undefined variable: once
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+340
Undefined variable: daily
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+349
Undefined variable: weekly
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+358
Undefined variable: bi_weekly
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+367
Undefined variable: semi_monthly
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+376
Undefined variable: monthly
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+385
Undefined variable: bi_monthly
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+394
Undefined variable: quarterly
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+403
Undefined variable: four_months
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+412
Undefined variable: semi_annually
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+421
Undefined variable: annually
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+429
Undefined variable: recurring_auto_or_customer_select
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+442
Undefined variable: x_color_background
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+451
Undefined variable: x_merchant_email
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+460
Undefined variable: wait_or_auto
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+472
Undefined variable: live_demo
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+481
Undefined variable: x_type
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+678
Undefined variable: hmac_calculation
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+711
Undefined variable: time_stamp
- > GET request to /wp-admin/admin.php?page=E-xact-Gateway
- > Notice in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php+738
Undefined variable: custom_files
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: download_current_backup in wp-content/plugins/e-xact-hosted-payment/downloadBackup.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/e-xact-hosted-payment/e-xact-hosted-payment.php:11
- > PHP Notice
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 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
10 plugin tags: ehp, exact, e-xact hosted, e-xact hosted payment, e-xact...
e-xact-hosted-payment/e-xact-hosted-payment.php Passed 13 tests
"E-xact | Hosted Payment |" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
114 characters long description:
This is for E-xact Hosted Payment. E-xact Made easier for WordPress users to set-up a pay button on their website.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,413 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 201 | 57 | 1,100 |
CSS | 2 | 7 | 12 | 178 |
PHP | 4 | 74 | 1,525 | 135 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 2 | |
▷ Static methods | 2 | 100.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 5 | 83.33% |
▷ Anonymous functions | 1 | 16.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/payeezy_favicon.png | 3.31KB | 1.54KB | ▼ 53.59% |
js/jscolor/hv.png | 2.80KB | 7.32KB | 0.00% |
images/dashicon.png | 3.89KB | 1.19KB | ▼ 69.45% |
js/jscolor/hs.png | 2.62KB | 7.54KB | 0.00% |