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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼7.58ms] Passed 4 tests
A check of server-side resources used by AffiliateWP - Affiliate QR Codes
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.80 ▼3.68 |
Dashboard /wp-admin | 3.36 ▲0.05 | 51.25 ▼18.90 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 50.23 ▼1.08 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.99 ▼5.62 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 37.60 ▼2.11 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
AffiliateWP - Affiliate QR Codes: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,792 ▲31 | 14.14 ▼0.21 | 1.78 ▼0.17 | 41.54 ▼3.23 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.11 | 91.67 ▼11.70 | 41.91 ▼0.75 |
Posts /wp-admin/edit.php | 2,106 ▲6 | 1.97 ▼0.04 | 37.54 ▼1.47 | 33.84 ▼1.38 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.02 ▼0.16 | 670.37 ▼43.03 | 49.44 ▼10.65 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.16 ▼0.01 | 99.34 ▼16.99 | 46.94 ▼0.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Contributors: The plugin contributors field is not present
- Contributors: Please add at least on tag
affiliatewp-affiliate-qr-codes/affiliatewp-affiliate-qr-codes.php Passed 13 tests
The main file in "AffiliateWP - Affiliate QR Codes" v. 1.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
76 characters long description:
Allows affiliates to save, print, or share their affiliate URL as a QR code.
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
Good job! No executable or dangerous file extensions detected579 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 210 | 808 | 579 |
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 problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.63 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 1 | 12.50% |
▷ Concrete classes | 7 | 87.50% |
▷ Final classes | 1 | 14.29% |
Methods | 58 | |
▷ Static methods | 4 | 6.90% |
▷ Public methods | 29 | 50.00% |
▷ Protected methods | 15 | 25.86% |
▷ Private methods | 14 | 24.14% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin