Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼8.86ms] Passed 4 tests
Analyzing server-side resources used by UX Tracker
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.06 | 38.91 ▼11.95 |
Dashboard /wp-admin | 3.34 ▼0.00 | 45.71 ▼10.58 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 60.55 ▲7.30 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 83.15 ▼15.54 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.60 ▲2.62 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for UX Tracker
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲153 | 13.59 ▼0.79 | 4.62 ▲2.71 | 42.06 ▼0.03 |
Dashboard /wp-admin | 2,219 ▲31 | 5.78 ▲0.84 | 98.18 ▼1.60 | 38.90 ▼4.65 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.03 ▲0.04 | 35.25 ▼6.17 | 33.46 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.49 ▲0.02 | 678.04 ▲13.26 | 51.49 ▲1.41 |
Media Library /wp-admin/upload.php | 1,401 ▲19 | 4.13 ▼0.04 | 91.51 ▼8.94 | 42.08 ▼1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Looking good! No server-side errors or output on direct access of PHP files
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 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Plugin Name: You should set the name of your plugin on the first line (
=== ux-tracker ===
)
ux-tracker/ux-tracker.php 92% from 13 tests
The main PHP script in "UX Tracker" version 1.01 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 167 characters long)
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
Success! There were no dangerous files found in this plugin415 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 98 | 15 | 273 |
JavaScript | 2 | 22 | 7 | 142 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.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 | 9 | |
▷ Static methods | 7 | 77.78% |
▷ Public methods | 5 | 55.56% |
▷ Protected methods | 2 | 22.22% |
▷ Private methods | 2 | 22.22% |
Functions | 7 | |
▷ Named functions | 7 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) assets/icon-256x256.png | 11.07KB | 0.00KB | ▼ 100.00% |
admin/img/custom-dimensions.png | 11.56KB | 5.62KB | ▼ 51.37% |
(invalid) assets/icon-128x128.png | 4.53KB | 0.00KB | ▼ 100.00% |