Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.62MB] [CPU: ▲0.23ms] Passed 4 tests
A check of server-side resources used by Crypto QR Code WP
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.09 ▲0.63 | 46.00 ▲6.80 |
Dashboard /wp-admin | 3.94 ▲0.64 | 51.45 ▲0.93 |
Posts /wp-admin/edit.php | 3.99 ▲0.63 | 48.82 ▲4.33 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.57 | 82.82 ▼10.58 |
Media Library /wp-admin/upload.php | 3.87 ▲0.63 | 37.84 ▲6.23 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 443 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_crypto_qr_code_wp_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Crypto QR Code WP
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 14.11 ▼0.57 | 5.70 ▲3.81 | 43.62 ▼4.58 |
Dashboard /wp-admin | 2,213 ▲25 | 4.89 ▼0.97 | 111.92 ▲14.22 | 42.02 ▲1.53 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 35.19 ▼2.78 | 33.86 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,518 ▼15 | 23.64 ▲0.44 | 621.34 ▼61.62 | 54.82 ▲0.69 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.23 ▲0.03 | 95.43 ▼10.18 | 41.03 ▼1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_crypto_qr_code_wp_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/crypto-qr-code-wp/includes/vendor/phpqrcode/index.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: qr code, crypto, bitcoin, cryptocurrency
crypto-qr-code-wp/crypto-qr-code-wp.php Passed 13 tests
The principal PHP file in "Crypto QR Code WP" v. 1.0.2 is loaded by WordPress automatically on each request
49 characters long description:
Add cryptocurrencies QR code donate with tooltip.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
These items require your attention
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bat - Batch File in Windows
- ☣ wp-content/plugins/crypto-qr-code-wp/includes/vendor/phpqrcode/tools/merge.bat
- .bat - Batch File in Windows
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 1,678 | 2,269 | 6,668 |
CSS | 1 | 9 | 0 | 80 |
Markdown | 1 | 20 | 0 | 31 |
JavaScript | 1 | 4 | 5 | 24 |
Bourne Shell | 1 | 0 | 0 | 2 |
DOS Batch | 1 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 30.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 292.00 |
Average method complexity | 3.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 37 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 392 | |
▷ Static methods | 136 | 34.69% |
▷ Public methods | 288 | 73.47% |
▷ Protected methods | 96 | 24.49% |
▷ Private methods | 8 | 2.04% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 102 | |
▷ Global constants | 102 | 100.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
40 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/vendor/phpqrcode/cache/frame_4.png | 0.15KB | 0.14KB | ▼ 1.34% |
includes/vendor/phpqrcode/cache/frame_9.png | 0.19KB | 0.19KB | ▼ 2.01% |
includes/vendor/phpqrcode/cache/frame_18.png | 0.22KB | 0.21KB | ▼ 5.26% |
includes/vendor/phpqrcode/cache/frame_11.png | 0.20KB | 0.19KB | ▼ 6.83% |
includes/vendor/phpqrcode/cache/frame_17.png | 0.21KB | 0.19KB | ▼ 6.64% |