79% marketing-and-seo-booster

Code Review | Marketing and SEO Booster

WordPress plugin Marketing and SEO Booster scored79%from 54 tests.

About plugin

  • Plugin page: marketing-and-seo...
  • Plugin version: 1.9.10
  • PHP compatiblity: 7.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-6.2
  • WordPress version: 6.3.1
  • First release: Nov 7, 2019
  • Latest release: Apr 27, 2023
  • Number of updates: 241
  • Update frequency: every 5.3 days
  • Top authors: dale668 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /11,660 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.18MB] [CPU: ▼2.43ms] Passed 4 tests

This is a short check of server-side resources used by Marketing and SEO Booster
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.61 ▲0.1450.30 ▲8.59
Dashboard /wp-admin3.54 ▲0.2461.90 ▲1.35
Posts /wp-admin/edit.php3.59 ▲0.2361.87 ▲9.82
Add New Post /wp-admin/post-new.php6.06 ▲0.1889.49 ▼29.46
Media Library /wp-admin/upload.php3.38 ▲0.1546.78 ▲10.95
Lazy Load /wp-admin/admin.php?page=masb-lazy-load-options3.3742.36
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=portfolio3.4045.12
Add New /wp-admin/post-new.php?post_type=portfolio3.6063.03
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio3.4044.70
Portfolio /wp-admin/edit.php?post_type=portfolio3.5247.50
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-portfolio&post_type=portfolio3.4042.05
Analytics Codes /wp-admin/admin.php?page=analytics_codes3.3741.61
Marketing /wp-admin/admin.php?page=marketing-options3.3740.07
ABC split test /wp-admin/admin.php?page=abc-split3.3941.03
SEO Titles /wp-admin/admin.php?page=masb-seo-titles3.3943.11

Server storage [IO: ▲3.55MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

An overview of browser requirements for Marketing and SEO Booster
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,061 ▲30014.74 ▲0.211.87 ▲0.0142.03 ▲0.88
Dashboard /wp-admin2,449 ▲2756.43 ▲0.77108.22 ▲18.6035.49 ▼11.05
Posts /wp-admin/edit.php2,391 ▲2943.55 ▲1.5351.69 ▲16.3935.12 ▲2.43
Add New Post /wp-admin/post-new.php6,537 ▲5,01127.92 ▲4.69849.62 ▲173.3938.01 ▼27.28
Media Library /wp-admin/upload.php1,530 ▲1304.41 ▲0.2883.11 ▼17.5743.52 ▼4.39
Lazy Load /wp-admin/admin.php?page=masb-lazy-load-options1,1865.5963.2225.40
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=portfolio1,6133.4642.8630.13
Add New /wp-admin/post-new.php?post_type=portfolio3,0118.25182.1270.79
Portfolio Tags /wp-admin/edit-tags.php?taxonomy=portfolio_tag&post_type=portfolio1,5373.3446.6131.51
Portfolio /wp-admin/edit.php?post_type=portfolio1,4493.5049.6032.51
Portfolio Categories /wp-admin/edit-tags.php?taxonomy=portfolio-portfolio&post_type=portfolio1,5683.5046.9030.73
Analytics Codes /wp-admin/admin.php?page=analytics_codes1,2785.9778.5734.49
Marketing /wp-admin/admin.php?page=marketing-options1,2523.2244.7042.98
ABC split test /wp-admin/admin.php?page=abc-split1,2453.5441.8728.05
SEO Titles /wp-admin/admin.php?page=masb-seo-titles1,5433.5245.9833.37

Uninstaller [IO: ▲2.48MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 11× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/sl-icons-manager.php:653
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/page_option.php:13
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/sidebars.php:16
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/analytics_codes.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/modal_windows.php:15
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/topbar_page_options.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/marketing-and-seo-booster/modules/post-types.php:12
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/abc_split.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/seo_titles.php:2995
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/marketing-and-seo-booster/modules/composer_widget.php:13

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/admin.php?page=masb-seo-titles
    • > Network (severe)
    wp-content/themes/twentytwentyone/inc/welcome.css?ver=3.03 - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration Passed 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
6 plugin tags: analytics codes, seo titles, lazy load, marketing booster, icons fonts manager...

marketing-and-seo-booster/marketing-and-seo-booster.php Passed 13 tests

The primary PHP file in "Marketing and SEO Booster" version 1.9.10 is used by WordPress to initiate all plugin functionality
137 characters long description:
Marketing and SEO booster: marketing booster, SEO titles, lazy-load, A|B test, analytics codes, icons fonts manager, portfolio post types

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
Good job! No executable or dangerous file extensions detected9,714 lines of code in 28 files:
LanguageFilesBlank linesComment linesLines of code
PHP151,0928686,006
JavaScript82211951,948
CSS3217191,166
PO File1245275585
Markdown1109

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity42.62
▷ Minimum class complexity3.00
▷ Maximum class complexity153.00
Average method complexity4.25
▷ Minimum method complexity1.00
▷ Maximum method complexity47.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes16
▷ Abstract classes00.00%
▷ Concrete classes16100.00%
▷ Final classes00.00%
Methods199
▷ Static methods2512.56%
▷ Public methods14371.86%
▷ Protected methods10.50%
▷ Private methods5527.64%
Functions62
▷ Named functions6198.39%
▷ Anonymous functions11.61%
Constants3
▷ Global constants266.67%
▷ Class constants133.33%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin