Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼0.73ms] Passed 4 tests
A check of server-side resources used by LiveCaller - Live Call & Chat Plugin for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 38.70 ▼5.54 |
Dashboard /wp-admin | 3.38 ▲0.08 | 51.52 ▼4.45 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 55.32 ▲5.73 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 99.90 ▲3.88 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 39.34 ▲3.18 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by LiveCaller - Live Call & Chat Plugin for WordPress
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲45 | 14.72 ▲0.36 | 1.80 ▲0.11 | 42.44 ▼5.04 |
Dashboard /wp-admin | 2,200 ▲29 | 5.55 ▲0.02 | 85.00 ▼12.18 | 67.82 ▲23.04 |
Posts /wp-admin/edit.php | 2,117 ▲14 | 2.00 ▼0.02 | 50.65 ▲12.49 | 40.95 ▲6.26 |
Add New Post /wp-admin/post-new.php | 1,694 ▲168 | 21.84 ▼1.75 | 662.14 ▼12.52 | 65.69 ▲7.93 |
Media Library /wp-admin/upload.php | 1,414 ▲14 | 4.15 ▼0.08 | 102.70 ▼7.52 | 74.48 ▲26.94 |
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
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/livecaller/views/widget_code.php
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_errors() in wp-content/plugins/livecaller/views/settings.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/livecaller/livecaller.php:12
- > PHP Notice
Undefined variable: widget_locale in wp-content/plugins/livecaller/views/widget_code.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'LiveCaller\\LiveCaller' not found in wp-content/plugins/livecaller/plugin_files/LiveCallerAdmin.class.php:10
- > PHP Notice
Undefined variable: widget_id in wp-content/plugins/livecaller/views/widget_code.php on line 12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: chat plugin, wordpress chat, wordpress livecaller, livecaller, live chat...
livecaller/livecaller.php Passed 13 tests
This is the main PHP file of "LiveCaller - Live Call & Chat Plugin for WordPress" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
17 characters long description:
LiveCaller Widget
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin631 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 216 | 192 | 601 |
JSON | 2 | 0 | 0 | 30 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 12.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 47 | |
▷ Static methods | 13 | 27.66% |
▷ Public methods | 46 | 97.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.13% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.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
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 |
images/livecaller.png | 5.63KB | 0.83KB | ▼ 85.35% |