Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.99MB] [CPU: ▼40.17ms] Passed 4 tests
Server-side resources used by qrLogin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▼0.61 | 17.71 ▼24.32 |
Dashboard /wp-admin | 3.07 ▼0.23 | 26.87 ▼30.97 |
Posts /wp-admin/edit.php | 3.07 ▼0.29 | 26.04 ▼27.47 |
Add New Post /wp-admin/post-new.php | 3.07 ▼2.82 | 27.28 ▼77.90 |
Media Library /wp-admin/upload.php | 3.07 ▼0.16 | 23.43 ▼12.55 |
qrLogin /wp-admin/options-general.php?page=qrLogin | 3.07 | 27.78 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 9 new files
Database: 1 new table, 14 new options
New tables |
---|
wp_qrlogin |
New WordPress options |
---|
qrlogin_qrcode_back_color |
qrlogin_del_http |
qrlogin_timeout |
theysaidso_admin_options |
qrlogin_login_timeout |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
qrlogin_qrcode_fore_color |
qrlogin_post_timeout |
... |
Browser metrics Passed 4 tests
A check of browser resources used by qrLogin
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲70 | 14.54 ▲0.23 | 1.73 ▼0.41 | 41.85 ▼1.38 |
Dashboard /wp-admin | 2,210 ▲19 | 5.84 ▼0.05 | 113.19 ▲3.37 | 41.08 ▼2.30 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.03 | 43.39 ▲5.67 | 35.19 ▼0.20 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.19 ▲4.86 | 656.00 ▼28.67 | 53.84 ▼8.42 |
Media Library /wp-admin/upload.php | 1,395 ▲13 | 4.20 ▼0.10 | 98.91 ▼11.28 | 47.72 ▲2.60 |
qrLogin /wp-admin/options-general.php?page=qrLogin | 1,332 | 2.67 | 48.96 | 24.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Uninstall procedure had uncaught errors
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- Zombie tables were found after uninstall: 1 table
- wp_qrlogin
- The uninstall procedure has failed, leaving 14 options in the database
- widget_recent-posts
- qrlogin_poll_lifetime
- qrlogin_login_timeout
- theysaidso_admin_options
- qrlogin_del_http
- can_compress_scripts
- db_upgraded
- qrlogin_timeout
- qrlogin_qrcode_back_color
- widget_recent-comments
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=qrLogin
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/qrlogin/qrlogin.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
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
2 plugin tags: login, qrcode
qrlogin/qrlogin.php Passed 13 tests
The main file in "qrLogin" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
112 characters long description:
qrLogin - fast, easy, free, open, secure login system! For login run qrLogin on smartphone and scan the QR code.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin1,575 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 1 | 643 |
JavaScript | 1 | 73 | 127 | 414 |
PHP | 2 | 47 | 55 | 393 |
PO File | 1 | 44 | 96 | 125 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin