Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼5.09ms] Passed 4 tests
A check of server-side resources used by Data Tensai for Contact Form 7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 24.97 ▲0.01 | 4,337,634.17 ▲8,269.92 |
Dashboard /wp-admin | 3.53 ▲0.18 | 55.66 ▲2.08 |
Posts /wp-admin/edit.php | 3.64 ▲0.24 | 47.63 ▼6.69 |
Add New Post /wp-admin/post-new.php | 6.11 ▲0.18 | 90.56 ▼16.84 |
Media Library /wp-admin/upload.php | 3.45 ▲0.18 | 43.59 ▲1.10 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 16 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_datatensai_entries |
wp_datatensai_forms |
wp_datatensai_fields |
wp_datatensai_datas |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
datatensai_version |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Data Tensai for Contact Form 7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.17 | 1.74 ▼0.05 | 44.09 ▲0.82 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.04 | 102.31 ▲17.01 | 44.08 ▼0.91 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.98 ▲0.02 | 36.27 ▲0.67 | 34.03 ▼1.67 |
Add New Post /wp-admin/post-new.php | 1,526 ▼3 | 23.19 ▲0.09 | 686.51 ▲20.49 | 55.01 ▼7.01 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.23 ▲0.06 | 116.13 ▲16.63 | 50.18 ▲6.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_datatensai_fields
- wp_datatensai_entries
- wp_datatensai_datas
- wp_datatensai_forms
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-comments
- datatensai_version
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/datatensai-cf7/datatensai-cf7.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/datatensai-cf7/views/forms.html.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/datatensai-cf7/views/disable-fields.html.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/datatensai-cf7/views/entries.html.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/datatensai-cf7/views/entry.html.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/datatensai-cf7/views/field-stats.html.php:1
- > 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)
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: contact form 7, database, contact form, cf7
datatensai-cf7/datatensai-cf7.php Passed 13 tests
"Data Tensai for Contact Form 7" version 0.5.6's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
72 characters long description:
Advaned database management, export, and enhancements for Contact Form 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,430 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 200 | 124 | 1,043 |
CSS | 1 | 39 | 65 | 385 |
JavaScript | 1 | 0 | 11 | 2 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 35.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 8.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 65.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 19 | 100.00% |
▷ Public methods | 16 | 84.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 15.79% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin