Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼0.72ms] Passed 4 tests
Server-side resources used by Bp Favorite Notifications
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.23 ▲1.93 |
Dashboard /wp-admin | 3.35 ▲0.00 | 54.68 ▼3.34 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.85 ▲1.94 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 86.76 ▼2.66 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.77 ▲1.17 |
Server storage [IO: ▲0.08MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Bp Favorite Notifications
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,876 ▲105 | 13.36 ▼1.16 | 7.99 ▲6.27 | 43.33 ▲2.06 |
Dashboard /wp-admin | 2,199 ▲25 | 5.68 ▲0.10 | 82.55 ▼7.50 | 35.71 ▼7.20 |
Posts /wp-admin/edit.php | 2,086 ▼14 | 2.03 ▲0.02 | 34.03 ▼0.31 | 34.49 ▼2.55 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.59 ▲0.13 | 675.84 ▲5.31 | 53.16 ▼1.33 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.15 ▼0.04 | 96.97 ▲1.62 | 43.54 ▲0.24 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots do not have images: #1 (mark as favorite), #2 (mark as favorite)
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== bp-favorite-notifications ===
)
bp-favorite-notifications/bp-favorite.php 92% from 13 tests
The primary PHP file in "Bp Favorite Notifications" version 1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bp-favorite-notifications.php" instead of "bp-favorite.php")
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 detected332 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 29 | 11 | 154 |
CSS | 2 | 32 | 0 | 138 |
PO File | 1 | 8 | 16 | 26 |
JavaScript | 1 | 1 | 0 | 14 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
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 | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 26.80KB | 10.00KB | ▼ 62.69% |
screenshot-2.png | 37.96KB | 14.71KB | ▼ 61.24% |