Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼5.94ms] Passed 4 tests
Analyzing server-side resources used by Contact Form 7 Database Manager Addon – CF7DBM
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.10 ▼8.10 |
Dashboard /wp-admin | 3.32 ▲0.01 | 48.26 ▲1.33 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.47 ▼5.55 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.17 ▼11.44 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.26 ▲1.99 |
Server storage [IO: ▲3.76MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 63 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Contact Form 7 Database Manager Addon – CF7DBM
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.81 ▲0.58 | 1.71 ▼0.16 | 43.84 ▼0.68 |
Dashboard /wp-admin | 2,230 ▲30 | 4.85 ▼1.03 | 104.80 ▼0.71 | 40.53 ▼2.91 |
Posts /wp-admin/edit.php | 2,110 ▲10 | 1.99 ▼0.07 | 38.46 ▲1.80 | 36.48 ▲2.10 |
Add New Post /wp-admin/post-new.php | 1,432 ▼113 | 17.72 ▼5.61 | 575.50 ▼43.86 | 43.89 ▼12.06 |
Media Library /wp-admin/upload.php | 1,409 ▲12 | 4.23 ▲0.01 | 100.13 ▼2.03 | 41.25 ▼2.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/form-data-manager/inc/class-wpfdm-contacts-list.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/form-data-manager/form-data-manager.php:69
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/form-data-manager/inc/class-wpfdm-data-import.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/form-data-manager/inc/class-wpfdm-forms-list.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/form-data-manager/inc/class-wpfdm-data-export.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
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
9 plugin tags: contact form 7 export, contact form db, contact form seven, contact form 7 db, contact form 7...
form-data-manager/form-data-manager.php 92% from 13 tests
The entry point to "Contact Form 7 Database Manager Addon – CF7DBM" version 1.1.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 174 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin23,412 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 1,505 | 59 | 13,248 |
JavaScript | 12 | 2,092 | 1,779 | 8,112 |
PHP | 10 | 766 | 953 | 1,921 |
PO File | 1 | 58 | 68 | 131 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 18.10 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 66.00 |
Average method complexity | 2.76 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 10 | 10.31% |
▷ Public methods | 89 | 91.75% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 8.25% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
19 PNG files occupy 0.06MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/theme_2_blue.png | 1.13KB | 0.20KB | ▼ 81.90% |
admin/images/side-bg-notif-error.png | 0.19KB | 0.08KB | ▼ 58.29% |
admin/images/side-bg-notif.png | 0.91KB | 0.08KB | ▼ 91.12% |
admin/images/loupe-icon.png | 1.49KB | 0.80KB | ▼ 46.45% |
admin/images/theme_1_gray.png | 1.15KB | 0.25KB | ▼ 78.18% |