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
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.57ms] Passed 4 tests
This is a short check of server-side resources used by Share by Chat Message (Pages & Posts)
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.57 ▼5.67 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.65 ▼6.83 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.66 ▼0.29 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 79.90 ▼20.51 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 32.47 ▼1.25 |
Share Chat Message /wp-admin/admin.php?page=scm-sharemessage-add-settings | 3.20 | 31.67 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 3.20 | 26.00 |
Server storage [IO: ▲0.01MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Share by Chat Message (Pages & Posts): an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲56 | 13.25 ▼1.06 | 1.80 ▼0.38 | 42.25 ▼2.54 |
Dashboard /wp-admin | 2,231 ▲53 | 5.87 ▲0.88 | 109.89 ▼10.68 | 53.33 ▼6.04 |
Posts /wp-admin/edit.php | 2,114 ▲22 | 2.03 ▼0.02 | 36.91 ▲1.63 | 37.96 ▲6.03 |
Add New Post /wp-admin/post-new.php | 1,549 ▲16 | 23.24 ▲4.99 | 635.36 ▲15.47 | 65.33 ▲8.94 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.30 ▲0.09 | 101.73 ▲5.29 | 45.99 ▲2.68 |
Share Chat Message /wp-admin/admin.php?page=scm-sharemessage-add-settings | 822 | 2.03 | 28.78 | 31.49 |
Sobre Daniel Esparza /wp-admin/admin.php?page=desparza-menu | 802 | 2.05 | 26.96 | 30.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
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)
Good news, no errors were detected
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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-whatsapp-share/wp-share-chat-message.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 79% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Requires php: Invalid version format
- Contributors: The plugin tags were not defined
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Contributors: The plugin contributors field is not present
wp-whatsapp-share/wp-share-chat-message.php 85% from 13 tests
The principal PHP file in "Share by Chat Message (Pages & Posts)" v. 1.0 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 194 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-whatsapp-share.php" instead of "wp-share-chat-message.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin136 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 26 | 80 |
SVG | 1 | 0 | 1 | 48 |
CSS | 2 | 2 | 3 | 8 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
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 | 7 | |
▷ Named functions | 7 | 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 files were detected