Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼1.56MB] [CPU: ▼50.48ms] Passed 4 tests
This is a short check of server-side resources used by Kolakube Email Forms
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.43 ▼1.03 | 10.50 ▼34.38 |
Dashboard /wp-admin | 2.45 ▼0.85 | 13.38 ▼39.14 |
Posts /wp-admin/edit.php | 2.45 ▼0.90 | 14.92 ▼39.86 |
Add New Post /wp-admin/post-new.php | 2.45 ▼3.43 | 11.60 ▼88.53 |
Media Library /wp-admin/upload.php | 2.45 ▼0.78 | 13.49 ▼25.18 |
Email Forms /wp-admin/tools.php?page=kol-email-forms | 2.46 | 11.69 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_kol_email |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Kolakube Email Forms
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.40 ▲0.01 | 1.64 ▼0.52 | 40.57 ▼7.72 |
Dashboard /wp-admin | 2,210 ▲19 | 4.86 ▼0.02 | 111.83 ▲4.03 | 46.61 ▲3.53 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.00 ▼0.04 | 39.10 ▲2.79 | 36.41 ▲3.06 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.06 ▼5.17 | 593.61 ▼73.94 | 49.20 ▲0.50 |
Media Library /wp-admin/upload.php | 1,392 ▲1 | 4.16 ▼0.07 | 98.36 ▼6.68 | 42.91 ▼1.64 |
Email Forms /wp-admin/tools.php?page=kol-email-forms | 906 | 2.07 | 27.37 | 29.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/kolakube-email-forms/widget.php+70
Trying to access array offset on value of type bool
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- widget_kol_email
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/tools.php?page=kol-email-forms
- > Notice in wp-content/plugins/kolakube-email-forms/admin/admin-page.php+133
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 23× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/kolakube-email-forms/api/services/aweber/aweber_entry.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/kolakube-email-forms/api/services/activecampaign/Deal.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/kolakube-email-forms/api/services/activecampaign/Tracking.class.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/kolakube-email-forms/templates/email-form.php:14
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/kolakube-email-forms/api/services/activecampaign/Form.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/kolakube-email-forms/api/services/activecampaign/Automation.class.php:3
- > PHP Notice
Undefined variable: args in wp-content/plugins/kolakube-email-forms/templates/email-form.php on line 12
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/kolakube-email-forms/api/services/activecampaign/Campaign.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/kolakube-email-forms/api/services/activecampaign/Contact.class.php:3
- > PHP Fatal error
Uncaught Error: Class 'ActiveCampaign' not found in wp-content/plugins/kolakube-email-forms/api/services/activecampaign/Group.class.php:3
- > PHP Fatal error
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 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== kolakube-email-forms ===
)
kolakube-email-forms/kolakube-email-forms.php 92% from 13 tests
"Kolakube Email Forms" version 1.1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,413 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 939 | 1,252 | 3,290 |
PO File | 1 | 43 | 43 | 123 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 8.58 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 2.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 41 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 296 | |
▷ Static methods | 2 | 0.68% |
▷ Public methods | 273 | 92.23% |
▷ Protected methods | 21 | 7.09% |
▷ Private methods | 2 | 0.68% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin