83% seobot-monitor

Code Review | SEObot Monitor for Googlebot, Bingbot and search engine spiders

WordPress plugin SEObot Monitor for Googlebot, Bingbot and search engine spiders scored83%from 54 tests.

About plugin

  • Plugin page: seobot-monitor
  • Plugin version: 2.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8.2
  • WordPress version: 6.3.1
  • First release: Mar 29, 2021
  • Latest release: Aug 2, 2021
  • Number of updates: 9
  • Update frequency: every 14.4 days
  • Top authors: salonsoweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /612 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully

Server metrics [RAM: ▲0.05MB] [CPU: ▼5.19ms] Passed 4 tests

Analyzing server-side resources used by SEObot Monitor for Googlebot, Bingbot and search engine spiders
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0441.87 ▼4.03
Dashboard /wp-admin3.36 ▲0.0653.94 ▲0.50
Posts /wp-admin/edit.php3.41 ▲0.0651.10 ▲5.03
Add New Post /wp-admin/post-new.php5.94 ▲0.0589.72 ▼15.82
Media Library /wp-admin/upload.php3.28 ▲0.0637.07 ▼1.40
Seobot Monitor /wp-admin/tools.php?page=seobot_monitor3.2544.20

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

Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options
can_compress_scripts
seobot_monitor_bots_regex
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Checking browser requirements for SEObot Monitor for Googlebot, Bingbot and search engine spiders
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5814.77 ▲0.391.69 ▼0.2438.40 ▼1.75
Dashboard /wp-admin2,228 ▲284.85 ▼0.0397.48 ▼20.6435.71 ▼9.28
Posts /wp-admin/edit.php2,104 ▲222.02 ▼0.0036.13 ▼1.0534.06 ▲1.63
Add New Post /wp-admin/post-new.php1,529 ▼1617.53 ▼5.69631.51 ▼1.7881.08 ▲30.10
Media Library /wp-admin/upload.php1,401 ▲44.21 ▼0.04113.74 ▼5.0541.10 ▼9.18
Seobot Monitor /wp-admin/tools.php?page=seobot_monitor8902.0428.4145.23

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_recent-posts
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test

SRP 50% 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
The following issues need your attention
  • 2× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/seobot-monitor/admin/partials/seobot-monitor-admin-display.php:17
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seobot-monitor/admin/seobot-monitor-admin.php:26

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Tags: Please reduce the number of tags, currently 12 tag instead of maximum 10
Please take inspiration from this readme.txt

seobot-monitor/seobot-monitor.php 85% from 13 tests

The principal PHP file in "SEObot Monitor for Googlebot, Bingbot and search engine spiders" v. 2.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Description: Please don't use more than 140 characters for the plugin description (currently 148 characters long)

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 detected263 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code
PHP669148244
JavaScript11219

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.16
Average class complexity15.00
▷ Minimum class complexity15.00
▷ Maximum class complexity15.00
Average method complexity2.56
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods9
▷ Static methods9100.00%
▷ Public methods555.56%
▷ Protected methods00.00%
▷ Private methods444.44%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin