Benchmarks
Plugin footprint 65% 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.18MB] [CPU: ▲0.27ms] Passed 4 tests
A check of server-side resources used by DM Contact Form 7 DB
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 46.20 ▼2.68 |
Dashboard /wp-admin | 3.48 ▲0.18 | 55.06 ▲3.43 |
Posts /wp-admin/edit.php | 3.59 ▲0.24 | 50.96 ▲2.27 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 98.09 ▼1.94 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 41.88 ▲5.39 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 9 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_cf7db_forms |
New WordPress options |
---|
wp_cf7db_version |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
wp_cf7db_install_date |
can_compress_scripts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for DM Contact Form 7 DB
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲51 | 14.25 ▼0.13 | 1.74 ▲0.03 | 41.87 ▼2.85 |
Dashboard /wp-admin | 2,218 ▲44 | 5.61 ▲0.11 | 87.49 ▼7.75 | 40.11 ▼2.00 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 2.01 ▼0.02 | 36.49 ▼3.67 | 33.89 ▼5.28 |
Add New Post /wp-admin/post-new.php | 1,546 ▲18 | 23.06 ▼0.07 | 585.44 ▼47.47 | 51.99 ▲3.56 |
Media Library /wp-admin/upload.php | 1,423 ▲23 | 4.17 ▼0.01 | 100.82 ▼6.36 | 41.35 ▼5.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- The uninstall procedure failed, leaving 1 table in the database
- wp_cf7db_forms
- Zombie WordPress options detected upon uninstall: 8 options
- wp_cf7db_version
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- wp_cf7db_install_date
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Contributors: Plugin contributors field is missing
dm-contact-form-7-db/wp-cf7db.php 77% from 13 tests
"DM Contact Form 7 DB" version 1.0.1'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: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("dm-contact-form-7-db.php" instead of "wp-cf7db.php")
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin825 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 286 | 349 | 822 |
CSS | 1 | 0 | 0 | 3 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 15.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 3.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.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 | 48 | |
▷ Static methods | 5 | 10.42% |
▷ Public methods | 41 | 85.42% |
▷ Protected methods | 3 | 6.25% |
▷ Private methods | 4 | 8.33% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin