Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼143.92ms] Passed 4 tests
This is a short check of server-side resources used by QR Generate Link
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.01 | 40.15 ▼3.72 |
Dashboard /wp-admin | 3.07 ▲0.02 | 51.42 ▼16.38 |
Posts /wp-admin/edit.php | 3.13 ▲0.02 | 50.19 ▼5.62 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 101.83 ▼549.97 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 38.34 ▲2.01 |
QR Code Generate /wp-admin/plugins.php?page=qr-generate_link-page | 2.99 | 32.38 |
Server storage [IO: ▲5.89MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 299 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
A check of browser resources used by QR Generate Link
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,687 ▲115 | 15.55 ▼0.06 | 13.15 ▲3.14 | 51.30 ▲6.29 |
Dashboard /wp-admin | 2,975 ▲44 | 5.86 ▼0.08 | 155.64 ▼18.07 | 116.16 ▼7.41 |
Posts /wp-admin/edit.php | 2,747 ▲8 | 2.72 ▲0.00 | 80.41 ▼1.97 | 91.68 ▼8.34 |
Add New Post /wp-admin/post-new.php | 1,689 ▲6 | 18.04 ▼0.29 | 413.52 ▼33.60 | 118.84 ▼3.75 |
Media Library /wp-admin/upload.php | 1,755 ▼52 | 5.04 ▲0.01 | 178.24 ▲11.61 | 127.11 ▲2.09 |
QR Code Generate /wp-admin/plugins.php?page=qr-generate_link-page | 1,085 | 2.05 | 60.82 | 77.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstaller ran successfully
Smoke tests 75% from 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 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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
QRcode : Data do not exist. in wp-content/plugins/qr-code-generate/include-files/php/qr_img.php on line 88
- > PHP Fatal error
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 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: generate qr, gerador de codigos qr, qr, qr code
qr-code-generate/qr-generate-link.php 69% from 13 tests
This is the main PHP file of "QR Generate Link" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages/")
- Domain Path: The domain path should use only dashes and lowercase characters ("languages/")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Main file name: Name the main plugin file the same as the plugin slug ("qr-code-generate.php" instead of "qr-generate-link.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,193 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 125 | 85 | 539 |
Perl | 3 | 135 | 97 | 517 |
JavaScript | 1 | 18 | 33 | 95 |
PO File | 2 | 4 | 4 | 42 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.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
43 compressed PNG files occupy 0.01MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
include-files/image/qrv2.png | 0.15KB | 0.14KB | ▼ 4.52% |
include-files/image/qrv3.png | 0.15KB | 0.14KB | ▼ 5.19% |
include-files/image/qrv21.png | 0.25KB | 0.23KB | ▼ 7.84% |
include-files/image/qrv27.png | 0.25KB | 0.23KB | ▼ 7.39% |
include-files/image/qrv8.png | 0.22KB | 0.21KB | ▼ 5.41% |