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
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▲6.40ms] Passed 4 tests
Analyzing server-side resources used by Global Gateway e4 | Payeezy Gateway |
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.16 | 52.24 ▲11.26 |
Dashboard /wp-admin | 3.47 ▲0.17 | 61.98 ▲11.98 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 57.37 ▲10.47 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 96.14 ▲1.34 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 36.03 ▲2.54 |
Payeezy Gateway /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway | 3.34 | 33.51 |
Current HTML /wp-admin/admin.php?page=HTML | 3.36 | 35.65 |
Server storage [IO: ▲4.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Global Gateway e4 | Payeezy Gateway |
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲91 | 13.26 ▼1.02 | 1.97 ▲0.18 | 43.90 ▼3.01 |
Dashboard /wp-admin | 2,235 ▲46 | 5.11 ▲0.06 | 118.30 ▼6.21 | 91.00 ▲44.31 |
Posts /wp-admin/edit.php | 2,124 ▲53 | 2.00 ▼0.06 | 41.13 ▲3.41 | 37.41 ▲3.11 |
Add New Post /wp-admin/post-new.php | 1,536 ▲3 | 22.80 ▼0.27 | 687.43 ▼41.83 | 49.70 ▼5.23 |
Media Library /wp-admin/upload.php | 1,417 ▲26 | 4.25 ▲0.07 | 116.01 ▲9.36 | 46.55 ▲1.71 |
Payeezy Gateway /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway | 2,429 | 1.75 | 31.93 | 46.66 |
Current HTML /wp-admin/admin.php?page=HTML | 785 | 2.02 | 23.63 | 22.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+230
Undefined variable: x_login
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+236
Undefined variable: transaction_key
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+303
Undefined variable: user_1
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+312
Undefined variable: user_2
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+321
Undefined variable: user_3
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+335
Undefined variable: x_tax
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+345
Undefined variable: x_logo_url
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+359
Undefined variable: once
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+368
Undefined variable: daily
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+377
Undefined variable: weekly
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+386
Undefined variable: bi_weekly
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+395
Undefined variable: semi_monthly
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+404
Undefined variable: monthly
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+413
Undefined variable: bi_monthly
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+422
Undefined variable: quarterly
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+431
Undefined variable: four_months
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+440
Undefined variable: semi_annually
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+449
Undefined variable: annually
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+457
Undefined variable: recurring_auto_or_customer_select
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+470
Undefined variable: x_color_background
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+479
Undefined variable: x_merchant_email
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+488
Undefined variable: wait_or_auto
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+500
Undefined variable: live_demo
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+509
Undefined variable: x_type
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+706
Undefined variable: hmac_calculation
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+739
Undefined variable: time_stamp
- > GET request to /wp-admin/admin.php?page=Global-Gateway-e4-Payeezy-Gateway
- > Notice in wp-content/plugins/globe-gateway-e4/Globe Gateway e4.php+767
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
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined index: download_current_backup in wp-content/plugins/globe-gateway-e4/downloadBackup.php on line 2
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #4 (screenshot4.png), #5 (screenshot5.png)
- Tags: Too many tags (29 tag instead of maximum 10); only the first 5 tags are used in your directory listing
globe-gateway-e4/Globe Gateway e4.php 85% from 13 tests
This is the main PHP file of "Global Gateway e4 | Payeezy Gateway |" version 2.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("globe-gateway-e4.php" instead of "Globe Gateway e4.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 217 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin2,861 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 79 | 101 | 1,583 |
JavaScript | 4 | 201 | 57 | 1,100 |
CSS | 2 | 7 | 12 | 178 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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 |
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% |
images/payeezy_favicon.png | 3.31KB | 1.54KB | ▼ 53.59% |