Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.45ms] Passed 4 tests
A check of server-side resources used by Chat With Me on Zalo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.04 | 37.28 ▼3.77 |
Dashboard /wp-admin | 3.34 ▲0.04 | 51.12 ▲1.35 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 46.89 ▼2.95 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.57 ▼12.42 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.63 ▲1.84 |
Server storage [IO: ▲0.22MB] [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: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Chat With Me on Zalo
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,857 ▲122 | 13.58 ▼1.08 | 2.10 ▲0.38 | 38.52 ▼2.98 |
Dashboard /wp-admin | 2,214 ▲65 | 5.86 ▲0.20 | 98.66 ▼0.42 | 63.98 ▲21.16 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.06 ▲0.06 | 34.41 ▼5.86 | 32.14 ▼7.86 |
Add New Post /wp-admin/post-new.php | 1,538 ▲19 | 23.29 ▲0.12 | 702.27 ▲20.61 | 69.89 ▲4.78 |
Media Library /wp-admin/upload.php | 1,402 ▲14 | 4.20 ▼0.01 | 99.63 ▼9.84 | 46.51 ▲1.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/chat-with-me-on-zalo/includes/backend.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Requires php: Invalid plugin version format
- Screenshots: Screenshot #1 (Front End of Chat With Me on Zalo.) image not found
chat-with-me-on-zalo/chat-with-me-on-zalo.php Passed 13 tests
Analyzing the main PHP file in "Chat With Me on Zalo" version 1.0
21 characters long description:
Chat With Me on Zalo.
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
There were no executable files found in this plugin437 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 31 | 0 | 230 |
PHP | 4 | 43 | 89 | 207 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 1 | 100.00% |
Methods | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.17MB with 0.10MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/zalo-2.png | 4.97KB | 1.15KB | ▼ 76.97% |
assets/images/zalo-icon.png | 2.21KB | 1.07KB | ▼ 51.72% |
assets/images/zalo-1.png | 167.35KB | 83.42KB | ▼ 50.16% |