Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.68MB] [CPU: ▼16.68ms] Passed 4 tests
A check of server-side resources used by Steeply QR
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 37.74 ▼9.68 |
Dashboard /wp-admin | 3.33 ▲0.02 | 47.09 ▼1.58 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.97 ▲1.75 |
Add New Post /wp-admin/post-new.php | 3.11 ▼2.77 | 36.52 ▼56.36 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.13 ▲0.91 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Steeply QR
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲79 | 13.34 ▼0.79 | 1.53 ▼0.18 | 38.96 ▼5.49 |
Dashboard /wp-admin | 2,217 ▲29 | 5.85 ▲0.96 | 98.14 ▼16.39 | 37.57 ▼10.23 |
Posts /wp-admin/edit.php | 2,100 ▲11 | 2.03 ▲0.04 | 36.37 ▼2.11 | 32.26 ▼1.41 |
Add New Post /wp-admin/post-new.php | 6,483 ▲4,950 | 20.33 ▼3.01 | 891.51 ▲219.17 | 64.19 ▲8.71 |
Media Library /wp-admin/upload.php | 1,402 ▲20 | 4.20 ▲0.04 | 93.23 ▼11.70 | 40.69 ▼6.04 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/steeply-qr/public/partials/steeply-qr-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'Steeply_Qr_Admin' not found in wp-content/plugins/steeply-qr/admin/partials/steeply-qr-admin-display.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== steeply-qr ===
)
steeply-qr/steeply-qr.php Passed 13 tests
The main file in "Steeply QR" v. 1.0.5 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Generate QR Codes for your Posts, Pages and Custom Post Types.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin592 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 242 | 580 | 408 |
CSS | 2 | 26 | 4 | 122 |
JavaScript | 2 | 20 | 27 | 62 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 5.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 5 | 13.16% |
▷ Public methods | 33 | 86.84% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 13.16% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected