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 successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.92MB] [CPU: ▼53.63ms] Passed 4 tests
Server-side resources used by CF7 Kraken
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.06 ▼1.40 | 3.90 ▼37.03 |
Dashboard /wp-admin | 2.08 ▼1.22 | 5.49 ▼45.29 |
Posts /wp-admin/edit.php | 2.09 ▼1.27 | 7.26 ▼32.25 |
Add New Post /wp-admin/post-new.php | 2.08 ▼3.80 | 5.96 ▼99.96 |
Media Library /wp-admin/upload.php | 2.09 ▼1.14 | 5.90 ▼24.90 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for CF7 Kraken
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.18 ▼1.18 | 1.75 ▲0.07 | 41.64 ▲3.15 |
Dashboard /wp-admin | 2,219 ▲43 | 5.81 ▼0.08 | 97.43 ▼22.93 | 40.90 ▼1.59 |
Posts /wp-admin/edit.php | 2,101 ▲9 | 2.02 ▲0.00 | 37.31 ▼3.61 | 31.60 ▼4.58 |
Add New Post /wp-admin/post-new.php | 1,546 ▲3 | 23.52 ▲5.30 | 662.31 ▲54.76 | 57.30 ▲8.16 |
Media Library /wp-admin/upload.php | 1,401 ▲10 | 4.21 ▼0.02 | 118.20 ▲21.56 | 50.47 ▲6.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The plugin did not uninstall gracefully
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/contact-form-7): failed to open dir: No such file or directory
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/cf7-kraken/includes/modules/webhook/settings-metabox.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kraken/admin/admin.php:71
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/cf7-kraken/includes/modules/mailchimp/settings-metabox.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_meta_box() in wp-content/plugins/cf7-kraken/admin/metaboxes/general-settings.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/cf7-kraken/includes/modules/slack/settings-metabox.php:9
- > 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 on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Screenshot #1 (Select Form & Integration) image required
cf7-kraken/cf7-kraken.php Passed 13 tests
The main PHP script in "CF7 Kraken" version 1.1.0 is automatically included on every request by WordPress
75 characters long description:
Integrate your Contact Form 7 with Mailchimp, Slack and more are comming...
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 plugin7,296 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 1,297 | 306 | 5,326 |
PHP | 12 | 343 | 905 | 1,345 |
CSS | 4 | 101 | 0 | 625 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 17.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 33.00 |
Average method complexity | 2.69 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 10 | 11.49% |
▷ Public methods | 72 | 82.76% |
▷ Protected methods | 2 | 2.30% |
▷ Private methods | 13 | 14.94% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 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
PNG images were not found in this plugin