Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.57ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form 7 Polylang Module
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.01 ▲1.89 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.51 ▼2.43 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.77 ▲2.16 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.00 ▼7.90 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.00 ▲2.19 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 Polylang Module
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.33 ▼1.23 | 1.57 ▼0.29 | 39.40 ▼2.99 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.06 | 111.49 ▼8.13 | 38.84 ▼10.10 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.02 | 39.56 ▼1.81 | 34.05 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,534 ▲15 | 23.07 ▲0.27 | 630.48 ▲22.54 | 53.51 ▲0.34 |
Media Library /wp-admin/upload.php | 1,388 ▲6 | 4.25 ▲0.05 | 94.60 ▼9.13 | 43.83 ▼1.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 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 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
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/cf7-polylang/public/partials/cf7-polylang-public-display.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WPCF7_ContactForm' not found in wp-content/plugins/cf7-polylang/admin/partials/cf7-polylang-edit-metabox.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
8 plugin tags: multilingual form, contact form 7 extension, contact form 7 module, polylang, cf7 smart grid extension...
cf7-polylang/cf7-polylang.php 92% from 13 tests
The primary PHP file in "Contact Form 7 Polylang Module" version 2.4.1 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 293 characters long)
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 plugin991 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 139 | 761 | 652 |
PO File | 3 | 55 | 132 | 218 |
Bourne Shell | 1 | 21 | 9 | 64 |
CSS | 2 | 1 | 5 | 29 |
JavaScript | 3 | 9 | 30 | 28 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 11.75 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 2.95 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 6 | 13.64% |
▷ Public methods | 36 | 81.82% |
▷ Protected methods | 3 | 6.82% |
▷ Private methods | 5 | 11.36% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
PNG images were not found in this plugin