Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-content/plugins/database-entries-manager-for-contact-form-7/wicocf7db.php+22
include_once(wp-content/plugins/database-entries-manager-for-contact-form-7/wicore\business.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.31ms] Passed 4 tests
Server-side resources used by Database Entries Manager for Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 45.74 ▼4.37 |
Dashboard /wp-admin | 3.31 ▲0.00 | 54.82 ▲4.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 55.23 ▲0.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 102.04 ▼12.32 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.84 ▼0.65 |
Server storage [IO: ▲2.43MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 57 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Database Entries Manager for Contact Form 7
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.27 ▼0.12 | 2.19 ▲0.15 | 39.76 ▼7.08 |
Dashboard /wp-admin | 2,198 ▲21 | 5.64 ▼0.04 | 91.30 ▼4.03 | 41.87 ▼3.48 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▼0.00 | 39.36 ▼1.99 | 40.45 ▲1.49 |
Add New Post /wp-admin/post-new.php | 1,545 ▲136 | 23.25 ▲5.27 | 674.43 ▲86.14 | 53.82 ▲2.44 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.20 ▼0.08 | 110.33 ▲6.47 | 49.29 ▲7.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wicocf7db_wicore_business_uirender_admin_pageheader_start() in wp-content/plugins/database-entries-manager-for-contact-form-7/pages/admin/main.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wicocf7db_wicore_business_uirender_admin_pageheader_start() in wp-content/plugins/database-entries-manager-for-contact-form-7/pages/admin/about.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
10 plugin tags: cf7 database, contact form 7 admin, cf7 admin dashboard, save cf7 data, contact form 7...
database-entries-manager-for-contact-form-7/wicocf7db.php 85% from 13 tests
The main PHP script in "Database Entries Manager for Contact Form 7" version 1.0.184 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("database-entries-manager-for-contact-form-7.php" instead of "wicocf7db.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 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin14,080 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 8 | 113 | 66 | 6,300 |
SVG | 3 | 0 | 8 | 6,021 |
PHP | 18 | 596 | 387 | 1,335 |
JavaScript | 8 | 80 | 57 | 424 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 2.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 2.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 8 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 12.50% |
Functions | 58 | |
▷ Named functions | 56 | 96.55% |
▷ Anonymous functions | 2 | 3.45% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
5 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-home.png | 6.75KB | 3.93KB | ▼ 41.78% |
images/wp-pluginlogo.png | 0.70KB | 0.60KB | ▼ 14.17% |
images/logo.png | 13.22KB | 4.78KB | ▼ 63.82% |
images/icon-save.png | 2.32KB | 1.94KB | ▼ 16.15% |
images/icon-about.png | 1.90KB | 1.69KB | ▼ 10.94% |