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.00MB] [CPU: ▼3.62ms] Passed 4 tests
An overview of server-side resources used by Moneybookers Gateway For eShop
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.76 ▼6.55 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.79 ▼2.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.97 ▼2.82 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 96.92 ▲4.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.18 ▼2.48 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Moneybookers Gateway For eShop
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲43 | 13.15 ▼1.15 | 4.64 ▲2.27 | 42.23 ▲1.20 |
Dashboard /wp-admin | 2,209 ▲30 | 5.84 ▼0.04 | 107.75 ▼4.64 | 44.86 ▲2.33 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.06 ▲0.01 | 40.32 ▲2.07 | 35.97 ▲1.29 |
Add New Post /wp-admin/post-new.php | 1,514 ▼19 | 17.55 ▼3.80 | 604.40 ▲8.37 | 47.17 ▼5.53 |
Media Library /wp-admin/upload.php | 1,382 ▼6 | 4.23 ▲0.02 | 99.73 ▼3.30 | 42.19 ▼3.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/moneybookers-merchant-gateway-for-eshop/moneybookers-class.php
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/moneybookers-merchant-gateway-for-eshop/moneybookers-mg.php:26
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/moneybookers-merchant-gateway-for-eshop/ipn.php:8
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/moneybookers-merchant-gateway-for-eshop/ipn.php on line 7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Full Checkout Form With Non Registered/Registered User Of Skrill.), #2 (Full Signup Form Of Moneybookers For Unregistered User At Moneybookers, to proceed for instant signup & doing payment for the chosen product.), #3 (Login Form For Registered User of Moneybookers Based On Email Provided in Checkout Form of eShop Store To Make the instant Payment for the product chosen.), #4 (Payment Success & Cancellation URL Entry Fields.), #5 (Payment Page(Skrill Checkout).), #6 (Order Cancellation Page.)
moneybookers-merchant-gateway-for-eshop/moneybookers-mg.php 85% from 13 tests
The main PHP file in "Moneybookers Gateway For eShop" ver. 0.0.3.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 219 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("moneybookers-merchant-gateway-for-eshop.php" instead of "moneybookers-mg.php")
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
Good job! No executable or dangerous file extensions detected354 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 52 | 172 | 354 |
PHP code Passed 2 tests
Analyzing 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.30 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
moneybookers.png | 1.66KB | 0.78KB | ▼ 52.89% |