Benchmarks
Plugin footprint Passed 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.00MB] [CPU: ▼294.22ms] Passed 4 tests
Analyzing server-side resources used by Payment Gateway for crypto currency
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.03 | 53.45 ▲4.62 |
Dashboard /wp-admin | 3.44 ▲0.03 | 33.58 ▲1.23 |
Posts /wp-admin/edit.php | 3.67 ▲0.02 | 36.89 ▼1.57 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 91.13 ▼1,176.76 |
Media Library /wp-admin/upload.php | 3.32 ▲0.02 | 23.85 ▲0.22 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Payment Gateway for crypto currency
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,908 ▲162 | 16.22 ▲0.48 | 10.38 ▲4.92 | 2.30 ▲0.32 |
Dashboard /wp-admin | 2,892 ▲31 | 6.06 ▼0.11 | 118.16 ▼18.32 | 153.45 ▼6.19 |
Posts /wp-admin/edit.php | 2,690 ▲33 | 3.20 ▼0.03 | 62.64 ▲0.19 | 140.73 ▲2.40 |
Add New Post /wp-admin/post-new.php | 1,659 ▼1 | 16.81 ▲0.55 | 408.36 ▼9.04 | 150.57 ▼1.69 |
Media Library /wp-admin/upload.php | 1,692 ▼6 | 5.52 ▲0.04 | 147.74 ▲7.48 | 192.17 ▲7.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
This plugin's uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > init_7star_pay_gateway_class getting started
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
3 plugin tags: 7starpay, woocommerce, crypto currency payment
7star-pay/7star-pay.php 85% from 13 tests
The primary PHP file in "Payment Gateway for crypto currency" version 2.3.6 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Plugin Name: Keep the plugin name shorter than 70 characters (currently 82 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin379 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 99 | 28 | 378 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 15 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/7star-pay.png | 14.01KB | 6.46KB | ▼ 53.89% |