Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.10MB] [CPU: ▼8.39ms] Passed 4 tests
An overview of server-side resources used by Database Addon For WPForms ( wpforms entries ) - WPFormsDB
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.57 ▼5.63 |
Dashboard /wp-admin | 3.44 ▲0.09 | 45.28 ▼11.79 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 46.21 ▲2.30 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 81.95 ▼18.45 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.27 ▲3.26 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 7 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_wpforms_db |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
WPFormsDB_view_install_date |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Database Addon For WPForms ( wpforms entries ) - WPFormsDB
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,832 ▲86 | 14.77 ▲0.02 | 1.70 ▼0.01 | 37.30 ▼5.40 |
Dashboard /wp-admin | 2,242 ▲68 | 5.56 ▼0.00 | 88.80 ▼12.95 | 38.94 ▼8.01 |
Posts /wp-admin/edit.php | 2,143 ▲43 | 1.99 ▼0.00 | 37.11 ▲0.17 | 33.38 ▲1.33 |
Add New Post /wp-admin/post-new.php | 1,550 ▲15 | 18.16 ▲0.03 | 598.85 ▼20.44 | 73.80 ▼2.44 |
Media Library /wp-admin/upload.php | 1,447 ▲47 | 4.18 ▼0.04 | 94.80 ▼10.35 | 41.65 ▼9.14 |
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 uninstall procedure failed, leaving 1 table in the database
- wp_wpforms_db
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- WPFormsDB_view_install_date
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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 fix the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/database-for-wpforms/database-for-wp-forms.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% from 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
3 plugin tags: forms, wpform, wpforms
database-for-wpforms/database-for-wp-forms.php 77% from 13 tests
The primary PHP file in "Database Addon For WPForms ( wpforms entries ) - WPFormsDB" version 1.0.4 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("database-for-wpforms.php" instead of "database-for-wp-forms.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin683 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 218 | 186 | 665 |
CSS | 1 | 0 | 0 | 18 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 3.74 |
▷ 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 | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 23 | 85.19% |
▷ Protected methods | 1 | 3.70% |
▷ Private methods | 3 | 11.11% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin