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.01MB] [CPU: ▼1.56ms] Passed 4 tests
Analyzing server-side resources used by Learning Management System (LMS) Chat Application
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.20 ▼0.99 |
Dashboard /wp-admin | 3.31 ▲0.01 | 53.56 ▲1.12 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.69 ▲1.93 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.15 ▼7.91 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.10 ▲1.55 |
Server storage [IO: ▲18.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: 69 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Learning Management System (LMS) Chat Application
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲89 | 13.24 ▼1.35 | 1.88 ▲0.11 | 43.51 ▼6.43 |
Dashboard /wp-admin | 2,224 ▲36 | 5.81 ▲0.02 | 104.49 ▼12.47 | 39.50 ▼7.51 |
Posts /wp-admin/edit.php | 2,113 ▲24 | 2.01 ▲0.02 | 41.18 ▲4.24 | 35.15 ▼0.88 |
Add New Post /wp-admin/post-new.php | 1,558 ▲38 | 23.05 ▼0.01 | 684.13 ▲1.02 | 58.61 ▲6.63 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.21 ▼0.08 | 95.28 ▼4.07 | 42.51 ▲0.18 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
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
Everything seems fine, however this is by no means 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
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/lms-chat/view/backend-metabox.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/lms-chat/wp-lms-conversition.php:22
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #3 (Set sound notification if you needed.), #4 (Set google firebase settings for store chat history and for realtime conversation.)
- Screenshots: Please add descriptions for these screenshots #0, #0 in lms-chat/assets to your readme.txt
- Tags: You are using too many tags: 21 tag instead of maximum 10
- Donate link: Invalid URI ("")
lms-chat/wp-lms-conversition.php 77% from 13 tests
"Learning Management System (LMS) Chat Application" version 1.2.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
- Main file name: The principal plugin file should be the same as the plugin slug ("lms-chat.php" instead of "wp-lms-conversition.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 266 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,184 lines of code in 34 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 506 | 802 | 1,953 |
PHP | 6 | 187 | 432 | 610 |
SVG | 22 | 0 | 3 | 581 |
PO File | 1 | 13 | 13 | 30 |
CSS | 2 | 9 | 0 | 10 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 19.25 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 4 | 11.76% |
▷ Public methods | 33 | 97.06% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 2.94% |
Functions | 8 | |
▷ Named functions | 5 | 62.50% |
▷ Anonymous functions | 3 | 37.50% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
3 PNG files occupy 0.15MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/disconnected.png | 0.64KB | 0.90KB | 0.00% |
assets/images/banner-772x250.png | 149.32KB | 56.63KB | ▼ 62.07% |
assets/images/connected.png | 0.46KB | 0.59KB | 0.00% |