78% boldgrid-easy-seo

Code Review | BoldGrid Easy SEO - Simple and Effective SEO

WordPress plugin BoldGrid Easy SEO - Simple and Effective SEO scored78%from 54 tests.

About plugin

  • Plugin page: boldgrid-easy-seo
  • Plugin version: 1.6.13
  • PHP compatiblity: 5.3+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.3
  • WordPress version: 6.3.1
  • First release: Nov 22, 2017
  • Latest release: Aug 8, 2023
  • Number of updates: 59
  • Update frequency: every 35.4 days
  • Top authors: boldgrid (93.22%)rramo012 (5.08%)bwmarkle (3.39%)joemoto (3.39%)

Code review

54 tests

User reviews

3 reviews

Install metrics

80,000+ active /669,449 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.55MB] [CPU: ▲7.07ms] Passed 4 tests

This is a short check of server-side resources used by BoldGrid Easy SEO - Simple and Effective SEO
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.83 ▲0.3647.14 ▲9.01
Dashboard /wp-admin3.91 ▲0.5655.55 ▼3.64
Posts /wp-admin/edit.php4.02 ▲0.6657.66 ▲11.26
Add New Post /wp-admin/post-new.php6.62 ▲0.73102.85 ▲16.77
Media Library /wp-admin/upload.php3.83 ▲0.6045.55 ▲11.65

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

Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 119 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

A check of browser resources used by BoldGrid Easy SEO - Simple and Effective SEO
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲5714.34 ▼0.281.84 ▲0.2448.72 ▲10.36
Dashboard /wp-admin2,195 ▲185.63 ▼0.0390.47 ▲1.3040.79 ▲0.01
Posts /wp-admin/edit.php2,097 ▼31.99 ▲0.0339.66 ▲3.0135.43 ▼0.59
Add New Post /wp-admin/post-new.php7,874 ▲6,34625.94 ▲2.62916.47 ▲248.7352.23 ▲4.12
Media Library /wp-admin/upload.php1,400 ▲34.29 ▲0.0495.88 ▼8.9545.78 ▼4.84

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
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

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
Please fix the following
  • 19× GET requests to PHP files return non-empty strings (only 10 are shown):
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/manager.php
    • > /wp-content/plugins/boldgrid-easy-seo/assets/partials/control-keywords.php
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/nav.php
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/control.php
    • > /wp-content/plugins/boldgrid-easy-seo/assets/partials/control-bgseo-textarea.php
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/control-select-group.php
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/section.php
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/control-palette.php
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/control-parent.php
    • > /wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/tmpl/control-checkbox.php
  • 33× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/inc/controls/class-control-color.php:20
    • > PHP Fatal error
      Uncaught Error: Class 'ButterBean_Control_Radio' not found in wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/inc/controls/class-control-radio-image.php:20
    • > PHP Fatal error
      Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/inc/controls/class-control-datetime.php:24
    • > PHP Fatal error
      Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/boldgrid-easy-seo/includes/class-boldgrid-seo-control-keywords.php:18
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/butterbean.php:19
    • > PHP Fatal error
      Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/inc/controls/class-control-image.php:20
    • > PHP Fatal error
      Uncaught Error: Call to undefined function wp_normalize_path() in wp-content/plugins/boldgrid-easy-seo/includes/configs/base.config.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/boldgrid-easy-seo/includes/configs/i18n/noFollow.config.php:4
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/boldgrid-easy-seo/includes/configs/i18n/seoDescription.config.php:5
    • > PHP Fatal error
      Uncaught Error: Class 'ButterBean_Control' not found in wp-content/plugins/boldgrid-easy-seo/includes/lib/butterbean/inc/controls/class-control-radio.php:19

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 96% 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
5 plugin tags: search engine optimization, boldgrid, content analysis, readability, seo

boldgrid-easy-seo/boldgrid-easy-seo.php 92% from 13 tests

The primary PHP file in "BoldGrid Easy SEO - Simple and Effective SEO" version 1.6.13 is used by WordPress to initiate all plugin functionality
The following require your attention:
  • Text Domain: The text domain must be the same as the plugin slug, although 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 plugin7,379 lines of code in 113 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript271,2213,0383,807
PHP768493,1762,724
Markdown61350425
CSS48723423

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.41
Average class complexity11.09
▷ Minimum class complexity1.00
▷ Maximum class complexity69.00
Average method complexity2.73
▷ Minimum method complexity1.00
▷ Maximum method complexity50.00
Code structure
Namespaces0
Interfaces1
Traits0
Classes34
▷ Abstract classes00.00%
▷ Concrete classes34100.00%
▷ Final classes12.94%
Methods204
▷ Static methods31.47%
▷ Public methods19495.10%
▷ Protected methods20.98%
▷ Private methods83.92%
Functions20
▷ Named functions1680.00%
▷ Anonymous functions420.00%
Constants3
▷ Global constants3100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin