Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲1.62MB] [CPU: ▲1.08ms] Passed 4 tests
An overview of server-side resources used by Kiwi Contact Form
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.94 ▲1.48 | 43.33 ▲1.52 |
Dashboard /wp-admin | 4.97 ▲1.63 | 56.16 ▼6.47 |
Posts /wp-admin/edit.php | 5.09 ▲1.73 | 58.25 ▲13.68 |
Add New Post /wp-admin/post-new.php | 7.59 ▲1.71 | 92.48 ▼4.39 |
Media Library /wp-admin/upload.php | 4.90 ▲1.67 | 45.84 ▲13.64 |
Integration /wp-admin/admin.php?page=kiwi-integration | 4.87 | 39.31 |
Add New /wp-admin/admin.php?page=kiwi-new | 4.98 | 48.09 |
Contact Forms /wp-admin/admin.php?page=kiwi | 4.92 | 41.24 |
FAQ /wp-admin/admin.php?page=kiwi-faq | 4.87 | 40.20 |
Server storage [IO: ▲0.77MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 81 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
kiwi |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Kiwi Contact Form
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲66 | 13.76 ▼0.67 | 1.47 ▼0.57 | 23.65 ▼21.98 |
Dashboard /wp-admin | 2,246 ▲58 | 5.13 ▼0.77 | 115.61 ▲1.92 | 46.45 ▼0.64 |
Posts /wp-admin/edit.php | 2,126 ▲40 | 2.30 ▲0.30 | 38.65 ▲2.79 | 41.15 ▲7.45 |
Add New Post /wp-admin/post-new.php | 1,708 ▲183 | 24.95 ▲1.59 | 646.93 ▼0.45 | 54.13 ▲5.31 |
Media Library /wp-admin/upload.php | 1,428 ▲40 | 4.43 ▲0.15 | 100.68 ▼10.92 | 47.92 ▲0.45 |
Integration /wp-admin/admin.php?page=kiwi-integration | 922 | 2.00 | 30.20 | 32.49 |
Add New /wp-admin/admin.php?page=kiwi-new | 3,531 | 2.52 | 48.75 | 44.35 |
Contact Forms /wp-admin/admin.php?page=kiwi | 1,171 | 2.09 | 33.67 | 38.73 |
FAQ /wp-admin/admin.php?page=kiwi-faq | 978 | 2.15 | 29.86 | 29.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- kiwi
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/kiwi-contact-form/components/edit-contact-form.php
- 37× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > 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/kiwi-contact-form/admin/modules/contact-form-functions.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kiwi-contact-form/components/textarea.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kiwi-contact-form/kiwi.php:63
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kiwi-contact-form/admin/modules/config-validator.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kiwi-contact-form/components/file.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/kiwi-contact-form/components/capabilities.php:3
- > 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/kiwi-contact-form/admin/modules/contact-form-functions.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kiwi-contact-form/components/mail.php:231
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kiwi-contact-form/components/text.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kiwi-contact-form/components/acceptance.php:8
- > PHP Warning
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=kiwi-faq
- > Network (severe)
wp-content/plugins/kiwi-contact-form/admin/js/tag-generator.js?ver=1.0.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=kiwi
- > Intervention (severe) in unknown
/wp-admin/admin.php?page=kiwi-new - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
Optimizations
Plugin configuration 86% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: contact form, contact, feedback, ajax, multilingual...
kiwi-contact-form/index.php 69% from 13 tests
The main PHP file in "Kiwi Contact Form" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 302 characters long)
- Text Domain: Please use dashes and lowercase characters for text domains
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("kiwi-contact-form.php" instead of "index.php")
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
No dangerous file extensions were detected13,050 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 49 | 2,883 | 207 | 10,125 |
CSS | 10 | 159 | 121 | 2,071 |
JavaScript | 6 | 219 | 26 | 854 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 30.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 106.00 |
Average method complexity | 3.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 33.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 1 | 4.17% |
▷ Concrete classes | 23 | 95.83% |
▷ Final classes | 0 | 0.00% |
Methods | 316 | |
▷ Static methods | 29 | 9.18% |
▷ Public methods | 250 | 79.11% |
▷ Protected methods | 28 | 8.86% |
▷ Private methods | 38 | 12.03% |
Functions | 238 | |
▷ Named functions | 238 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 33 | |
▷ Global constants | 16 | 48.48% |
▷ Class constants | 17 | 51.52% |
▷ Public constants | 17 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/views/images/helper.png | 34.82KB | 15.39KB | ▼ 55.80% |
client/views/js/jquery-ui/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png | 0.32KB | 0.15KB | ▼ 54.82% |
client/views/js/jquery-ui/themes/smoothness/images/ui-icons_888888_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
client/views/js/jquery-ui/themes/smoothness/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
client/views/js/jquery-ui/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.27KB | 0.18KB | ▼ 35.00% |