Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.94ms] Passed 4 tests
Analyzing server-side resources used by Like Share Zalo Button
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.07 ▼4.02 |
Dashboard /wp-admin | 3.32 ▲0.02 | 49.23 ▼3.59 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 49.35 ▼2.78 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 87.17 ▼9.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.64 ▲4.89 |
Zalo Options /wp-admin/options-general.php?page=zalo-option | 3.21 | 33.84 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Like Share Zalo Button
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,904 ▲143 | 13.94 ▼0.41 | 27.49 ▲25.90 | 42.74 ▲1.05 |
Dashboard /wp-admin | 2,196 ▲19 | 5.51 ▼0.14 | 90.13 ▼1.09 | 37.09 ▼9.18 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.04 ▲0.06 | 34.63 ▼5.19 | 35.28 ▼3.00 |
Add New Post /wp-admin/post-new.php | 1,529 ▼6 | 23.04 ▲4.57 | 667.91 ▲21.42 | 59.60 ▼7.14 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.13 ▼0.03 | 112.72 ▼11.89 | 47.02 ▼0.78 |
Zalo Options /wp-admin/options-general.php?page=zalo-option | 822 | 1.99 | 26.32 | 29.43 |
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 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: social button, zalo, share button, social
like-share-zalo-button/like-share-zalo-button.php Passed 13 tests
The main PHP file in "Like Share Zalo Button" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
52 characters long description:
Displays Zalo like share button on WordPress content
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin57 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 13 | 14 | 57 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
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 | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin