Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.07ms] Passed 4 tests
This is a short check of server-side resources used by Otter Text - Chat Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.66 ▼3.55 |
Dashboard /wp-admin | 3.32 ▲0.02 | 47.59 ▼0.67 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.31 ▼4.01 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.53 ▼12.03 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.43 ▲3.30 |
Otter Text /wp-admin/options-general.php?page=otter_text_settings | 3.21 | 31.48 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Otter Text - Chat Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.21 ▼1.02 | 1.61 ▼0.33 | 41.69 ▼2.48 |
Dashboard /wp-admin | 2,217 ▲29 | 4.83 ▼1.10 | 109.05 ▲7.42 | 42.67 ▼0.29 |
Posts /wp-admin/edit.php | 2,099 ▲10 | 2.02 ▼0.01 | 39.90 ▼0.58 | 37.65 ▲3.51 |
Add New Post /wp-admin/post-new.php | 1,529 ▲10 | 23.29 ▲0.03 | 662.15 ▲21.00 | 50.04 ▼9.24 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.19 ▲0.01 | 95.87 ▼3.30 | 42.60 ▼0.27 |
Otter Text /wp-admin/options-general.php?page=otter_text_settings | 777 | 2.02 | 24.00 | 26.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/otter-text-chat-widget/admin/partials/otter-text-chat-widget-admin-display.php
- > /wp-content/plugins/otter-text-chat-widget/public/partials/otter-text-chat-widget-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
2 plugin tags: chat, otter text
otter-text-chat-widget/otter-text-chat-widget.php 92% from 13 tests
Analyzing the main PHP file in "Otter Text - Chat Widget" version 1.0.0
Please make the necessary changes and fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin246 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 103 | 529 | 246 |
CSS | 2 | 0 | 8 | 0 |
JavaScript | 2 | 0 | 22 | 0 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 6.00 |
Average method complexity | 1.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 2 | 7.41% |
▷ Public methods | 22 | 81.48% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 18.52% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
PNG images were not found in this plugin