Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲1.32MB] [CPU: ▲6.53ms] Passed 4 tests
An overview of server-side resources used by Marketing Optimizer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.73 ▲1.27 | 52.74 ▲13.25 |
Dashboard /wp-admin | 4.65 ▲1.30 | 55.63 ▼6.91 |
Posts /wp-admin/edit.php | 4.70 ▲1.35 | 62.91 ▲16.15 |
Add New Post /wp-admin/post-new.php | 7.25 ▲1.36 | 102.20 ▲3.99 |
Media Library /wp-admin/upload.php | 4.57 ▲1.34 | 51.23 ▲15.79 |
Categories /wp-admin/edit-tags.php?taxonomy=mo_sp_category&post_type=mo_sp | 4.57 | 49.14 |
Categories /wp-admin/edit-tags.php?taxonomy=mo_ct_category&post_type=mo_ct | 4.57 | 44.96 |
Add New /wp-admin/post-new.php?post_type=mo_sp | 4.69 | 56.08 |
Pop-Ups /wp-admin/edit.php?post_type=mo_sp | 4.64 | 49.18 |
Add New /wp-admin/post-new.php?post_type=mo_landing_page | 4.75 | 63.00 |
Maketing Optimizer for Wordpress /wp-admin/options-general.php?page=settings-sub-menu | 4.60 | 48.26 |
Add New /wp-admin/post-new.php?post_type=mo_ct | 4.69 | 59.40 |
Calls-To-Action /wp-admin/edit.php?post_type=mo_ct | 4.64 | 46.38 |
Categories /wp-admin/edit-tags.php?taxonomy=mo_landing_page_category&post_type=mo_landing_page | 4.57 | 45.59 |
Landing Pages /wp-admin/edit.php?post_type=mo_landing_page | 4.64 | 47.63 |
Server storage [IO: ▲14.32MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 653 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
mo_account_id |
can_compress_scripts |
widget_mo_cta_widget |
marketing-optimizer_settings |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Marketing Optimizer
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,126 ▲380 | 14.72 ▲0.13 | 7.07 ▲5.44 | 35.95 ▼3.12 |
Dashboard /wp-admin | 2,398 ▲210 | 5.44 ▲0.54 | 100.52 ▼16.44 | 88.25 ▲41.06 |
Posts /wp-admin/edit.php | 2,308 ▲219 | 2.77 ▲0.72 | 43.65 ▲3.45 | 51.84 ▲12.37 |
Add New Post /wp-admin/post-new.php | 1,862 ▲320 | 22.81 ▲4.48 | 665.48 ▲26.82 | 37.83 ▼17.12 |
Media Library /wp-admin/upload.php | 1,590 ▲199 | 4.65 ▲0.40 | 98.29 ▲0.32 | 86.54 ▲41.33 |
Categories /wp-admin/edit-tags.php?taxonomy=mo_sp_category&post_type=mo_sp | 1,478 | 2.39 | 31.93 | 51.73 |
Categories /wp-admin/edit-tags.php?taxonomy=mo_ct_category&post_type=mo_ct | 1,476 | 2.42 | 31.17 | 59.36 |
Add New /wp-admin/post-new.php?post_type=mo_sp | 3,072 | 7.85 | 182.44 | 118.05 |
Pop-Ups /wp-admin/edit.php?post_type=mo_sp | 1,373 | 2.73 | 36.87 | 61.16 |
Add New /wp-admin/post-new.php?post_type=mo_landing_page | 2,988 | 7.71 | 170.38 | 109.21 |
Maketing Optimizer for Wordpress /wp-admin/options-general.php?page=settings-sub-menu | 1,700 | 2.82 | 37.55 | 63.66 |
Add New /wp-admin/post-new.php?post_type=mo_ct | 3,009 | 7.77 | 174.92 | 113.46 |
Calls-To-Action /wp-admin/edit.php?post_type=mo_ct | 1,332 | 2.76 | 35.49 | 30.90 |
Categories /wp-admin/edit-tags.php?taxonomy=mo_landing_page_category&post_type=mo_landing_page | 1,478 | 2.38 | 31.39 | 47.52 |
Landing Pages /wp-admin/edit.php?post_type=mo_landing_page | 1,373 | 2.79 | 37.33 | 51.02 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_mo_cta_widget
- widget_recent-comments
- mo_account_id
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
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=mo_ct
- > Notice in wp-content/plugins/marketing-optimizer/includes/class.mo_metaboxes.php+296
Undefined variable: theme_template
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 29× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/marketing-optimizer/templates/mo_lp_form_min/mo_lp_form_min.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_ct_advertisement5/mo_ct_advertisement5.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_ct_advertisement4/mo_ct_advertisement4.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_ct_advertisement6/mo_ct_advertisement6.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_sp_newsletter/mo_sp_newsletter.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_lp_form3/mo_lp_form3.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_sp_custom3/mo_sp_custom3.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_lp_form4/mo_lp_form4.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_ct_advertisement1/mo_ct_advertisement1.php
- > /wp-content/plugins/marketing-optimizer/templates/mo_ct_advertisement8/mo_ct_advertisement8.php
- 70× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'mo_api' not found in wp-content/plugins/marketing-optimizer/includes/api/class.mo_api_campaigns.php:3
- > PHP Fatal error
Uncaught Error: Class 'mo_metaboxes' not found in wp-content/plugins/marketing-optimizer/includes/class.mo_ct_metaboxes.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-optimizer/includes/class.mo.ct.widget.php:6
- > PHP Fatal error
Uncaught Error: Class 'mo_api' not found in wp-content/plugins/marketing-optimizer/includes/api/class.mo_api_accounts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/marketing-optimizer/templates/mo_sp_custom2/template.php:7
- > PHP Fatal error
Uncaught Error: Class 'mo_plugin' not found in wp-content/plugins/marketing-optimizer/admin/mo-templates-settings.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/marketing-optimizer/templates/mo_ct_newsletter/template.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/marketing-optimizer/templates/mo_sp_custom6/template.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/marketing-optimizer/templates/mo_ct_advertisement3/template.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function bloginfo() in wp-content/plugins/marketing-optimizer/templates/mo_lp_form2/template.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 29 tag instead of maximum 10
- Donate link: Invalid url: ""
marketing-optimizer/marketing-optimizer.php 92% from 13 tests
The main PHP script in "Marketing Optimizer" version 20200925... is automatically included on every request by WordPress
Please take the time to fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "20200925...")
Code Analysis Passed 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
No dangerous file extensions were detected24,413 lines of code in 171 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 37 | 659 | 186 | 10,895 |
PHP | 105 | 1,213 | 593 | 9,320 |
JavaScript | 27 | 1,317 | 752 | 3,609 |
SVG | 2 | 0 | 0 | 589 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 20.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 149.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 497 | |
▷ Static methods | 9 | 1.81% |
▷ Public methods | 497 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 10 | 71.43% |
▷ Class constants | 4 | 28.57% |
▷ Public constants | 4 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
193 PNG files occupy 6.84MB with 3.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
templates/mo_lp_form_min/images/wordpress-logo-simplified-rgb.png | 23.61KB | 14.30KB | ▼ 39.44% |
templates/mo_lp_form2/images/tick.png | 2.93KB | 0.31KB | ▼ 89.29% |
templates/mo_ct_advertisement2/preview.png | 7.58KB | 3.73KB | ▼ 50.85% |
templates/mo_sp_blog/images/marketing-optimizer-logo_300x36.png | 10.26KB | 3.80KB | ▼ 63.02% |
admin/css/images/fancy_title_right.png | 0.49KB | 0.82KB | 0.00% |