Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.22ms] Passed 4 tests
This is a short check of server-side resources used by BuddyPress Greeting Message
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.40 ▼0.06 | 33.04 ▼7.97 |
Dashboard /wp-admin | 3.34 ▲0.04 | 50.04 ▼2.40 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.25 ▲0.57 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 88.97 ▼8.42 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.25 ▼2.10 |
BuddyPress Greeting Message /wp-admin/options-general.php?page=bp_greeting_message_settings | 3.26 | 38.32 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
bp_greeting_message_version |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by BuddyPress Greeting Message
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,934 ▲173 | 13.59 ▼0.77 | 6.66 ▲5.06 | 43.98 ▲1.45 |
Dashboard /wp-admin | 2,229 ▲23 | 4.91 ▲0.02 | 105.63 ▲1.11 | 41.14 ▼4.74 |
Posts /wp-admin/edit.php | 2,111 ▲11 | 2.04 ▼0.02 | 34.67 ▼3.70 | 34.59 ▼5.11 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 23.32 ▲5.85 | 689.01 ▼11.25 | 53.77 ▼9.00 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.28 ▲0.08 | 100.41 ▼17.59 | 44.14 ▼3.17 |
BuddyPress Greeting Message /wp-admin/options-general.php?page=bp_greeting_message_settings | 1,058 | 3.25 | 48.87 | 26.05 |
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 detected upon uninstall: 7 options
- db_upgraded
- bp_greeting_message_version
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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:
- Tags: You are using too many tags: 11 tag instead of maximum 10
bp-greeting-message/bp-greeting-message.php Passed 13 tests
"BuddyPress Greeting Message" version 1.0.3's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
Display a Greeting Message on BuddyPress Activity Screen.
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
No dangerous file extensions were detected764 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 189 | 317 | 634 |
JavaScript | 3 | 25 | 6 | 103 |
CSS | 1 | 5 | 0 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 25.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 3.72 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 43.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 2 | 5.56% |
▷ Public methods | 34 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.56% |
Functions | 1 | |
▷ Named functions | 1 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/afternoon.png | 1.83KB | 0.90KB | ▼ 51.07% |
assets/img/morning.png | 1.57KB | 0.92KB | ▼ 41.74% |
assets/img/night.png | 2.32KB | 1.72KB | ▼ 26.15% |
assets/img/evening.png | 1.76KB | 1.29KB | ▼ 26.84% |