Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.40ms] Passed 4 tests
An overview of server-side resources used by Connect Contact Form 7 to Social App
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 36.36 ▼0.51 |
Dashboard /wp-admin | 3.31 ▲0.00 | 41.65 ▼3.86 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.33 ▼10.10 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.81 ▼4.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.75 ▼2.97 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Connect Contact Form 7 to Social App
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▲0.12 | 1.72 ▲0.04 | 42.25 ▼1.68 |
Dashboard /wp-admin | 2,203 ▲18 | 4.85 ▼1.11 | 102.85 ▲0.66 | 39.58 ▼6.03 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 33.98 ▼6.08 | 33.50 ▼4.90 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 23.23 ▼0.00 | 595.15 ▼124.09 | 46.30 ▼11.89 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.22 ▲0.02 | 95.06 ▼9.55 | 40.87 ▼7.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/connect-contact-form-7-to-social-apps/class-admin.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/connect-contact-form-7-to-social-apps/functions.php:6
- > 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 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: whatsapp support, whatsapp chat, contact form 7, whatsapp, click to chat
connect-contact-form-7-to-social-apps/connect-contact-form-7-to-social-apps.php 92% from 13 tests
The main PHP file in "Connect Contact Form 7 to Social App" ver. 1.9 adds more information about the plugin and also serves as the entry point for this plugin
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
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected509 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 43 | 8 | 306 |
CSS | 1 | 27 | 4 | 155 |
JavaScript | 2 | 2 | 0 | 48 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 5.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 6 | 60.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected