Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.26MB] [CPU: ▼17.19ms] Passed 4 tests
A check of server-side resources used by Multi-language Responsive Contact Form
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.28 | 6.33 ▼34.13 |
Dashboard /wp-admin | 3.39 ▲0.09 | 50.27 ▲2.23 |
Posts /wp-admin/edit.php | 3.44 ▲0.09 | 44.40 ▼6.72 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 79.66 ▼30.13 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 36.76 ▲2.50 |
AI Contact Form /wp-admin/admin.php?page=ai_contact | 3.34 | 37.53 |
User List /wp-admin/admin.php?page=ai_user_lists | 3.30 | 34.78 |
Server storage [IO: ▲1.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 61 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_ai_contact |
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Multi-language Responsive Contact Form
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,835 ▲89 | 13.32 ▼0.99 | 1.66 ▼0.07 | 43.21 ▲1.01 |
Dashboard /wp-admin | 2,244 ▲53 | 5.84 ▼0.05 | 104.76 ▲0.03 | 43.41 ▼1.64 |
Posts /wp-admin/edit.php | 2,123 ▲31 | 2.00 ▼0.02 | 36.34 ▼4.61 | 34.10 ▼2.25 |
Add New Post /wp-admin/post-new.php | 1,559 ▲26 | 23.05 ▼0.18 | 656.10 ▼4.80 | 54.81 ▲6.17 |
Media Library /wp-admin/upload.php | 1,423 ▲38 | 4.26 ▲0.07 | 99.57 ▼1.71 | 49.57 ▲4.64 |
AI Contact Form /wp-admin/admin.php?page=ai_contact | 1,646 | 6.63 | 116.53 | 65.35 |
User List /wp-admin/admin.php?page=ai_user_lists | 912 | 2.23 | 31.64 | 25.66 |
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
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/responsive-contact-form/include/userlist_export.php
- 8× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/responsive-contact-form/include/ai_user_list.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/responsive-contact-form/include/ai_settings.php:12
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php on line 12
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php on line 12
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php:13
- > PHP Warning
include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/responsive-contact-form/ai-responsive-contact-form.php on line 12
- > WordPress database error Incorrect DATE value
'--' for query SELECT * FROM wp_ai_contact WHERE contact_date >= '--' and contact_date <= '--' order by user_id ASC
- > PHP Notice
Trying to get property 'prefix' of non-object in wp-content/plugins/responsive-contact-form/include/ai_user_list.php on line 3
- > 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 83% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (Contact Form display.), #2 (AI Simple Ajax Contact Form Settings in WordPress admin panel.), #3 (Create a page or a post and insert the shortcode [ai_contact_form] into the text.), #4 (You can add `` shortcode in any template.)
- Tags: There are too many tags (17 tag instead of maximum 10)
responsive-contact-form/ai-responsive-contact-form.php 77% from 13 tests
"Multi-language Responsive Contact Form" version 2.8's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
- Description: Please keep the plugin description shorter than 140 characters (currently 199 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("responsive-contact-form.php" instead of "ai-responsive-contact-form.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
Good job! No executable or dangerous file extensions detected22,105 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 3,436 | 6,887 | 17,518 |
PO File | 11 | 822 | 1,221 | 2,068 |
CSS | 3 | 205 | 128 | 1,762 |
PHP | 5 | 70 | 51 | 757 |
PHP code Passed 2 tests
An overview 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.27 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
17 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/sort_desc.png | 1.10KB | 0.25KB | ▼ 77.73% |
images/back_disabled.png | 1.33KB | 0.60KB | ▼ 55.11% |
images/august-infotech.png | 2.18KB | 1.47KB | ▼ 32.47% |
images/sort_asc.png | 1.09KB | 0.25KB | ▼ 77.46% |
images/forward_enabled_hover.png | 1.35KB | 0.58KB | ▼ 56.93% |