Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.00MB] [CPU: ▼142.60ms] Passed 4 tests
A check of server-side resources used by Contact Form 7 Responses
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.12 | 33.47 ▲3.75 |
Dashboard /wp-admin | 3.06 ▲0.00 | 41.70 ▼5.41 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 48.40 ▲2.74 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.02 | 87.81 ▼568.59 |
Media Library /wp-admin/upload.php | 3.00 ▲0.00 | 34.45 ▲0.88 |
Responses /wp-admin/admin.php?page=cf7-responses | 2.74 | 21.91 |
Server storage [IO: ▲5.58MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 1 new option
New WordPress options |
---|
pick_settings_latest_version |
Browser metrics Passed 4 tests
Checking browser requirements for Contact Form 7 Responses
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,769 ▲163 | 16.61 ▲1.14 | 8.28 ▼0.60 | 50.59 ▲3.39 |
Dashboard /wp-admin | 2,995 ▲64 | 5.96 ▼0.00 | 141.92 ▼12.03 | 116.77 ▲5.36 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.80 ▲0.00 | 68.34 ▼0.15 | 94.52 ▼6.17 |
Add New Post /wp-admin/post-new.php | 1,604 ▲13 | 18.63 ▼0.11 | 375.08 ▼15.48 | 109.08 ▼8.01 |
Media Library /wp-admin/upload.php | 1,807 ▼3 | 5.01 ▼0.02 | 154.25 ▲1.63 | 125.43 ▲3.52 |
Responses /wp-admin/admin.php?page=cf7-responses | 28 | 0.90 | 0.16 | 11.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 1 option in the database
- pick_settings_latest_version
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/cf7-responses/includes/classes/class-responses-list.php on line 8
- > 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-responses/includes/classes/class-responses-list.php on line 8
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/cf7-responses/includes/classes/class-responses-list.php on line 8
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=cf7-responses
- > Network (severe)
wp-admin/admin.php?page=cf7-responses - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Responses List), #2 (View Response Details), #3 (Export Responses)
cf7-responses/cf7-responses.php Passed 13 tests
The entry point to "Contact Form 7 Responses" version 1.0.5 is a PHP file that has certain tags in its header comment area
55 characters long description:
Easy solutions to view responses from Csssontact Corm 7
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 detected3,514 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 2,105 |
PHP | 11 | 457 | 69 | 1,147 |
CSS | 4 | 49 | 14 | 260 |
JavaScript | 1 | 2 | 20 | 2 |
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.45 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 140.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.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 | 73 | |
▷ Static methods | 1 | 1.37% |
▷ Public methods | 55 | 75.34% |
▷ Protected methods | 3 | 4.11% |
▷ Private methods | 15 | 20.55% |
Functions | 20 | |
▷ Named functions | 18 | 90.00% |
▷ Anonymous functions | 2 | 10.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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected