Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼171.42ms] Passed 4 tests
Analyzing server-side resources used by iswipe payment gateway
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.88 ▲0.16 | 32.64 ▲4.12 |
Dashboard /wp-admin | 3.10 ▲0.04 | 51.51 ▲1.79 |
Posts /wp-admin/edit.php | 3.15 ▲0.04 | 46.91 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.46 ▲0.02 | 83.35 ▼690.41 |
Media Library /wp-admin/upload.php | 3.04 ▲0.04 | 32.45 ▲4.85 |
Server storage [IO: ▲0.49MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
iswipe payment gateway: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 15.94 ▲0.25 | 8.51 ▼2.25 | 46.78 ▲0.30 |
Dashboard /wp-admin | 2,970 ▲39 | 5.86 ▼0.13 | 135.77 ▼10.32 | 118.40 ▲15.07 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.72 ▼0.13 | 63.11 ▼0.36 | 84.48 ▼2.30 |
Add New Post /wp-admin/post-new.php | 1,672 ▼200 | 18.89 ▼0.25 | 366.72 ▼10.66 | 105.69 ▲1.32 |
Media Library /wp-admin/upload.php | 1,748 ▼62 | 5.00 ▼0.04 | 147.82 ▼0.16 | 119.55 ▲0.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: automatic cryptocurrency exchange, crypto payments, bitcoin cash, dash, bitcoin...
iswipe-payment-gateway/iswipe-payment.php 92% from 13 tests
Analyzing the main PHP file in "iswipe payment gateway" version 1.2.0
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("iswipe-payment-gateway.php" instead of "iswipe-payment.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin264 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 38 | 34 | 172 |
PO File | 1 | 15 | 15 | 49 |
CSS | 1 | 1 | 3 | 39 |
JavaScript | 1 | 0 | 0 | 3 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.46MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 89.75KB | 35.69KB | ▼ 60.23% |
screenshot-2.png | 114.87KB | 46.28KB | ▼ 59.71% |
screenshot-5.png | 91.43KB | 33.98KB | ▼ 62.83% |
screenshot-1.png | 76.97KB | 29.98KB | ▼ 61.05% |
screenshot-3.png | 98.50KB | 40.33KB | ▼ 59.06% |