Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.85ms] Passed 4 tests
An overview of server-side resources used by Buddypress Avatar Hover
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 38.98 ▲2.61 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.19 ▲0.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 47.29 ▼6.72 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.64 ▼11.84 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.88 ▲5.21 |
Server storage [IO: ▲0.29MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Buddypress Avatar Hover
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲116 | 13.29 ▼1.06 | 10.29 ▲8.74 | 39.99 ▼0.93 |
Dashboard /wp-admin | 2,198 ▲24 | 5.73 ▲0.15 | 82.48 ▼11.20 | 38.17 ▼5.58 |
Posts /wp-admin/edit.php | 2,097 ▲15 | 2.02 ▲0.00 | 35.62 ▼7.29 | 31.27 ▼1.93 |
Add New Post /wp-admin/post-new.php | 1,528 ▼9 | 23.19 ▲5.03 | 605.65 ▼24.86 | 84.42 ▲14.62 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.28 ▲0.10 | 111.05 ▲9.94 | 48.30 ▲5.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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
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 smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots require images: #1 (pop tooltipster), #2 (pop tooltipster)
bp-avatar-hover/bp-avatar-hover.php Passed 13 tests
The entry point to "Buddypress Avatar Hover" version 1.0 is a PHP file that has certain tags in its header comment area
75 characters long description:
buddypress Avatar Hover add pop box when hovering on member/group avatar .
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 plugin1,726 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 246 | 200 | 971 |
CSS | 1 | 52 | 9 | 477 |
PHP | 1 | 29 | 8 | 278 |
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.31 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.14MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 89.20KB | 29.84KB | ▼ 66.54% |
screenshot-2.png | 53.28KB | 18.16KB | ▼ 65.92% |