Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼6.33ms] Passed 4 tests
Server-side resources used by Marketing Automation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.50 | 36.90 ▲0.66 |
Dashboard /wp-admin | 3.81 ▲0.46 | 47.60 ▼15.51 |
Posts /wp-admin/edit.php | 3.86 ▲0.50 | 45.94 ▼0.28 |
Add New Post /wp-admin/post-new.php | 5.87 ▼0.02 | 74.49 ▼10.17 |
Media Library /wp-admin/upload.php | 3.67 ▲0.44 | 39.43 ▲1.94 |
Vbout Schedule /wp-admin/admin.php?page=vbout-schedule | 3.62 | 28.41 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 57 new files
Database: no new tables, 38 new options
New WordPress options |
---|
vbout_sm_activated |
vbout_sync_exclude_listid |
vbout_em_emailsubject |
vbout_em_forms |
vbout_sm_channels |
vbout_em_fromname |
widget_recent-comments |
can_compress_scripts |
vbout_sync_emaillist |
vbout_tracking_domains |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Marketing Automation
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,984 ▲223 | 14.16 ▼0.22 | 14.11 ▲12.63 | 38.43 ▲1.88 |
Dashboard /wp-admin | 2,251 ▲74 | 5.25 ▼0.37 | 95.44 ▲12.69 | 71.34 ▲31.06 |
Posts /wp-admin/edit.php | 2,172 ▲72 | 2.24 ▲0.27 | 45.96 ▲11.47 | 38.85 ▲3.17 |
Add New Post /wp-admin/post-new.php | 2,253 ▲727 | 24.03 ▲0.85 | 647.76 ▼36.64 | 52.34 ▼1.91 |
Media Library /wp-admin/upload.php | 1,462 ▲62 | 4.82 ▲0.65 | 105.31 ▼7.12 | 72.85 ▲21.92 |
Vbout Schedule /wp-admin/admin.php?page=vbout-schedule | 2,323 | 9.08 | 171.13 | 129.05 |
Uninstaller [IO: ▲0.36MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attentionThis plugin did not uninstall successfully, leaving 38 options in the database
- Uninstaller has failed for this plugin, leaving 57 files (0.36MB) in the plugin directory
- (new file) includes/Vbout.php
- (new file) css/vboutwp.css
- (new file) js/chosen-sprite@2x.png
- (new file) images/tooltip-icon.png
- (new file) includes/vbout_box.php
- (new file) images/wp-logo.png
- (new file) images/wp-logo-v.png
- (new file) js/chosen-sprite.png
- (new file) images/loading.gif
- (new file) images/eye.png
- ...
- vbout_em_fromemail
- vbout_authtoken
- vbout_em_fromname
- vbout_sm_activated
- vbout_status
- vbout_em_emailsubject
- vbout_em_lists
- vbout_api_status_checksum
- vbout_tracking_activated
- widget_recent-posts
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vbout-schedule
- > Notice in wp-content/plugins/marketing-automation/vbout-src/base/Vbout.php+168
Array to string conversion
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vbout-schedule
- > Notice in wp-content/plugins/marketing-automation/includes/vbout_box.php+63
Trying to get property 'post_title' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vbout-schedule
- > Notice in wp-content/plugins/marketing-automation/includes/vbout_box.php+751
Trying to get property 'post_content' of non-object
SRP 0% 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
- 18× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/marketing-automation/templates/settings_form/text.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/header.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/paragraph.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/raw.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/vbout_classic_form.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/slider.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/dropdown.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/form.html.php
- > /wp-content/plugins/marketing-automation/templates/form_objects/textarea.html.php
- > /wp-content/plugins/marketing-automation/templates/settings_form/form.html.php
- 95× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/marketing-automation/templates/form_objects/compare.php on line 129
- > PHP Notice
Undefined variable: hidden_fields in wp-content/plugins/marketing-automation/templates/form_objects/form.html.php on line 16
- > PHP Notice
Undefined variable: input_fields in wp-content/plugins/marketing-automation/templates/settings_form/form.html.php on line 21
- > PHP Notice
Undefined variable: key in wp-content/plugins/marketing-automation/templates/form_objects/textarea.html.php on line 6
- > PHP Notice
Undefined variable: name in wp-content/plugins/marketing-automation/templates/form_objects/dropdown.html.php on line 3
- > PHP Notice
Undefined variable: sliderId in wp-content/plugins/marketing-automation/templates/form_objects/slider.html.php on line 4
- > PHP Notice
Undefined variable: key in wp-content/plugins/marketing-automation/templates/settings_form/dropdown.html.php on line 3
- > PHP Notice
Undefined variable: key in wp-content/plugins/marketing-automation/templates/form_objects/radio.html.php on line 3
- > PHP Notice
Undefined variable: form in wp-content/plugins/marketing-automation/templates/form_objects/vbout_classic_form.html.php on line 67
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/marketing-automation/templates/form_objects/tabs.html.php on line 10
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 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
3 plugin tags: vbout, marketing, automation
marketing-automation/vboutwp.php 92% from 13 tests
Analyzing the main PHP file in "Marketing Automation" version 1.2.6.7
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("marketing-automation.php" instead of "vboutwp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected4,829 lines of code in 38 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 28 | 918 | 656 | 4,144 |
JavaScript | 7 | 112 | 44 | 458 |
CSS | 3 | 33 | 10 | 227 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 50.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 279.00 |
Average method complexity | 4.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 55 | 53.40% |
▷ Public methods | 95 | 92.23% |
▷ Protected methods | 6 | 5.83% |
▷ Private methods | 2 | 1.94% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 16 | |
▷ Global constants | 2 | 12.50% |
▷ Class constants | 14 | 87.50% |
▷ Public constants | 14 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
6 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/tooltip-icon.png | 1.34KB | 0.37KB | ▼ 72.13% |
images/eye.png | 1.36KB | 0.63KB | ▼ 53.92% |
js/chosen-sprite@2x.png | 0.72KB | 0.83KB | 0.00% |
images/wp-logo-v.png | 1.47KB | 0.63KB | ▼ 57.30% |
images/wp-logo.png | 0.84KB | 0.92KB | 0.00% |