Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.58MB] [CPU: ▲0.30ms] Passed 4 tests
This is a short check of server-side resources used by CF7 Submissions - Securely Store Contact Form 7 Data and Attachments, Reply to the Sender and more
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.00 ▲0.53 | 45.18 ▼1.92 |
Dashboard /wp-admin | 3.90 ▲0.59 | 49.98 ▲0.66 |
Posts /wp-admin/edit.php | 3.95 ▲0.59 | 53.50 ▲3.65 |
Add New Post /wp-admin/post-new.php | 6.50 ▲0.61 | 95.43 ▼1.20 |
Media Library /wp-admin/upload.php | 3.83 ▲0.59 | 41.31 ▲4.84 |
Submissions /wp-admin/admin.php?page=cf7-submissions | 3.85 | 40.06 |
Server storage [IO: ▲0.71MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 70 new files
Database: 3 new tables, 9 new options
New tables |
---|
wp_cf7_submission_data |
wp_cf7_submission_files |
wp_cf7_submissions |
New WordPress options |
---|
widget_recent-comments |
cf7s-submissions_version |
widget_recent-posts |
theysaidso_admin_options |
pl-survey_cf7-submissions-activated |
widget_theysaidso_widget |
cf7s-submissions_install_time |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for CF7 Submissions - Securely Store Contact Form 7 Data and Attachments, Reply to the Sender and more
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,929 ▲142 | 13.83 ▼0.52 | 7.46 ▲5.58 | 40.44 ▼3.44 |
Dashboard /wp-admin | 2,244 ▲70 | 5.76 ▲0.19 | 87.30 ▼18.87 | 77.65 ▲34.43 |
Posts /wp-admin/edit.php | 2,150 ▲53 | 2.09 ▲0.08 | 40.64 ▲3.05 | 39.07 ▲5.93 |
Add New Post /wp-admin/post-new.php | 1,728 ▲202 | 22.64 ▼0.64 | 674.47 ▼22.68 | 59.56 ▲4.43 |
Media Library /wp-admin/upload.php | 1,446 ▲49 | 4.22 ▲0.02 | 100.43 ▼17.64 | 76.09 ▲28.46 |
Submissions /wp-admin/admin.php?page=cf7-submissions | 1,126 | 1.90 | 29.64 | 28.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie tables were found after uninstall: 3 tables
- wp_cf7_submissions
- wp_cf7_submission_files
- wp_cf7_submission_data
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-submissions/inc/functions.php on line 6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-submissions/inc/functions.php on line 6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-submissions/inc/functions.php on line 6
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/cf7-submissions/inc/functions.php on line 6
- > PHP Warning
require_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-submissions/inc/functions.php on line 6
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-submissions/inc/functions.php on line 6
- > 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: contact form 7 entries, submissions for contact form 7, contact form 7
cf7-submissions/cf7-submissions.php 92% from 13 tests
"CF7 Submissions - Securely Store Contact Form 7 Data and Attachments, Reply to the Sender and more" version 0.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin4,789 lines of code in 56 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 939 | 1,047 | 3,450 |
CSS | 7 | 3 | 13 | 898 |
JavaScript | 7 | 22 | 1 | 268 |
JSON | 4 | 0 | 0 | 171 |
Markdown | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 3.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 2 | 8.33% |
▷ Concrete classes | 22 | 91.67% |
▷ Final classes | 1 | 4.55% |
Methods | 196 | |
▷ Static methods | 24 | 12.24% |
▷ Public methods | 186 | 94.90% |
▷ Protected methods | 2 | 1.02% |
▷ Private methods | 8 | 4.08% |
Functions | 19 | |
▷ Named functions | 10 | 52.63% |
▷ Anonymous functions | 9 | 47.37% |
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
7 PNG files occupy 0.38MB with 0.24MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshots/screenshot-3.png | 150.14KB | 41.51KB | ▼ 72.35% |
vendor/codexpert/plugin/src/assets/img/survey.png | 7.31KB | 3.08KB | ▼ 57.88% |
vendor/codexpert/plugin/src/assets/img/checked.png | 18.81KB | 9.90KB | ▼ 47.36% |
assets/screenshots/screenshot-4.png | 36.23KB | 10.71KB | ▼ 70.44% |
assets/screenshots/screenshot-2.png | 86.01KB | 26.13KB | ▼ 69.62% |