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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼2.05ms] Passed 4 tests
This is a short check of server-side resources used by Freebie for Contact Form 7
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.10 | 39.36 ▼3.71 |
Dashboard /wp-admin | 3.45 ▲0.10 | 51.69 ▼4.98 |
Posts /wp-admin/edit.php | 3.56 ▲0.16 | 55.48 ▲2.34 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.10 | 98.30 ▼1.83 |
Media Library /wp-admin/upload.php | 3.37 ▲0.10 | 44.20 ▲7.38 |
Freebie for Contact Form 7 /wp-admin/options-general.php?page=cf7freebie_menu | 3.34 | 35.97 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Freebie for Contact Form 7
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲35 | 14.23 ▼0.17 | 2.17 ▲0.38 | 39.58 ▼4.29 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▼0.03 | 91.64 ▲1.36 | 40.94 ▼3.92 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▲0.03 | 39.59 ▲0.70 | 37.56 ▼1.65 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.08 ▼0.13 | 614.09 ▼28.77 | 61.73 ▲9.49 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.19 ▼0.05 | 97.54 ▼12.36 | 47.45 ▲2.41 |
Freebie for Contact Form 7 /wp-admin/options-general.php?page=cf7freebie_menu | 812 | 1.99 | 24.60 | 33.07 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cf7freebie_menu
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 11 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=cf7freebie_menu
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
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 take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_file_data() in wp-content/plugins/contact-form-7-freebie/inc/ContactForm7Freebie.php:36
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (setting screen.) image not found
contact-form-7-freebie/contact-form-7-freebie.php Passed 13 tests
The main file in "Freebie for Contact Form 7" v. 1.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
48 characters long description:
Add a little functionality to the Contact Form 7
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin402 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 124 | 91 | 402 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 28.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 26 | |
▷ Static methods | 10 | 38.46% |
▷ Public methods | 25 | 96.15% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 3.85% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/google_recaptcha_v3.png | 3.14KB | 2.04KB | ▼ 35.08% |
screenshot-1.png | 15.73KB | 14.64KB | ▼ 6.93% |