Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼141.29ms] Passed 4 tests
Server-side resources used by ApusPayments
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 34.11 ▲13.63 |
Dashboard /wp-admin | 3.06 ▲0.01 | 47.70 ▲0.04 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 45.53 ▼0.84 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 88.67 ▼560.34 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 28.69 ▼4.03 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for ApusPayments
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,698 ▲102 | 15.91 ▲0.35 | 9.87 ▼0.69 | 46.74 ▲2.81 |
Dashboard /wp-admin | 2,989 ▲52 | 5.93 ▼0.05 | 140.99 ▼10.67 | 108.91 ▼1.52 |
Posts /wp-admin/edit.php | 2,760 ▲21 | 2.71 ▼0.01 | 69.59 ▲3.11 | 92.22 ▲3.59 |
Add New Post /wp-admin/post-new.php | 1,695 ▲80 | 18.69 ▼2.79 | 396.08 ▲84.37 | 102.69 ▼0.83 |
Media Library /wp-admin/upload.php | 1,826 ▲75 | 5.03 ▲0.01 | 151.14 ▲18.86 | 120.00 ▲1.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 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)
Good news, no errors were detected
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
8 plugin tags: criptocurrencies, ethereum, decred, apuspayments, payment...
woo-apuspayments/woocommerce-apuspayments.php 77% from 13 tests
The main PHP file in "ApusPayments" ver. 2.13.1 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-apuspayments.php" instead of "woocommerce-apuspayments.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "3.0.0")
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
Everything looks great! No dangerous files found in this plugin925 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 178 | 366 | 772 |
CSS | 2 | 11 | 1 | 105 |
JavaScript | 4 | 14 | 16 | 48 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 7 | 16.28% |
▷ Public methods | 28 | 65.12% |
▷ Protected methods | 14 | 32.56% |
▷ Private methods | 1 | 2.33% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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.05MB with 0.04MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/apuspayments.png | 47.17KB | 1.12KB | ▼ 97.62% |