Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.13MB] [CPU: ▼5.43ms] Passed 4 tests
This is a short check of server-side resources used by Contact Form 7 Database Addon - CFDB7
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.41 ▼2.59 |
Dashboard /wp-admin | 3.47 ▲0.13 | 45.59 ▼13.70 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 50.38 ▲5.00 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 88.09 ▼9.70 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 36.56 ▲4.29 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 8 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_db7_forms |
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
cfdb7_view_install_date |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Contact Form 7 Database Addon - CFDB7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲57 | 14.34 ▼0.38 | 1.89 ▲0.23 | 44.87 ▼5.58 |
Dashboard /wp-admin | 2,224 ▲53 | 5.63 ▼0.03 | 89.90 ▼11.02 | 42.47 ▼3.41 |
Posts /wp-admin/edit.php | 2,129 ▲29 | 2.02 ▲0.05 | 37.63 ▲0.44 | 39.00 ▲7.64 |
Add New Post /wp-admin/post-new.php | 1,550 ▲22 | 22.92 ▼0.01 | 582.82 ▼80.16 | 52.73 ▲4.64 |
Media Library /wp-admin/upload.php | 1,432 ▲32 | 4.18 ▼0.02 | 93.56 ▼0.64 | 43.66 ▲1.41 |
Contact Forms /wp-admin/cfdb7-list.php | 26 | 0.42 | 0.06 | 13.56 |
Extensions /wp-admin/cfdb7-list.php?page=cfdb7-extensions | 26 | 0.42 | 0.08 | 5.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_db7_forms
- Zombie WordPress options detected upon uninstall: 7 options
- cfdb7_view_install_date
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_submenu_page() in wp-content/plugins/contact-form-cfdb7/inc/add-ons.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/contact-form-cfdb7/contact-form-cfdb-7.php:67
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- > GET request to /wp-admin/cfdb7-list.php
- > Network (severe)
wp-admin/cfdb7-list.php - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/cfdb7-list.php?page=cfdb7-extensions
- > Network (severe)
wp-admin/cfdb7-list.php?page=cfdb7-extensions - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: contact form 7, wpcf7, export contact form, contact form db, save contact form...
contact-form-cfdb7/contact-form-cfdb-7.php 85% from 13 tests
The main PHP file in "Contact Form 7 Database Addon - CFDB7" ver. 1.2.6.7 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Domain Path: The domain path folder does not exist ("/languages/")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("contact-form-cfdb7.php" instead of "contact-form-cfdb-7.php")
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
Good job! No executable or dangerous file extensions detected852 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 257 | 214 | 814 |
CSS | 1 | 4 | 0 | 38 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 15.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 4.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 24 | 85.71% |
▷ Protected methods | 1 | 3.57% |
▷ Private methods | 3 | 10.71% |
Functions | 13 | |
▷ Named functions | 12 | 92.31% |
▷ Anonymous functions | 1 | 7.69% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin