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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.69ms] Passed 4 tests
An overview of server-side resources used by Askly
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 42.86 ▲6.24 |
Dashboard /wp-admin | 3.33 ▲0.03 | 42.67 ▼1.16 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 50.26 ▲5.04 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 80.18 ▼13.74 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.42 ▲3.11 |
Askly chat /wp-admin/options-general.php?page=translatewise-chat | 3.23 | 30.11 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Askly
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲60 | 13.19 ▼1.17 | 1.76 ▲0.15 | 43.31 ▲1.68 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▲0.88 | 107.57 ▼0.54 | 37.40 ▼6.68 |
Posts /wp-admin/edit.php | 2,095 ▲9 | 2.05 ▲0.06 | 39.05 ▲0.11 | 35.33 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,519 ▼17 | 23.34 ▼0.02 | 642.72 ▼38.90 | 67.50 ▲13.69 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.20 ▲0.03 | 100.11 ▼1.19 | 42.47 ▼5.08 |
Askly chat /wp-admin/options-general.php?page=translatewise-chat | 816 | 2.16 | 25.59 | 39.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/translatewise-chat/translatewise-chat.php:14
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/translatewise-chat/views/settings.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: askly, chat, live-chat, translatewise
translatewise-chat/translatewise-chat.php Passed 13 tests
The primary PHP file in "Askly" version 1.1.0 is used by WordPress to initiate all plugin functionality
68 characters long description:
Allows you to insert Askly chat code to enable chat for your website
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 detected169 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 15 | 102 |
CSS | 1 | 12 | 0 | 66 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 2.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 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 | 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
No PNG images were found in this plugin