Benchmarks
Plugin footprint 57% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Notice in wp-content/plugins/usense/index.php+74
Undefined index: clientId
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.92ms] Passed 4 tests
An overview of server-side resources used by USense
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.13 ▼2.73 |
Dashboard /wp-admin | 3.31 ▲0.00 | 45.97 ▼3.37 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.58 ▼4.28 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 92.38 ▼9.31 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.11 ▲0.95 |
Server storage [IO: ▲2.59MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
These are issues you should consider
- The plugin illegally modified 2 files (0.00KB) outside of "wp-content/plugins/usense/" and "wp-content/uploads/"
- (new file) "wp-content/plugins/usense/assets/772\303\227250.png"
- (new file) "wp-content/plugins/usense/assets/icon-128\303\227128.png"
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for USense
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.27 ▼1.09 | 4.59 ▲3.02 | 40.11 ▼8.91 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.02 | 101.10 ▼9.56 | 38.35 ▼1.36 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.06 ▲0.05 | 38.97 ▼2.61 | 36.11 ▲1.07 |
Add New Post /wp-admin/post-new.php | 1,533 ▲5 | 23.48 ▲0.37 | 599.67 ▼54.14 | 51.68 ▼1.60 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.24 ▲0.06 | 96.13 ▼18.40 | 43.33 ▼4.36 |
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 were found after uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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 trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/usense/index.php:25
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Screenshots: Please add an image for screenshot #5 (User Persona Widget)
- Donate link: Invalid URI found ("")
usense/index.php 85% from 13 tests
The principal PHP file in "USense" v. 5.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 156 characters long)
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("usense.php" instead of "index.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
Everything looks great! No dangerous files found in this plugin7,042 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 408 | 105 | 3,854 |
PHP | 1 | 516 | 166 | 2,217 |
CSS | 3 | 82 | 21 | 918 |
Markdown | 1 | 24 | 0 | 53 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 16 | |
▷ Named functions | 16 | 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
26 PNG files occupy 0.93MB with 0.33MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/772×250.png | 164.13KB | 64.92KB | ▼ 60.44% |
widget-ico.png | 4.19KB | 4.04KB | ▼ 3.52% |
assets/screenshot-3.png | 163.68KB | 64.49KB | ▼ 60.60% |
assets/Search.png | 1.21KB | 0.60KB | ▼ 50.36% |
assets/icon-128×128.png | 4.19KB | 4.04KB | ▼ 3.52% |