Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.15MB] [CPU: ▼9.71ms] Passed 4 tests
A check of server-side resources used by Skrill Official
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 37.79 ▼11.13 |
Dashboard /wp-admin | 3.47 ▲0.12 | 45.05 ▼12.97 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 49.93 ▲3.84 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.16 | 84.83 ▼11.17 |
Media Library /wp-admin/upload.php | 3.40 ▲0.16 | 33.28 ▼3.57 |
Server storage [IO: ▲1.24MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 134 new files
Database: 1 new table, 36 new options
New tables |
---|
wp_skrill_transaction_log |
New WordPress options |
---|
skrill_completed_status |
woocommerce_skrill_pgf_settings |
db_upgraded |
woocommerce_skrill_flexible_settings |
skrill_version |
woocommerce_skrill_aob_settings |
woocommerce_skrill_ewltid_settings |
woocommerce_skrill_spx_settings |
woocommerce_skrill_gir_settings |
woocommerce_skrill_adb_settings |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Skrill Official
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲50 | 14.24 ▼0.12 | 1.69 ▼0.03 | 40.60 ▼7.16 |
Dashboard /wp-admin | 2,202 ▲25 | 5.54 ▼0.01 | 82.57 ▼10.40 | 40.82 ▼3.15 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 2.02 ▲0.00 | 37.53 ▲2.19 | 35.51 ▼0.44 |
Add New Post /wp-admin/post-new.php | 1,535 ▲7 | 23.13 ▲0.13 | 662.36 ▼23.63 | 56.56 ▼8.88 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.14 ▼0.05 | 93.92 ▼2.18 | 41.14 ▼3.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_skrill_transaction_log
- The uninstall procedure has failed, leaving 34 options in the database
- woocommerce_skrill_ali_settings
- woocommerce_skrill_vsa_settings
- db_upgraded
- woocommerce_skrill_pli_settings
- woocommerce_skrill_idl_settings
- widget_theysaidso_widget
- can_compress_scripts
- woocommerce_skrill_acc_settings
- woocommerce_skrill_aci_settings
- woocommerce_skrill_ewltid_settings
- ...
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #1 (This is screenshot 1 Payment using Skrill.) image missing
- Screenshots: Add a description for screenshot #5 in official-skrill-woocommerce/assets to your readme.txt
official-skrill-woocommerce/skrill.php 92% from 13 tests
The entry point to "Skrill Official" version 1.0.57 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("official-skrill-woocommerce.php" instead of "skrill.php")
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
Success! There were no dangerous files found in this plugin5,394 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 50 | 897 | 3,076 | 3,759 |
PO File | 5 | 605 | 625 | 1,629 |
JavaScript | 1 | 3 | 6 | 6 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 45 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 45 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 164 | |
▷ Static methods | 51 | 31.10% |
▷ Public methods | 125 | 76.22% |
▷ Protected methods | 38 | 23.17% |
▷ Private methods | 1 | 0.61% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size 0% from 2 tests
Image compression 0% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
71 PNG files occupy 0.89MB with 0.63MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/btc.png | 16.96KB | 2.30KB | ▼ 86.43% |
(invalid) assets/images/pwy.png | 1.36KB | 0.00KB | ▼ 100.00% |
assets/images/gcb.png | 8.32KB | 3.90KB | ▼ 53.12% |
assets/images/mbw.png | 11.43KB | 5.60KB | ▼ 51.02% |
assets/images/idl.png | 2.17KB | 0.83KB | ▼ 61.57% |