Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲1.33MB] [CPU: ▲7.24ms] Passed 4 tests
A check of server-side resources used by Tracker Buzzlead para Woocommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.80 ▲1.33 | 53.36 ▲10.77 |
Dashboard /wp-admin | 4.65 ▲1.35 | 64.74 ▲9.93 |
Posts /wp-admin/edit.php | 4.69 ▲1.34 | 67.01 ▲18.71 |
Add New Post /wp-admin/post-new.php | 7.24 ▲1.35 | 96.53 ▼2.58 |
Media Library /wp-admin/upload.php | 4.54 ▲1.32 | 50.09 ▲10.83 |
Server storage [IO: ▲7.63MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 447 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Tracker Buzzlead para Woocommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲188 | 17.87 ▲3.68 | 1.73 ▼0.19 | 40.96 ▼4.55 |
Dashboard /wp-admin | 2,368 ▲191 | 8.40 ▲2.74 | 162.93 ▲62.13 | 87.88 ▲40.24 |
Posts /wp-admin/edit.php | 2,314 ▲214 | 5.71 ▲3.69 | 78.61 ▲38.15 | 74.90 ▲37.75 |
Add New Post /wp-admin/post-new.php | 1,756 ▲352 | 21.32 ▲3.38 | 683.00 ▲53.80 | 41.07 ▼14.25 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 6.85 ▲2.76 | 110.32 ▼3.41 | 94.09 ▲49.86 |
Buzzlead /wp-admin/crb_carbon_fields_container_buzzlead.php | 26 | 0.42 | 0.07 | 15.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
Smoke tests 25% 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 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/templates/Exception/incorrect-syntax.php
- 112× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Container/User_Meta_Container.php:9
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Container' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Container/Theme_Options_Container.php:11
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Predefined_Options_Field' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Field/Multiselect_Field.php:13
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Field' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Field/Color_Field.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/templates/Container/common/options-page.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Comparer\\Comparer' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Container/Condition/Comparer/Custom_Comparer.php:7
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Template_Condition.php:10
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Field\\Time_Field' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Field/Date_Time_Field.php:8
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/templates/Container/term_meta.php:2
- > PHP Fatal error
Uncaught Error: Class 'Carbon_Fields\\Container\\Condition\\Condition' not found in wp-content/plugins/track-for-buzzlead/vendor/htmlburger/carbon-fields/core/Container/Condition/Post_Ancestor_ID_Condition.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/crb_carbon_fields_container_buzzlead.php
- > Network (severe)
wp-admin/crb_carbon_fields_container_buzzlead.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
7 plugin tags: converso, campanha buzzlead, tracker, marketing boca a boca, marketing de indicaes...
track-for-buzzlead/track-for-buzzlead.php 85% from 13 tests
The main file in "Tracker Buzzlead para Woocommerce" v. 2.2.4 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 153 characters long)
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin27,037 lines of code in 399 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 171 | 5,162 | 8,352 | 12,848 |
PHP | 144 | 2,446 | 6,459 | 8,654 |
Sass | 48 | 327 | 0 | 1,723 |
PO File | 21 | 614 | 784 | 1,675 |
CSS | 7 | 320 | 1,139 | 1,626 |
JSON | 4 | 0 | 0 | 359 |
SVG | 1 | 7 | 1 | 84 |
Markdown | 3 | 24 | 0 | 68 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.19 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 50.00 |
Average method complexity | 2.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 5 | |
Traits | 0 | |
Classes | 121 | |
▷ Abstract classes | 11 | 9.09% |
▷ Concrete classes | 110 | 90.91% |
▷ Final classes | 1 | 0.91% |
Methods | 886 | |
▷ Static methods | 92 | 10.38% |
▷ Public methods | 719 | 81.15% |
▷ Protected methods | 163 | 18.40% |
▷ Private methods | 4 | 0.45% |
Functions | 109 | |
▷ Named functions | 29 | 26.61% |
▷ Anonymous functions | 80 | 73.39% |
Constants | 34 | |
▷ Global constants | 11 | 32.35% |
▷ Class constants | 23 | 67.65% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icone.png | 1.75KB | 1.17KB | ▼ 33.18% |