Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.52ms] Passed 4 tests
An overview of server-side resources used by TP Chat Lite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 40.13 ▼6.75 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.22 ▼0.58 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 55.36 ▲5.15 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 95.19 ▼2.35 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 39.12 ▼0.41 |
Server storage [IO: ▲0.70MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
tpcl_installed |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by TP Chat Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,917 ▲156 | 13.60 ▼0.75 | 11.40 ▲9.50 | 43.10 ▲0.23 |
Dashboard /wp-admin | 2,226 ▲46 | 5.80 ▲0.14 | 93.11 ▲0.25 | 40.66 ▼2.89 |
Posts /wp-admin/edit.php | 2,136 ▲30 | 2.25 ▲0.30 | 40.23 ▲4.05 | 36.42 ▲1.30 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 18.12 ▼5.03 | 652.01 ▼152.11 | 49.48 ▼19.61 |
Media Library /wp-admin/upload.php | 1,425 ▲25 | 4.31 ▲0.20 | 103.75 ▼13.26 | 43.23 ▼8.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- tpcl_installed
- widget_recent-comments
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though everything seems fine, this is not an exhaustive test
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 take a closer look at the following
- 5× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/tp-chat-lite/backend/admin_view.php
- > /wp-content/plugins/tp-chat-lite/includes/tpcl-dynamic-style.php
- > /wp-content/plugins/tp-chat-lite/tp-chat-lite.php
- > /wp-content/plugins/tp-chat-lite/frontend/public_view.php
- > /wp-content/plugins/tp-chat-lite/includes/tpcl-setting.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: share, social media, button, chat, contact...
tp-chat-lite/tp-chat-lite.php 77% from 13 tests
The main PHP script in "TP Chat Lite" version 1.0.0 is automatically included on every request by WordPress
It is important to fix the following:
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
- Description: Please don't use more than 140 characters for the plugin description (currently 163 characters long)
- Domain Path: You should use only dashes and lowercase characters for the domain path ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected4,317 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 598 | 40 | 3,832 |
SVG | 1 | 0 | 0 | 268 |
PHP | 7 | 56 | 65 | 197 |
JavaScript | 2 | 15 | 16 | 20 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
There are no PNG files in this plugin