Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/flexytalk-widget/FlexyTalk_Widget.php+84
Methods with the same name as their class will not be constructors in a future version of PHP; FlexyTalk_Widget has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼56.03ms] Passed 4 tests
Server-side resources used by FrescoChat Live Chat
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 4.06 ▼40.48 |
Dashboard /wp-admin | 2.10 ▼1.21 | 7.72 ▼43.42 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.59 ▼44.52 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 5.10 ▼95.70 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 5.84 ▼29.86 |
Control Panel /wp-admin/admin.php?page=frescochat | 2.10 | 4.82 |
Account Settings /wp-admin/admin.php?page=frescochat_settings | 2.10 | 6.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 8 new options
New WordPress options |
---|
ft_installation_mode |
widget_flexytalk-widget |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for FrescoChat Live Chat
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.25 ▲0.01 | 2.00 ▲0.10 | 37.38 ▼8.41 |
Dashboard /wp-admin | 2,218 ▲38 | 5.56 ▲0.03 | 99.43 ▲4.76 | 77.56 ▲38.43 |
Posts /wp-admin/edit.php | 2,132 ▲32 | 2.02 ▲0.00 | 38.58 ▲0.32 | 31.43 ▼1.55 |
Add New Post /wp-admin/post-new.php | 1,563 ▲37 | 23.01 ▲0.06 | 771.59 ▲77.64 | 59.23 ▼0.69 |
Media Library /wp-admin/upload.php | 1,429 ▲32 | 4.24 ▲0.02 | 104.14 ▼4.73 | 60.78 ▲12.95 |
Control Panel /wp-admin/admin.php?page=frescochat | 961 | 1.96 | 27.42 | 28.53 |
Account Settings /wp-admin/admin.php?page=frescochat_settings | 935 | 1.70 | 24.33 | 23.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- This plugin cannot be uninstalled
- > Deprecated in wp-content/plugins/flexytalk-widget/FlexyTalk_Widget.php+84
Methods with the same name as their class will not be constructors in a future version of PHP; FlexyTalk_Widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 8 options
- widget_flexytalk-widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- ft_installation_mode
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=frescochat_settings
- > Deprecated in wp-content/plugins/flexytalk-widget/FlexyTalk_Widget.php+84
Methods with the same name as their class will not be constructors in a future version of PHP; FlexyTalk_Widget has a deprecated constructor
SRP 50% 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
Please fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/flexytalk-widget/flexytalk_settings.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/flexytalk-widget/FlexyTalk_Widget.php:55
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add an image for screenshot #7 (CUSTOM FIELDS)
- Tags: There are too many tags (18 tag instead of maximum 10)
flexytalk-widget/FlexyTalk_Widget.php 92% from 13 tests
The principal PHP file in "FrescoChat Live Chat" v. 3.2.6 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("flexytalk-widget.php" instead of "FlexyTalk_Widget.php")
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 detected159 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 61 | 12 | 159 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 3.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo_icon.png | 0.81KB | 0.92KB | 0.00% |