67% ultimate-bulk-seo-noindex-nofollow

Code Review | ultimate-bulk-seo-noindex-nofollow

WordPress plugin ultimate-bulk-seo-noindex-nofollow scored 67% from 54 tests.

About plugin

  • Plugin page: ultimate-bulk-seo...
  • Plugin version: 1.0.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.7
  • WordPress version: 5.9.2
  • First release: Apr 4, 2019
  • Latest release: Mar 26, 2021
  • Number of updates: 15
  • Update frequency: every 48.3 days
  • Top authors: johnc1979 (100%)

Code review

54 tests

User reviews

30 reviews

Install metrics

1,000+ active / 7,848 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲4.05MB] [CPU: ▼277.21ms] 75% from 4 tests

Server-side resources used by ultimate-bulk-seo-noindex-nofollow
It is recommended to improve the following
  • CPU: The total CPU usage must kept under 500.00ms (currently 1,073.24ms on /wp-admin/options-general.php?page=bseoni_bulk_noindex_-__speed_up_penalty_recovery)
PageMemory (MB)CPU Time (ms)
Home /8.18 ▲4.6670.52 ▲19.43
Dashboard /wp-admin8.20 ▲4.7957.17 ▲22.87
Posts /wp-admin/edit.php8.20 ▲4.5656.76 ▲19.04
Add New Post /wp-admin/post-new.php9.18 ▲2.2199.49 ▼1,160.58
Media Library /wp-admin/upload.php8.20 ▲4.8944.77 ▲13.28
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius8.2043.74
Bulk SEO Noindex /wp-admin/options-general.php?page=bseoni_bulk_noindex_-__speed_up_penalty_recovery8.201,073.24

Server storage [IO: ▲4.06MB] [DB: ▲0.01MB] Passed 3 tests

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 201 new files
Database: no new tables, 4 new options
New WordPress options
fs_active_plugins
fs_gdpr
fs_accounts
fs_debug_mode

Browser metrics Passed 4 tests

Checking browser requirements for ultimate-bulk-seo-noindex-nofollow
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,965 ▲24316.59 ▲0.978.98 ▲3.132.25 ▲0.08
Dashboard /wp-admin2,978 ▲1206.08 ▼0.10119.59 ▼17.87170.96 ▲8.97
Posts /wp-admin/edit.php2,834 ▲1433.27 ▲0.0465.33 ▲0.58158.33 ▲17.61
Add New Post /wp-admin/post-new.php1,724 ▼5517.59 ▼4.55441.50 ▲10.26161.96 ▲7.90
Media Library /wp-admin/upload.php1,784 ▲865.57 ▲0.04143.71 ▲0.79203.05 ▲10.67
Freemius Debug [v.2.3.2] /wp-admin/admin.php?page=freemius1,4392.5054.83110.70
Bulk SEO Noindex /wp-admin/options-general.php?page=bseoni_bulk_noindex_-__speed_up_penalty_recovery1,2982.6254.52181.30

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin cannot be uninstalled
    • > Notice in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/freemius/includes/class-freemius.php+8218
    Undefined property: stdClass::$plugins
  • This plugin did not uninstall successfully, leaving 4 options in the database
    • fs_gdpr
    • fs_active_plugins
    • fs_debug_mode
    • fs_accounts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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 fix the following
  • 3× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/admin/partials/bulk-seo-noindex-admin-display.php
    • > /wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/freemius/templates/ajax-loader.php
    • > /wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/public/partials/bulk-seo-noindex-public-display.php
  • 15× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
    • > PHP Fatal error
      Uncaught Error: Call to a member function get_slug() on null in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/freemius/templates/account/partials/addon.php:9
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/freemius/templates/account/partials/addon.php on line 6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/public/noindex-nofollow-head-injection.php:8
    • > PHP Notice
      Undefined variable: VARS in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/freemius/templates/account/partials/addon.php on line 8
    • > PHP Notice
      Trying to access array offset on value of type null in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/freemius/templates/account/partials/addon.php on line 8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/admin/bulk-seo-pages.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/admin/class-bulk-seo-noindex-admin.php:109
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/admin/posts-type-bulk-selector.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function freemius() in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/freemius/templates/partials/network-activation.php:6
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/ultimate-bulk-seo-noindex-nofollow/admin/page-type-bulk-selector.php:8

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
  • Donate link: Invalid URI found ("")
  • Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line ( === ultimate-bulk-seo-noindex-nofollow === )
You can take inspiration from this readme.txt

ultimate-bulk-seo-noindex-nofollow/bulk-seo-noindex.php 77% from 13 tests

The principal PHP file in "ultimate-bulk-seo-noindex-nofollow" v. 1.0.6 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Plugin Name: A shorter plugin name is better (currently 83 characters long instead of max. 70)
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Main file name: Name the main plugin file the same as the plugin slug ("ultimate-bulk-seo-noindex-nofollow.php" instead of "bulk-seo-noindex.php")

Code Analysis 97% from 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected46,210 lines of code in 152 files:
LanguageFilesBlank linesComment linesLines of code
PHP1227,28316,54830,474
PO File126,9608,45515,240
CSS132038287
JavaScript537113209

PHP code 50% from 2 tests

An overview of cyclomatic complexity and code structure
Please tend to the following items
  • Please reduce cyclomatic complexity of classes to less than 1000 (currently 2,772)
Cyclomatic complexity
Average complexity per logical line of code0.61
Average class complexity75.48
▷ Minimum class complexity1.00
▷ Maximum class complexity2,772.00
Average method complexity4.48
▷ Minimum method complexity1.00
▷ Maximum method complexity86.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes52
▷ Abstract classes23.85%
▷ Concrete classes5096.15%
▷ Final classes00.00%
Methods1,144
▷ Static methods17515.30%
▷ Public methods79969.84%
▷ Protected methods151.31%
▷ Private methods33028.85%
Functions153
▷ Named functions14997.39%
▷ Anonymous functions42.61%
Constants122
▷ Global constants9779.51%
▷ Class constants2520.49%
▷ Public constants25100.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
4 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/Yoast_Icon.png73.11KB20.34KB▼ 72.18%
freemius/assets/img/theme-icon.png10.97KB5.78KB▼ 47.37%
freemius/assets/img/ultimate-bulk-seo-noindex-nofollow-speed-up-penalty-recovery.png3.15KB2.85KB▼ 9.48%
freemius/assets/img/plugin-icon.png9.16KB5.26KB▼ 42.58%