Benchmarks
Plugin footprint 83% from 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.05MB] [CPU: ▼13.98ms] Passed 4 tests
This is a short check of server-side resources used by Accept Cryptocurrencies with Plisio for Easy Digital Downloads
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 32.57 ▼6.70 |
Dashboard /wp-admin | 3.37 ▲0.02 | 41.28 ▼16.52 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.98 ▲1.38 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 78.93 ▼32.63 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.25 ▼0.08 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Accept Cryptocurrencies with Plisio for Easy Digital Downloads: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.39 | 1.75 ▼0.07 | 37.57 ▼6.65 |
Dashboard /wp-admin | 2,206 ▲14 | 5.90 ▲0.93 | 113.66 ▲6.05 | 42.37 ▲2.25 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.98 ▼0.03 | 35.91 ▼5.23 | 32.42 ▼2.87 |
Add New Post /wp-admin/post-new.php | 1,514 ▼0 | 17.66 ▲0.21 | 646.35 ▼46.81 | 49.73 ▼1.11 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.28 ▲0.07 | 93.59 ▼5.68 | 40.42 ▼5.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_recent-posts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (19 tag instead of maximum 10)
plisio-payment-gateway-easy-digital-downloads/plisio.php 92% from 13 tests
The main PHP script in "Accept Cryptocurrencies with Plisio for Easy Digital Downloads" version 1.1.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("plisio-payment-gateway-easy-digital-downloads.php" instead of "plisio.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
Everything looks great! No dangerous files found in this plugin311 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 58 | 13 | 283 |
Markdown | 1 | 23 | 0 | 28 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 1 | 50.00% |
Methods | 25 | |
▷ Static methods | 1 | 4.00% |
▷ Public methods | 14 | 56.00% |
▷ Protected methods | 2 | 8.00% |
▷ Private methods | 9 | 36.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/plisio_icon.png | 14.39KB | 10.59KB | ▼ 26.42% |