Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼11.87ms] Passed 4 tests
Analyzing server-side resources used by Bytes Route - Digital Adoption Platform
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.03 | 39.85 ▼8.80 |
Dashboard /wp-admin | 3.38 ▼0.01 | 51.45 ▼17.49 |
Posts /wp-admin/edit.php | 3.43 ▲0.03 | 50.44 ▼6.51 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.03 | 86.45 ▼14.68 |
Media Library /wp-admin/upload.php | 3.30 ▲0.03 | 39.04 ▼1.88 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Bytes Route - Digital Adoption Platform
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲55 | 14.72 ▲0.11 | 1.69 ▼0.41 | 40.55 ▼2.91 |
Dashboard /wp-admin | 2,210 ▲33 | 5.62 ▼0.03 | 85.44 ▼14.58 | 41.19 ▼3.32 |
Posts /wp-admin/edit.php | 2,112 ▲12 | 2.01 ▼0.00 | 37.30 ▼2.35 | 33.80 ▼5.58 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.72 ▲0.43 | 760.94 ▲44.54 | 52.98 ▼0.94 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.19 ▼0.02 | 94.90 ▼0.01 | 43.46 ▲2.51 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
6 plugin tags: product tours, tooltip, walkthrough, onboarding, user onboarding...
bytes-route-digital-adoption-platform/bytes-route.php 77% from 13 tests
This is the main PHP file of "Bytes Route - Digital Adoption Platform" version 1.0.0, 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: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bytes-route-digital-adoption-platform.php" instead of "bytes-route.php")
- Description: Keep the plugin description shorter than 140 characters (currently 153 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected161 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 27 | 35 | 109 |
SVG | 1 | 0 | 0 | 52 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 4 | |
▷ Named functions | 4 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.45MB with 0.27MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500.png | 210.60KB | 56.87KB | ▼ 73.00% |
assets/banner-772x250.png | 76.31KB | 23.06KB | ▼ 69.78% |
assets/screenshot-2.png | 82.87KB | 36.30KB | ▼ 56.20% |
assets/screenshot-3.png | 50.86KB | 23.93KB | ▼ 52.94% |
assets/screenshot-1.png | 35.91KB | 18.39KB | ▼ 48.78% |