Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.36ms] Passed 4 tests
This is a short check of server-side resources used by Multilingual Contact Form 7 with Polylang
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 46.17 ▼7.78 |
Dashboard /wp-admin | 3.33 ▲0.03 | 45.06 ▼7.30 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 48.49 ▼7.13 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 86.79 ▼7.23 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 32.59 ▼1.25 |
Multilangual CF7 Polylang /wp-admin/options-general.php?page=mlcf7pll-plugin-settings | 3.22 | 31.90 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Multilingual Contact Form 7 with Polylang
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.18 ▼1.57 | 4.31 ▲2.50 | 38.90 ▼4.72 |
Dashboard /wp-admin | 2,210 ▲22 | 4.85 ▼1.02 | 110.99 ▲11.16 | 36.55 ▼7.36 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.05 ▼0.01 | 38.99 ▲2.59 | 33.88 ▲1.13 |
Add New Post /wp-admin/post-new.php | 1,528 ▲14 | 23.38 ▲5.88 | 681.29 ▼13.22 | 58.41 ▲4.99 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.32 ▲0.14 | 91.92 ▼27.19 | 40.40 ▼6.48 |
Multilangual CF7 Polylang /wp-admin/options-general.php?page=mlcf7pll-plugin-settings | 787 | 2.03 | 25.13 | 28.07 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
- 7× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'mlcf7pll\\core\\settings\\Settings_Page' not found in wp-content/plugins/multilingual-contact-form-7-with-polylang/admin/Settings_Page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function mlcf7pll\\frontend\\add_filter() in wp-content/plugins/multilingual-contact-form-7-with-polylang/frontend/String_Translation.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function mlcf7pll\\admin\\add_action() in wp-content/plugins/multilingual-contact-form-7-with-polylang/admin/String_Registration.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function mlcf7pll\\frontend\\add_filter() in wp-content/plugins/multilingual-contact-form-7-with-polylang/frontend/Submission.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function mlcf7pll\\frontend\\is_admin() in wp-content/plugins/multilingual-contact-form-7-with-polylang/frontend/Form_Locale.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function mlcf7pll\\frontend\\is_admin() in wp-content/plugins/multilingual-contact-form-7-with-polylang/frontend/Messages_Translation.php:28
- > PHP Fatal error
Uncaught Error: Call to undefined function mlcf7pll\\admin\\add_filter() in wp-content/plugins/multilingual-contact-form-7-with-polylang/admin/Editor_Panels.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: multilingual, polylang, translate, contact form 7, language
multilingual-contact-form-7-with-polylang/plugin.php 77% from 13 tests
"Multilingual Contact Form 7 with Polylang" version 1.0.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Domain Path: You should use only dashes and lowercase characters for the domain path ("/languages.")
- Main file name: The principal plugin file should be the same as the plugin slug ("multilingual-contact-form-7-with-polylang.php" instead of "plugin.php")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin785 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 333 | 355 | 730 |
JavaScript | 2 | 20 | 15 | 55 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 55 | |
▷ Static methods | 15 | 27.27% |
▷ Public methods | 51 | 92.73% |
▷ Protected methods | 4 | 7.27% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin