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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.07MB] [CPU: ▲1.91ms] Passed 4 tests
This is a short check of server-side resources used by WP Live Messenger
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 45.98 ▲5.79 |
Dashboard /wp-admin | 3.38 ▲0.07 | 52.70 ▲0.41 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 50.29 ▲3.89 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 94.37 ▲0.28 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.63 ▲3.04 |
Server storage [IO: ▲1.41MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by WP Live Messenger
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,175 ▲440 | 16.70 ▲2.34 | 49.66 ▲47.75 | 39.09 ▼4.85 |
Dashboard /wp-admin | 2,346 ▲155 | 6.44 ▲1.55 | 121.55 ▲17.30 | 72.81 ▲28.61 |
Posts /wp-admin/edit.php | 2,264 ▲172 | 3.38 ▲1.36 | 52.39 ▲10.92 | 68.66 ▲32.15 |
Add New Post /wp-admin/post-new.php | 1,542 ▲22 | 18.01 ▼5.02 | 577.47 ▼79.19 | 155.65 ▲103.33 |
Media Library /wp-admin/upload.php | 1,403 ▲18 | 4.19 ▼0.06 | 79.69 ▼20.36 | 76.30 ▲32.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
No plugin tags provided
wp-live-messenger/wp-live-messenger.php Passed 13 tests
"WP Live Messenger" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
51 characters long description:
It allows user to send message directly in Facebook
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected6,508 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 155 | 35 | 2,775 |
SVG | 1 | 0 | 0 | 2,671 |
JavaScript | 7 | 94 | 39 | 666 |
PHP | 9 | 107 | 41 | 396 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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
3 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/fb.png | 36.02KB | 17.34KB | ▼ 51.86% |
assets/admin/images/messenger-icon_old.png | 0.29KB | 0.29KB | 0.00% |
assets/admin/images/messenger-icon.png | 0.26KB | 0.37KB | 0.00% |