Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- This plugin did not install gracefully
- > Deprecated in wp-content/plugins/inbound-rocket/inbound-rocket.php+74
Function create_function() is deprecated
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.22ms] Passed 4 tests
Server-side resources used by Visitor Analytics and Lead Generation Plugin by Inbound Rocket
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 4.22 ▼35.67 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.14 ▼43.64 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.15 ▼43.16 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.93 ▼90.40 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 8.28 ▼23.87 |
Server storage [IO: ▲3.18MB] [DB: ▲0.01MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 237 new files
Database: 7 new tables, 6 new options
New tables |
---|
wp_ir_submissions |
wp_ir_shares |
wp_ir_pageviews |
wp_ir_emails |
wp_ir_tags |
wp_ir_tag_relationships |
wp_ir_leads |
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Visitor Analytics and Lead Generation Plugin by Inbound Rocket
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,112 ▲377 | 13.82 ▼0.57 | 15.20 ▲13.44 | 45.86 ▼9.09 |
Dashboard /wp-admin | 2,403 ▲212 | 5.91 ▲1.00 | 112.33 ▲13.14 | 78.49 ▲33.44 |
Posts /wp-admin/edit.php | 2,305 ▲216 | 2.01 ▲0.01 | 40.20 ▲5.88 | 33.42 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,764 ▲231 | 22.71 ▼0.63 | 732.42 ▲63.99 | 57.21 ▲1.89 |
Media Library /wp-admin/upload.php | 1,598 ▲213 | 4.26 ▲0.09 | 101.07 ▼2.90 | 76.49 ▲31.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 25% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/inbound-rocket/inbound-rocket.php+74
Function create_function() is deprecated
- Zombie tables were found after uninstall: 7 tables
- wp_ir_tags
- wp_ir_shares
- wp_ir_leads
- wp_ir_emails
- wp_ir_tag_relationships
- wp_ir_pageviews
- wp_ir_submissions
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 32× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/inbound-rocket/inc/power-ups/welcome-mat/admin/welcome-mat-list-table.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/welcome-mat/admin/metaboxes/welcome-mat-fields-view.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/aweber-connector/admin/aweber-connector-admin.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/scroll-boxes/admin/metaboxes/scroll-box-appearance-view.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/scroll-boxes/admin/scroll-boxes-admin-functions.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/mailchimp-connector.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/scroll-boxes/admin/metaboxes/scroll-box-option-view.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/scroll-boxes/scroll-box-class.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/people-search/admin/people-search-admin.php
- > /wp-content/plugins/inbound-rocket/inc/power-ups/mailchimp-connector/admin/mailchimp-connector-admin.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/inbound-rocket/inc/power-ups/aweber-connector/inc/aweber_api/aweber_collection.php:2
- > PHP Fatal error
Cannot declare class InvalidArgumentException, because the name is already in use in wp-content/plugins/inbound-rocket/admin/lib/Snowplow/RefererParser/Exception/InvalidArgumentException.php on line 3
- > PHP Fatal error
Uncaught Error: Interface 'AWeberOAuthAdapter' not found in wp-content/plugins/inbound-rocket/inc/power-ups/aweber-connector/inc/aweber_api/oauth_application.php:57
- > PHP Fatal error
Uncaught Error: Class 'AWeberResponse' not found in wp-content/plugins/inbound-rocket/inc/power-ups/aweber-connector/inc/aweber_api/aweber_entry.php:3
- > PHP Fatal error
Uncaught Error: Class 'ConfigReaderInterface' not found in wp-content/plugins/inbound-rocket/admin/lib/Snowplow/RefererParser/Config/JsonConfigReader.php:3
- > PHP Fatal error
Uncaught Error: Class 'AWeberAPIBase' not found in wp-content/plugins/inbound-rocket/inc/power-ups/aweber-connector/inc/aweber_api/aweber_response.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: Please delete some tags, you are using 45 tag instead of maximum 10
inbound-rocket/inbound-rocket.php 92% from 13 tests
"Visitor Analytics and Lead Generation Plugin by Inbound Rocket" version 1.5.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 404 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin40,505 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 81 | 3,435 | 4,978 | 19,097 |
JavaScript | 29 | 1,835 | 954 | 7,698 |
PO File | 4 | 2,360 | 3,152 | 5,365 |
JSON | 1 | 0 | 0 | 4,064 |
CSS | 18 | 245 | 47 | 3,589 |
SVG | 8 | 9 | 7 | 378 |
HTML | 2 | 59 | 17 | 314 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 112)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 23.66 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 290.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 112.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 3 | |
Traits | 0 | |
Classes | 83 | |
▷ Abstract classes | 2 | 2.41% |
▷ Concrete classes | 81 | 97.59% |
▷ Final classes | 1 | 1.23% |
Methods | 690 | |
▷ Static methods | 42 | 6.09% |
▷ Public methods | 628 | 91.01% |
▷ Protected methods | 32 | 4.64% |
▷ Private methods | 30 | 4.35% |
Functions | 85 | |
▷ Named functions | 85 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 84 | |
▷ Global constants | 78 | 92.86% |
▷ Class constants | 6 | 7.14% |
▷ Public constants | 6 | 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
57 compressed PNG files occupy 0.21MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/email-header.png | 8.41KB | 8.91KB | 0.00% |
inc/power-ups/selection-sharer/img/shared-facebook.png | 0.19KB | 0.21KB | 0.00% |
img/power-ups/power-up-icon-scroll-boxes.png | 3.35KB | 3.52KB | 0.00% |
img/power-ups/power-up-icon-welcome-bar@2x.png | 5.91KB | 6.17KB | 0.00% |
inc/power-ups/welcome-bar/img/lightgrey.png | 0.99KB | 1.57KB | 0.00% |