Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.39ms] Passed 4 tests
Analyzing server-side resources used by Cryptocurrency Payments & Donations with Copperx
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.38 ▼2.27 |
Dashboard /wp-admin | 3.31 ▲0.01 | 50.18 ▼0.66 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 52.56 ▼1.76 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.34 ▼16.88 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.73 ▲0.39 |
Server storage [IO: ▲0.07MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Cryptocurrency Payments & Donations with Copperx
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.25 ▼0.15 | 2.11 ▲0.37 | 46.60 ▲0.82 |
Dashboard /wp-admin | 2,195 ▲15 | 5.61 ▼0.05 | 97.40 ▲8.02 | 41.33 ▼0.54 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.01 | 38.93 ▲1.44 | 34.33 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.69 ▲0.72 | 677.86 ▼7.51 | 65.21 ▲13.30 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.22 ▲0.04 | 98.37 ▼6.33 | 47.84 ▲1.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
The SRP test was a success
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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
copperx/copperx.php Passed 13 tests
"Cryptocurrency Payments & Donations with Copperx" version 1.4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
62 characters long description:
Accept crypto payments in just 5 minutes. (https://copperx.io)
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
Success! There were no dangerous files found in this plugin1,160 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 210 | 302 | 819 |
CSS | 1 | 44 | 0 | 255 |
SVG | 7 | 0 | 0 | 66 |
JavaScript | 1 | 3 | 0 | 20 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 24.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 82.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 8 | 28.57% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 2 | 7.14% |
▷ Private methods | 2 | 7.14% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 2 | |
▷ Global constants | 1 | 50.00% |
▷ Class constants | 1 | 50.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/logo.png | 2.93KB | 2.90KB | ▼ 0.93% |