Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼139.27ms] Passed 4 tests
Server-side resources used by Zweb Social Mobile - Ứng Dụng Nút Gọi Mobile
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.86 ▲0.14 | 39.35 ▲17.86 |
Dashboard /wp-admin | 3.09 ▲0.03 | 45.98 ▲4.94 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 43.34 ▼2.74 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 88.88 ▼557.81 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 30.11 ▼1.45 |
ZWeb - Social Mobile /wp-admin/options-general.php?page=zweb_social_mobile | 2.98 | 25.42 |
Server storage [IO: ▲1.09MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 15 new files
Database: no new tables, 4 new options
New WordPress options |
---|
_zweb_mobile_contact |
_zweb_mobile_messager |
_zweb_mobile_zalo |
_zweb_mobile_hotline |
Browser metrics Passed 4 tests
An overview of browser requirements for Zweb Social Mobile - Ứng Dụng Nút Gọi Mobile
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,752 ▲156 | 15.85 ▲0.22 | 11.13 ▲1.49 | 53.98 ▲10.15 |
Dashboard /wp-admin | 2,978 ▲47 | 6.06 ▼0.15 | 145.15 ▼8.49 | 109.93 ▼9.95 |
Posts /wp-admin/edit.php | 2,744 ▲5 | 2.71 ▲0.01 | 59.40 ▼3.32 | 94.21 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,875 ▲375 | 19.09 ▲0.37 | 374.00 ▼15.19 | 108.16 ▼2.17 |
Media Library /wp-admin/upload.php | 1,812 ▲5 | 5.02 ▼0.00 | 150.47 ▲2.92 | 111.22 ▼11.41 |
ZWeb - Social Mobile /wp-admin/options-general.php?page=zweb_social_mobile | 1,127 | 2.09 | 55.10 | 81.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 4 options
- _zweb_mobile_contact
- _zweb_mobile_zalo
- _zweb_mobile_hotline
- _zweb_mobile_messager
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=zweb_social_mobile
- > User deprecated in wp-includes/functions.php+5221
screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=zweb_social_mobile
- > User deprecated in wp-includes/functions.php+5221
get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zweb-social-mobile/include/zweb-admin.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/zweb-social-mobile/include/zweb-function.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/zweb-social-mobile/index.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
3 plugin tags: social mobile, social, mobile
zweb-social-mobile/index.php 92% from 13 tests
The primary PHP file in "Zweb Social Mobile - Ứng Dụng Nút Gọi Mobile" version 1.0.0 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("zweb-social-mobile.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin143 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 10 | 15 | 143 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
7 PNG files occupy 1.07MB with 0.66MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/messager.png | 4.21KB | 2.36KB | ▼ 43.98% |
image-mobile.png | 318.60KB | 75.70KB | ▼ 76.24% |
images/hotline.png | 3.91KB | 2.11KB | ▼ 46.03% |
image-desktop.png | 738.19KB | 164.97KB | ▼ 77.65% |
images/zalo.png | 6.94KB | 2.50KB | ▼ 63.95% |