Benchmarks
Plugin footprint 83% from 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.05MB] [CPU: ▼5.63ms] Passed 4 tests
An overview of server-side resources used by Usetiful - Digital Adoption Platform
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 37.17 ▼3.29 |
Dashboard /wp-admin | 3.37 ▲0.02 | 46.27 ▼12.68 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 47.11 ▲1.82 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 82.89 ▼8.35 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 40.17 ▲4.40 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
Usetiful - Digital Adoption Platform: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲51 | 13.33 ▼1.06 | 1.62 ▼0.20 | 41.58 ▼0.37 |
Dashboard /wp-admin | 2,231 ▲40 | 5.01 ▲0.12 | 96.07 ▼5.25 | 63.38 ▲19.99 |
Posts /wp-admin/edit.php | 2,111 ▲25 | 2.06 ▲0.02 | 39.15 ▲2.18 | 33.04 ▼2.74 |
Add New Post /wp-admin/post-new.php | 1,539 ▲19 | 23.17 ▲0.07 | 663.76 ▼13.79 | 50.57 ▼8.16 |
Media Library /wp-admin/upload.php | 1,420 ▲38 | 4.35 ▲0.15 | 95.69 ▼1.95 | 75.38 ▲33.37 |
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
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% 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
Please take a closer look at the following
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/usetiful-digital-adoption-platform/admin/tag-setting.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/usetiful-digital-adoption-platform/admin/setting.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: guide, tooltip, walkthrough, ux, onboarding...
usetiful-digital-adoption-platform/usetiful.php 85% from 13 tests
This is the main PHP file of "Usetiful - Digital Adoption Platform" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("usetiful-digital-adoption-platform.php" instead of "usetiful.php")
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
No dangerous file extensions were detected537 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 86 | 122 | 358 |
JavaScript | 1 | 14 | 29 | 140 |
CSS | 1 | 2 | 1 | 25 |
SVG | 3 | 0 | 0 | 14 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 48.00 |
▷ Minimum class complexity | 48.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 4.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
7 PNG files occupy 0.39MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin_icon_white.png | 1.73KB | 0.95KB | ▼ 45.13% |
assets/screenshot-2.png | 38.61KB | 16.00KB | ▼ 58.57% |
assets/banner-1544x500.png | 148.56KB | 57.44KB | ▼ 61.34% |
assets/screenshot-3.png | 74.14KB | 25.76KB | ▼ 65.26% |
assets/screenshot-1.png | 87.27KB | 30.85KB | ▼ 64.65% |