Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼6.96ms] Passed 4 tests
Analyzing server-side resources used by Integrate ConvertKit and WPForms
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.19 | 41.30 ▲5.28 |
Dashboard /wp-admin | 3.50 ▲0.15 | 45.52 ▼17.21 |
Posts /wp-admin/edit.php | 3.61 ▲0.25 | 49.53 ▲3.23 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.19 | 83.54 ▼14.27 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 35.46 ▲0.42 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Integrate ConvertKit and WPForms
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲3 | 14.27 ▼0.01 | 1.82 ▼0.69 | 44.95 ▲5.45 |
Dashboard /wp-admin | 2,198 ▲18 | 5.62 ▲0.04 | 97.12 ▲6.70 | 42.57 ▲4.45 |
Posts /wp-admin/edit.php | 2,097 ▼6 | 1.97 ▼0.17 | 40.42 ▲5.12 | 35.17 ▲1.22 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.32 ▲0.12 | 657.47 ▲71.44 | 52.12 ▲3.59 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.05 | 97.99 ▼6.23 | 40.60 ▼3.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
- 7× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/integrate-convertkit-wpforms/views/backend/settings-form-marketing-forms-dropdown.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_html_class() in wp-content/plugins/integrate-convertkit-wpforms/views/backend/settings-form-marketing.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/integrate-convertkit-wpforms/views/backend/settings-integration.php:11
- > PHP Fatal error
Uncaught Error: Class 'ConvertKit_API' not found in wp-content/plugins/integrate-convertkit-wpforms/includes/class-integrate-convertkit-wpforms-api.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/integrate-convertkit-wpforms/includes/class-integrate-convertkit-wpforms-creator-network-recommendations.php:70
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/integrate-convertkit-wpforms/vendor/convertkit/convertkit-wordpress-libraries/src/views/review-request.php:11
- > PHP Fatal error
Uncaught Error: Class 'WPForms_Provider' not found in wp-content/plugins/integrate-convertkit-wpforms/includes/class-integrate-convertkit-wpforms.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: form, email, marketing, wpforms, convertkit
integrate-convertkit-wpforms/integrate-convertkit-wpforms.php Passed 13 tests
Analyzing the main PHP file in "Integrate ConvertKit and WPForms" version 1.6.1
44 characters long description:
Create ConvertKit signup forms using WPForms
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin2,482 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 860 | 1,912 | 2,193 |
Markdown | 4 | 137 | 0 | 288 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis 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 | 36.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 126.00 |
Average method complexity | 3.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 116 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 87 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 29 | 25.00% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin