Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.48ms] Passed 4 tests
Server-side resources used by Accept Bitcoin, Ethereum, Litecoin, Monero and many more crypto with Cointopay.com
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.96 ▼0.61 |
Dashboard /wp-admin | 3.31 ▼0.04 | 46.68 ▼13.77 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.90 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.43 ▼14.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.48 ▼1.02 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Accept Bitcoin, Ethereum, Litecoin, Monero and many more crypto with Cointopay.com: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲54 | 13.19 ▼1.21 | 1.67 ▼0.40 | 41.00 ▼1.51 |
Dashboard /wp-admin | 2,224 ▲18 | 5.89 ▲0.02 | 100.39 ▼2.60 | 39.24 ▼6.38 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 2.05 ▼0.00 | 34.34 ▼5.54 | 38.79 ▲0.88 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 17.53 ▲0.00 | 647.65 ▼34.11 | 61.01 ▲7.85 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.26 ▲0.03 | 97.06 ▼6.69 | 44.30 ▼1.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
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)
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #1, #2, #3 in wc-cointopay-com/assets to your readme.txt
wc-cointopay-com/wc-cointopay.php 92% from 13 tests
The principal PHP file in "Accept Bitcoin, Ethereum, Litecoin, Monero and many more crypto with Cointopay.com" v. 1.4.0 is loaded by WordPress automatically on each request
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("wc-cointopay-com.php" instead of "wc-cointopay.php")
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 plugin392 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 80 | 98 | 309 |
JavaScript | 1 | 9 | 3 | 51 |
Markdown | 1 | 18 | 0 | 32 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 39.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/fail.png | 2.15KB | 1.72KB | ▼ 19.99% |
images/crypto.png | 6.90KB | 2.94KB | ▼ 57.45% |
images/check.png | 2.47KB | 2.29KB | ▼ 7.17% |