Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Core/Brew.php+280
Undefined index: is_module
Server metrics [RAM: ▼2.28MB] [CPU: ▼371.06ms] Passed 4 tests
Analyzing server-side resources used by Inbound Brew
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.43 | 6.29 ▼51.62 |
Dashboard /wp-admin | 2.11 ▼1.30 | 4.75 ▼34.16 |
Posts /wp-admin/edit.php | 2.11 ▼1.53 | 4.24 ▼37.06 |
Add New Post /wp-admin/post-new.php | 2.11 ▼4.86 | 5.35 ▼1,361.40 |
Media Library /wp-admin/upload.php | 2.11 ▼1.18 | 8.90 ▼18.48 |
Getting Started /wp-admin/admin.php?page=ib-admin-getting-started | 2.24 | 8.92 |
Lead Management /wp-admin/admin.php?page=ib-leads-admin | 2.25 | 6.55 |
Email /wp-admin/admin.php?page=ib-email-admin | 2.25 | 5.61 |
Settings /wp-admin/admin.php?page=ib-admin-settings | 2.25 | 5.22 |
Dashboard /wp-admin/admin.php?page=inboundbrew | 2.24 | 7.21 |
Redirects /wp-admin/admin.php?page=ib-redirects | 2.25 | 4.28 |
Landing Pages /wp-admin/admin.php?page=landing-page-admin | 2.25 | 6.78 |
CTAs /wp-admin/admin.php?page=ib-call-to-action | 2.25 | 13.91 |
Contact Forms /wp-admin/admin.php?page=ib-contact-forms | 2.25 | 5.83 |
Inbound Brew /wp-admin/admin.php?page=inbound-brew | 2.24 | 5.70 |
Server storage [IO: ▲7.79MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 986 new files
Database: 34 new tables, 23 new options
New tables |
---|
wp_ib_social_network_accounts |
wp_ib_leads |
wp_ib_states |
wp_ib_lead_campaign_events_log |
wp_ib_social_network_post_settings |
wp_ib_contact_field |
wp_ib_tracking_events |
wp_ib_countries |
wp_ib_post_keyword |
wp_ib_twitter_reports |
... |
New WordPress options |
---|
ib_sitemap_default_settings |
fs_debug_mode |
ib_state_import |
ib_show_getting_started_menu |
ib_redirect_settings |
ib_social_share_widget_options |
ib_db_version |
ib_first_installed |
fs_accounts |
ib_data_version |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Inbound Brew
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,629 ▲875 | 20.87 ▲5.08 | 18.68 ▲12.93 | 12.25 ▲9.76 |
Dashboard /wp-admin | 3,399 ▲538 | 9.38 ▲3.19 | 160.04 ▲30.76 | 169.92 ▲8.63 |
Posts /wp-admin/edit.php | 3,281 ▲587 | 6.96 ▲3.72 | 94.36 ▲29.83 | 159.61 ▲17.89 |
Add New Post /wp-admin/post-new.php | 2,376 ▲715 | 25.71 ▲9.13 | 391.10 ▼6.93 | 286.06 ▲84.88 |
Media Library /wp-admin/upload.php | 2,020 ▲319 | 7.83 ▲2.30 | 119.37 ▼7.31 | 233.55 ▲47.01 |
Getting Started /wp-admin/admin.php?page=ib-admin-getting-started | 1,827 | 6.32 | 83.55 | 166.45 |
Lead Management /wp-admin/admin.php?page=ib-leads-admin | 6,838 | 11.60 | 296.98 | 305.08 |
Email /wp-admin/admin.php?page=ib-email-admin | 2,054 | 7.65 | 107.89 | 195.41 |
Settings /wp-admin/admin.php?page=ib-admin-settings | 2,252 | 7.27 | 94.84 | 168.88 |
Dashboard /wp-admin/admin.php?page=inboundbrew | 2,325 | 8.62 | 169.73 | 211.18 |
Redirects /wp-admin/admin.php?page=ib-redirects | 2,242 | 7.58 | 102.67 | 207.64 |
Landing Pages /wp-admin/admin.php?page=landing-page-admin | 2,147 | 7.48 | 110.32 | 226.84 |
CTAs /wp-admin/admin.php?page=ib-call-to-action | 2,062 | 7.69 | 101.12 | 247.98 |
Contact Forms /wp-admin/admin.php?page=ib-contact-forms | 2,016 | 7.43 | 126.92 | 187.15 |
Inbound Brew /wp-admin/admin.php?page=inbound-brew | 1,800 | 6.41 | 97.18 | 164.92 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Core/AppController.php+24
Undefined index: page
- Zombie WordPress options were found after uninstall: 2 options
- fs_debug_mode
- fs_api_cache
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These server-side errors were triggered
- 21 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inbound-brew
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Contact/Controllers/Email.php+65
Undefined index: action
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inbound-brew
- > Notice in wp-content/plugins/inbound-brew/inboundbrew.php+321
Undefined index: HTTPS
- 48 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inbound-brew
- > Notice in wp-content/plugins/inbound-brew/src/Modules/CTA/Controllers/CallToAction.php+100
Undefined index: section
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inbound-brew
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Contact/Controllers/LandingPage.php+62
Trying to get property 'post_type' of non-object
- 18 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inbound-brew
- > Notice in wp-content/plugins/inbound-brew/inboundbrew.php+652
Undefined index: post
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=inbound-brew
- > Notice in wp-content/plugins/inbound-brew/inboundbrew.php+661
Undefined index: post_type
- 20 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+886
Undefined variable: lead
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+806
Trying to get property 'lead_first_name' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+811
Trying to get property 'lead_last_name' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+816
Trying to get property 'type_id' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+820
Trying to get property 'lead_email' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+824
Trying to get property 'lead_email2' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+828
Trying to get property 'lead_ip' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+832
Trying to get property 'lead_city' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+836
Trying to get property 'lead_state' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+841
Trying to get property 'country_id' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+845
Trying to get property 'lead_postal' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+849
Trying to get property 'lead_phone' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+853
Trying to get property 'lead_phone2' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+857
Trying to get property 'lead_dob' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+861
Trying to get property 'lead_social_facebook' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+865
Trying to get property 'lead_social_twitter' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+869
Trying to get property 'lead_social_linkedin' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+873
Trying to get property 'created_at' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+877
Trying to get property 'updated_at' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+882
Trying to get property 'assigned_to' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+886
Trying to get property 'opt_in' of non-object
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+207
Undefined index: inboundbrew_active_lead_view
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/Controllers/Lead.php+677
Undefined variable: lead_ids
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-redirects
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php+39
Undefined index: type
- 36 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Leads/views/partials/leads_filters.php+40
Undefined index: no_filter
- 38 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: LeadFilter
- 143 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-redirects
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Trying to access array offset on value of type null
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-redirects
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php+619
Undefined index: selected
- 13 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-redirects
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php+648
Undefined variable: display
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_id
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_email2
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_ip
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_city
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_state
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: country_id
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_postal
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_phone2
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_dob
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_social_facebook
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_social_twitter
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: lead_social_linkedin
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: opt_in
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: LeadActivity
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-leads-admin
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: LeadEmail
- 20 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-admin-settings
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php+817
Undefined index: in_divs
- 54 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-contact-forms
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Core/assets/layouts/top_nav.php+50
Undefined index: is_module
- 104 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-contact-forms
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Core/assets/layouts/top_nav.php+48
Undefined index: ignore
- > GET request to /wp-admin/admin.php?page=ib-admin-settings
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Settings/Controllers/Settings.php+588
Undefined index: ib_settings_nonce
- > GET request to /wp-admin/admin.php?page=ib-admin-settings
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: default_layout
- 12 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-admin-settings
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Settings/views/admin_settings.php+96
Undefined index: can_turn_off
- > GET request to /wp-admin/admin.php?page=inboundbrew
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: ib_start_date
- > GET request to /wp-admin/admin.php?page=inboundbrew
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: ib_end_date
- > GET request to /wp-admin/admin.php?page=inboundbrew
- > Notice in wp-content/plugins/inbound-brew/src/Modules/Core/views/admin.php+247
Undefined variable: class
- > GET request to /wp-admin/admin.php?page=ib-redirects
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: nonce
- 9 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-redirects
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php(1030) : eval()'d code+1
Undefined index: Redirect
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ib-redirects
- > Notice in wp-content/plugins/inbound-brew/src/Libraries/FormHelper.php+100
Undefined index: class
- > GET request to /wp-admin/admin.php?page=ib-call-to-action
- > Notice in wp-content/plugins/inbound-brew/src/Modules/CTA/Controllers/CallToAction.php+205
Undefined index: view
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
The following issues need your attention
- 38× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/inbound-brew/src/Modules/SEO/views/partials/on-page-seo.php
- > /wp-content/plugins/inbound-brew/src/Modules/Leads/views/ajax_recent_history.php
- > /wp-content/plugins/inbound-brew/src/Modules/Contact/views/contact-form_wizzard_instructions.php
- > /wp-content/plugins/inbound-brew/src/Modules/Settings/views/social_share_widget.php
- > /wp-content/plugins/inbound-brew/src/Modules/SEO/views/partials/post-keywords.php
- > /wp-content/plugins/inbound-brew/src/Modules/Contact/views/email_wizzard_instructions.php
- > /wp-content/plugins/inbound-brew/src/Modules/Contact/views/admin_choose_template.php
- > /wp-content/plugins/inbound-brew/src/Modules/Leads/views/settings.php
- > /wp-content/plugins/inbound-brew/src/Modules/Contact/views/landing-page_wizzard_instructions.php
- > /wp-content/plugins/inbound-brew/src/Modules/Contact/views/landing-page-list.php
- 528× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Support\\Facades\\Facade' not found in wp-content/plugins/inbound-brew/vendor/illuminate/support/Illuminate/Support/Facades/Log.php:6
- > PHP Notice
Undefined variable: lead in wp-content/plugins/inbound-brew/src/Modules/Leads/views/note.php on line 29
- > PHP Notice
Undefined variable: lead in wp-content/plugins/inbound-brew/src/Modules/Leads/views/note.php on line 23
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Database\\Query\\Grammars\\Grammar' not found in wp-content/plugins/inbound-brew/vendor/illuminate/database/Illuminate/Database/Query/Grammars/SqlServerGrammar.php:5
- > PHP Notice
Trying to get property 'posted_image' of non-object in wp-content/plugins/inbound-brew/src/Modules/Settings/views/admin_social_posting_record_details.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/inbound-brew/src/Modules/SEO/views/keyword_manage.php:16
- > PHP Notice
Undefined variable: dataPoints in wp-content/plugins/inbound-brew/src/Modules/Core/views/ajax_dashboard.php on line 44
- > PHP Fatal error
Uncaught Error: Class 'Illuminate\\Database\\Eloquent\\Model' not found in wp-content/plugins/inbound-brew/src/Modules/Redirects/Models/Redirect.php:15
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/inbound-brew/src/Modules/Core/assets/layouts/top_nav.php on line 43
- > PHP Notice
Undefined variable: lead in wp-content/plugins/inbound-brew/src/Modules/Leads/views/share.php on line 27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: drip campaigns, inbound marketing, cta, contact forms, crm
inbound-brew/inboundbrew.php 85% from 13 tests
The entry point to "Inbound Brew" version 1.9.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 280 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("inbound-brew.php" instead of "inboundbrew.php")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin77,734 lines of code in 772 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 568 | 10,884 | 29,568 | 61,643 |
XSD | 4 | 99 | 76 | 4,991 |
PO File | 13 | 1,893 | 1,913 | 4,908 |
SVG | 3 | 2 | 1 | 2,357 |
Sass | 17 | 282 | 85 | 1,731 |
JSON | 14 | 0 | 0 | 802 |
Markdown | 8 | 224 | 0 | 703 |
XML | 14 | 3 | 0 | 275 |
XSLT | 1 | 0 | 0 | 111 |
JavaScript | 83 | 0 | 0 | 94 |
HTML | 1 | 0 | 0 | 61 |
CSS | 40 | 0 | 8 | 40 |
Qt Linguist | 1 | 0 | 0 | 10 |
YAML | 4 | 0 | 0 | 7 |
INI | 1 | 0 | 0 | 1 |
PHP code 0% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,051)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 155)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 15.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,051.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 155.00 |
Code structure | ||
---|---|---|
Namespaces | 63 | |
Interfaces | 18 | |
Traits | 0 | |
Classes | 322 | |
▷ Abstract classes | 19 | 5.90% |
▷ Concrete classes | 303 | 94.10% |
▷ Final classes | 1 | 0.33% |
Methods | 3,390 | |
▷ Static methods | 385 | 11.36% |
▷ Public methods | 2,545 | 75.07% |
▷ Protected methods | 531 | 15.66% |
▷ Private methods | 314 | 9.26% |
Functions | 267 | |
▷ Named functions | 187 | 70.04% |
▷ Anonymous functions | 80 | 29.96% |
Constants | 211 | |
▷ Global constants | 134 | 63.51% |
▷ Class constants | 77 | 36.49% |
▷ Public constants | 77 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
101 PNG files occupy 1.48MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
src/Modules/Contact/views/templates/4/thumb-4.png | 1.03KB | 0.79KB | ▼ 22.57% |
src/Modules/CTA/assets/images/tab_icons.png | 7.31KB | 3.42KB | ▼ 53.19% |
src/Modules/Core/assets/images/colorpicker/colorpicker_hsb_h.png | 0.99KB | 0.77KB | ▼ 21.94% |
assets/screenshot-12.png | 89.44KB | 34.62KB | ▼ 61.29% |
src/Modules/Core/assets/images/colorpicker/colorpicker_rgb_b.png | 0.95KB | 0.76KB | ▼ 19.48% |