Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Parse error in wp-content/plugins/hoversignal/init.php+353
syntax error, unexpected end of file
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.19ms] Passed 4 tests
An overview of server-side resources used by HoverSignal WooCommerce Social Proof
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.10 ▼5.84 |
Dashboard /wp-admin | 3.31 ▼0.04 | 48.44 ▼8.54 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.59 ▼3.12 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 80.75 ▼19.25 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.72 ▲2.92 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
HoverSignal WooCommerce Social Proof: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.24 ▼0.05 | 1.65 ▼0.14 | 41.50 ▼2.80 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.00 | 83.77 ▼5.36 | 37.73 ▼2.01 |
Posts /wp-admin/edit.php | 2,100 ▼3 | 1.98 ▼0.01 | 38.49 ▲0.41 | 34.48 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.15 ▲4.75 | 596.90 ▼43.12 | 87.51 ▲24.99 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.19 ▼0.03 | 103.20 ▲1.24 | 47.79 ▲3.01 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- 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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Parse error
syntax error, unexpected end of file in wp-content/plugins/hoversignal/init.php on line 353
- > PHP Parse 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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Requires at least: Invalid version format
hoversignal/init.php 85% from 13 tests
Analyzing the main PHP file in "HoverSignal WooCommerce Social Proof" version 1.0.3
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("hoversignal.php" instead of "init.php")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 262 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin368 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 37 | 60 | 259 |
CSS | 1 | 3 | 1 | 67 |
SVG | 1 | 3 | 0 | 26 |
JavaScript | 1 | 4 | 0 | 16 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 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 | 3 | |
▷ Global constants | 3 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.64KB | 1.27KB | ▼ 22.26% |