Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼5.06ms] Passed 4 tests
Server-side resources used by LiveSession - Visitor Recording for WordPress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 38.88 ▼4.06 |
Dashboard /wp-admin | 3.34 ▲0.03 | 50.41 ▼3.05 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 50.74 ▼0.53 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 88.06 ▼12.58 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.89 ▲0.37 |
LiveSession /wp-admin/options-general.php?page=livesession_settings | 3.24 | 32.96 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
livesession_version |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by LiveSession - Visitor Recording for WordPress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲9 | 14.72 ▲0.37 | 1.67 ▼0.46 | 42.18 ▼3.08 |
Dashboard /wp-admin | 2,201 ▲27 | 5.59 ▲0.03 | 88.31 ▼0.29 | 38.69 ▼10.36 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.16 ▲0.14 | 36.82 ▼2.05 | 39.47 ▲1.22 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 23.05 ▼0.03 | 747.98 ▲98.78 | 68.11 ▲17.69 |
Media Library /wp-admin/upload.php | 1,406 ▲6 | 4.18 ▼0.03 | 97.87 ▼10.52 | 46.05 ▼0.58 |
LiveSession /wp-admin/options-general.php?page=livesession_settings | 883 | 2.14 | 22.54 | 39.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- livesession_version
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- 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
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
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
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots need descriptions #1, #2, #3, #4, #5, #6 in livesession/assets to your readme.txt
livesession/livesession.php Passed 13 tests
"LiveSession - Visitor Recording for WordPress" version 1.0.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
59 characters long description:
The fastest way to understand customer's digital experience
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin274 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 58 | 43 | 251 |
CSS | 1 | 5 | 0 | 23 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 5.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 17 | |
▷ Static methods | 4 | 23.53% |
▷ Public methods | 12 | 70.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 29.41% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/static/livesession-logo.png | 9.93KB | 6.75KB | ▼ 31.98% |