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.07MB] [CPU: ▼1.71ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form 7 To WordPress Post
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 41.64 ▲2.41 |
Dashboard /wp-admin | 3.38 ▲0.07 | 44.62 ▼6.10 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 44.68 ▼0.09 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 91.56 ▲0.54 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.83 ▼1.17 |
Messages /wp-admin/edit.php?post_type=cf7_form_messages | 3.34 | 35.21 |
Add New /wp-admin/post-new.php?post_type=cf7_form_messages | 3.42 | 42.86 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 To WordPress Post
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲90 | 13.59 ▼0.70 | 1.67 ▼0.21 | 42.85 ▼3.64 |
Dashboard /wp-admin | 2,239 ▲51 | 5.77 ▲0.86 | 94.87 ▼19.52 | 37.84 ▼6.39 |
Posts /wp-admin/edit.php | 2,122 ▲54 | 2.05 ▲0.04 | 33.82 ▼2.99 | 34.45 ▲2.51 |
Add New Post /wp-admin/post-new.php | 1,571 ▲57 | 18.26 ▲0.68 | 623.76 ▼69.58 | 57.17 ▼2.99 |
Media Library /wp-admin/upload.php | 1,424 ▲36 | 4.23 ▲0.06 | 98.75 ▼6.73 | 44.72 ▲1.29 |
Messages /wp-admin/edit.php?post_type=cf7_form_messages | 1,086 | 1.95 | 30.34 | 28.31 |
Add New /wp-admin/post-new.php?post_type=cf7_form_messages | 2,156 | 7.55 | 180.44 | 64.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/contact-form-to-wp-posts/cf7-to-wp.php:20
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
9 plugin tags: submissions, plugin, wordpress, cf7, database-form...
contact-form-to-wp-posts/cf7-to-wp.php 77% from 13 tests
Analyzing the main PHP file in "Contact Form 7 To WordPress Post" version 0.2
Please take the time to fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.9" instead of "4.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("contact-form-to-wp-posts.php" instead of "cf7-to-wp.php")
- Text Domain: The text domain name should consist of only dashes and lowercase characters
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected315 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 66 | 151 | 235 |
PO File | 1 | 45 | 76 | 80 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin