Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.29MB] [CPU: ▼0.51ms] Passed 4 tests
A check of server-side resources used by WPAppsDev - CF7 Form Submission Limit
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 44.19 ▲8.24 |
Dashboard /wp-admin | 3.64 ▲0.29 | 48.60 ▼14.17 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 45.76 ▼1.66 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 94.82 ▲11.61 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 37.06 ▲5.57 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
wpadcf7sl_version |
widget_recent-posts |
theysaidso_admin_options |
wpadcf7sl_installed |
Browser metrics Passed 4 tests
WPAppsDev - CF7 Form Submission Limit: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲89 | 14.27 ▼0.29 | 1.90 ▲0.29 | 43.30 ▲6.23 |
Dashboard /wp-admin | 2,228 ▲63 | 5.56 ▼0.01 | 82.00 ▼6.81 | 41.17 ▼1.78 |
Posts /wp-admin/edit.php | 2,137 ▲37 | 2.12 ▲0.08 | 37.28 ▲0.06 | 32.62 ▼3.03 |
Add New Post /wp-admin/post-new.php | 1,562 ▲36 | 23.37 ▲0.59 | 610.07 ▼63.06 | 52.53 ▼4.03 |
Media Library /wp-admin/upload.php | 1,439 ▲36 | 4.19 ▼0.08 | 97.71 ▼0.27 | 44.66 ▲2.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- can_compress_scripts
- widget_recent-comments
- wpadcf7sl_installed
- theysaidso_admin_options
- wpadcf7sl_version
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
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
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cf7-form-submission-limit-wpappsdev/templates/cf7-activation-notice.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/cf7-form-submission-limit-wpappsdev/templates/counter-tag/formsubmit.php:1
- > PHP Notice
Undefined variable: is_logged_in in wp-content/plugins/cf7-form-submission-limit-wpappsdev/templates/counter-tag/userformsubmit.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/cf7-form-submission-limit-wpappsdev/templates/counter-tag/userformsubmit.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: contact form 7, form, submission limit, cf7
cf7-form-submission-limit-wpappsdev/wpappsdev-submission-limit-cf7.php 85% from 13 tests
The main file in "WPAppsDev - CF7 Form Submission Limit" v. 2.4.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Main file name: Name the main plugin file the same as the plugin slug ("cf7-form-submission-limit-wpappsdev.php" instead of "wpappsdev-submission-limit-cf7.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected3,290 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 747 | 1,426 | 3,080 |
JavaScript | 3 | 16 | 5 | 107 |
JSON | 2 | 0 | 0 | 88 |
CSS | 3 | 1 | 13 | 15 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 24.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 84.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 1 | 7.14% |
Methods | 168 | |
▷ Static methods | 27 | 16.07% |
▷ Public methods | 130 | 77.38% |
▷ Protected methods | 6 | 3.57% |
▷ Private methods | 32 | 19.05% |
Functions | 12 | |
▷ Named functions | 9 | 75.00% |
▷ Anonymous functions | 3 | 25.00% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin