Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.93ms] Passed 4 tests
A check of server-side resources used by Crypto payment checkout by intrXn
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.19 ▲2.61 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.55 ▼2.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.41 ▼0.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.82 ▼16.94 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.05 ▼0.56 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
intrxn_plugin_version |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Crypto payment checkout by intrXn
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.26 ▼0.49 | 1.55 ▲0.00 | 49.07 ▲6.75 |
Dashboard /wp-admin | 2,195 ▲15 | 5.59 ▲0.06 | 84.53 ▼7.74 | 35.90 ▼2.48 |
Posts /wp-admin/edit.php | 2,100 ▲21 | 1.98 ▼0.06 | 36.47 ▼0.17 | 32.42 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,529 ▼8 | 23.38 ▼1.48 | 595.92 ▼24.19 | 82.98 ▲4.28 |
Media Library /wp-admin/upload.php | 1,403 ▲6 | 4.22 ▼0.01 | 106.67 ▲7.52 | 43.97 ▼2.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- intrxn_plugin_version
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests Passed 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 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 24 tag instead of maximum 10
crypto-payment-checkout-by-intrxn/class-intrxn-pay.php 92% from 13 tests
The entry point to "Crypto payment checkout by intrXn" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("crypto-payment-checkout-by-intrxn.php" instead of "class-intrxn-pay.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin536 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 108 | 227 | 481 |
PO File | 1 | 17 | 22 | 55 |
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.24 |
Average class complexity | 8.67 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 22 | |
▷ Static methods | 5 | 22.73% |
▷ Public methods | 12 | 54.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 45.45% |
Functions | 10 | |
▷ Named functions | 8 | 80.00% |
▷ Anonymous functions | 2 | 20.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
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/logo-org.png | 2.21KB | 1.33KB | ▼ 39.58% |
assets/logo.png | 3.93KB | 2.03KB | ▼ 48.37% |