Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.30MB] [CPU: ▼7.29ms] Passed 4 tests
This is a short check of server-side resources used by Dynamic QR Code - generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.33 ▼5.53 |
Dashboard /wp-admin | 3.65 ▲0.35 | 45.95 ▼6.11 |
Posts /wp-admin/edit.php | 3.76 ▲0.41 | 48.53 ▲2.94 |
Add New Post /wp-admin/post-new.php | 6.24 ▲0.35 | 85.71 ▼12.16 |
Media Library /wp-admin/upload.php | 3.57 ▲0.35 | 33.65 ▼5.34 |
Settings /wp-admin/admin.php?page=sos-dynamic-qr-code-3 | 5.36 | 51.74 |
QR-Codes /wp-admin/admin.php?page=sos-dynamic-qr-code-0 | 3.73 | 37.75 |
Scan logs /wp-admin/admin.php?page=sos-dynamic-qr-code-2 | 3.73 | 35.82 |
sos-dynamic-qr-code-1 /wp-admin/admin.php?page=sos-dynamic-qr-code-1 | 3.80 | 45.12 |
Server storage [IO: ▲1.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 103 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_sos_dqc_logs |
wp_sos_dqc_qrcodes |
wp_sos_dqc_otkeys |
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
sos-dynamic-qr-code_db-version |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Dynamic QR Code - generator
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲112 | 13.59 ▼0.80 | 1.86 ▲0.06 | 43.82 ▼1.73 |
Dashboard /wp-admin | 2,237 ▲49 | 4.81 ▼0.06 | 107.90 ▲2.31 | 44.24 ▲0.38 |
Posts /wp-admin/edit.php | 2,120 ▲31 | 2.01 ▲0.00 | 39.39 ▲2.28 | 35.40 ▲0.54 |
Add New Post /wp-admin/post-new.php | 6,272 ▲4,732 | 26.27 ▲8.02 | 906.01 ▲294.71 | 58.61 ▲4.13 |
Media Library /wp-admin/upload.php | 1,422 ▲40 | 4.24 ▲0.01 | 98.46 ▼2.56 | 43.56 ▼1.79 |
Settings /wp-admin/admin.php?page=sos-dynamic-qr-code-3 | 1,127 | 1.84 | 35.18 | 36.35 |
QR-Codes /wp-admin/admin.php?page=sos-dynamic-qr-code-0 | 911 | 2.04 | 27.91 | 28.34 |
Scan logs /wp-admin/admin.php?page=sos-dynamic-qr-code-2 | 1,013 | 2.02 | 24.77 | 23.23 |
sos-dynamic-qr-code-1 /wp-admin/admin.php?page=sos-dynamic-qr-code-1 | 2,242 | 1.69 | 27.37 | 30.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables were found after uninstall: 3 tables
- wp_sos_dqc_otkeys
- wp_sos_dqc_qrcodes
- wp_sos_dqc_logs
- This plugin did not uninstall successfully, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- sos-dynamic-qr-code_db-version
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
- 64× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/dynamic-qr-code/sos/wp/elementor/widget.php
- > /wp-content/plugins/dynamic-qr-code/src/lib/phpqrcode.php
- > /wp-content/plugins/dynamic-qr-code/sos/wp/elementor/section.php
- > /wp-content/plugins/dynamic-qr-code/sos/wp/asset.php
- > /wp-content/plugins/dynamic-qr-code/src/app.php
- > /wp-content/plugins/dynamic-qr-code/src/dotw.php
- > /wp-content/plugins/dynamic-qr-code/sos/wp/data/cluster.php
- > /wp-content/plugins/dynamic-qr-code/sos/wp/be/navtab.php
- > /wp-content/plugins/dynamic-qr-code/src/form/config.php
- > /wp-content/plugins/dynamic-qr-code/sos/wp/cookie.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'SOSIDEE_DYNAMIC_QRCODE\\SosPlugin' not found in wp-content/plugins/dynamic-qr-code/admin/logs.php:2
- > PHP Fatal error
Uncaught Error: Class 'SOSIDEE_DYNAMIC_QRCODE\\SosPlugin' not found in wp-content/plugins/dynamic-qr-code/admin/config.php:4
- > PHP Fatal error
Uncaught Error: Class 'SOSIDEE_DYNAMIC_QRCODE\\SosPlugin' not found in wp-content/plugins/dynamic-qr-code/admin/qrcodes.php:3
- > PHP Fatal error
Uncaught Error: Class 'SOSIDEE_DYNAMIC_QRCODE\\SosPlugin' not found in wp-content/plugins/dynamic-qr-code/admin/qrcode.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% 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
3 plugin tags: qr code, dynamic qr code generator, dynamic qr code
dynamic-qr-code/dynamic-qr-code.php 85% from 13 tests
This is the main PHP file of "Dynamic QR Code - generator" version 0.9.3, 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:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
- Domain Path: The domain path points to a folder that does not exist ("/languages")
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
Everything looks great! No dangerous files found in this plugin10,879 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 68 | 2,142 | 1,939 | 10,657 |
JavaScript | 5 | 12 | 0 | 144 |
CSS | 2 | 6 | 4 | 76 |
HTML | 1 | 0 | 0 | 1 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 20.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 5 | |
Classes | 74 | |
▷ Abstract classes | 1 | 1.35% |
▷ Concrete classes | 73 | 98.65% |
▷ Final classes | 0 | 0.00% |
Methods | 676 | |
▷ Static methods | 176 | 26.04% |
▷ Public methods | 546 | 80.77% |
▷ Protected methods | 54 | 7.99% |
▷ Private methods | 76 | 11.24% |
Functions | 39 | |
▷ Named functions | 17 | 43.59% |
▷ Anonymous functions | 22 | 56.41% |
Constants | 131 | |
▷ Global constants | 34 | 25.95% |
▷ Class constants | 97 | 74.05% |
▷ Public constants | 93 | 95.88% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin