Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼5.00ms] Passed 4 tests
A check of server-side resources used by Save CF7 Entry
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.17 | 37.20 ▼2.81 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.15 ▼8.32 |
Posts /wp-admin/edit.php | 3.41 ▲0.04 | 48.20 ▼1.02 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.04 | 88.96 ▼7.84 |
Media Library /wp-admin/upload.php | 3.28 ▲0.04 | 35.65 ▼0.05 |
Form Entries Listing /wp-admin/admin.php?page=form-entries | 3.22 | 32.36 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 15 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_cf7_entries |
wp_cf7_entry_meta |
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Save CF7 Entry
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲42 | 14.34 ▼0.00 | 1.66 ▲0.18 | 38.59 ▼0.57 |
Dashboard /wp-admin | 2,212 ▲32 | 5.58 ▼0.02 | 94.05 ▲2.15 | 41.20 ▼0.03 |
Posts /wp-admin/edit.php | 2,114 ▲11 | 2.03 ▲0.06 | 38.49 ▲3.78 | 34.41 ▲0.22 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.61 ▲0.56 | 679.28 ▲0.98 | 55.08 ▲14.43 |
Media Library /wp-admin/upload.php | 1,411 ▲8 | 4.12 ▼0.03 | 98.97 ▲3.12 | 41.21 ▼3.67 |
Form Entries Listing /wp-admin/admin.php?page=form-entries | 681 | 1.12 | 6.55 | 13.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=form-entries
- > Notice in wp-content/plugins/save-cf7-entry/controller/SCF7EContactController.php+42
Undefined index: form
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: contact form backup, save contact forms, contact form enteirs
save-cf7-entry/save-cf7-entry.php Passed 13 tests
The entry point to "Save CF7 Entry" version 1.0.1 is a PHP file that has certain tags in its header comment area
68 characters long description:
This is a plugin that saves contact form 7 entries into the database
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected539 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 43 | 13 | 320 |
JavaScript | 1 | 3 | 11 | 170 |
CSS | 2 | 7 | 0 | 49 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 9.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 3 | 33.33% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.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
5 compressed PNG files occupy 0.00MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
lib/assets/images/sort_asc.png | 0.16KB | 0.25KB | 0.00% |
lib/assets/images/sort_desc.png | 0.15KB | 0.25KB | 0.00% |
lib/assets/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
lib/assets/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
lib/assets/images/sort_both.png | 0.20KB | 0.29KB | 0.00% |