Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.99ms] Passed 4 tests
Analyzing server-side resources used by Supo Talk Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.39 ▼0.07 | 25.35 ▼12.45 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.70 ▼1.71 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 47.58 ▼0.03 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 82.34 ▼9.75 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.52 ▼0.06 |
Supo Talk Widget Settings /wp-admin/options-general.php?page=stwwp_supo-talk-widget-admin | 3.21 | 29.73 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Supo Talk Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,315 ▲558 | 13.32 ▼0.97 | 17.04 ▲15.19 | 35.69 ▼5.39 |
Dashboard /wp-admin | 2,210 ▲25 | 4.85 ▼0.02 | 110.43 ▲6.59 | 40.11 ▼1.37 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.13 ▲0.13 | 38.71 ▲1.75 | 34.06 ▲4.14 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 23.25 ▲4.99 | 623.23 ▼16.94 | 53.71 ▼9.57 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.21 ▲0.03 | 96.37 ▼2.57 | 41.65 ▼4.65 |
Supo Talk Widget Settings /wp-admin/options-general.php?page=stwwp_supo-talk-widget-admin | 779 | 2.03 | 27.37 | 28.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/supo-talk-widget/supo-talk-widget.php:18
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: chat widget, support, live chat, live support
supo-talk-widget/supo-talk-widget.php 92% from 13 tests
The primary PHP file in "Supo Talk Widget" version 0.02 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Requires at least: The required version number must match the one declared in readme.txt ("3.0.1" instead of "2.3.0")
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
Good job! No executable or dangerous file extensions detected124 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 17 | 49 | 88 |
PO File | 1 | 9 | 11 | 36 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.12 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin