79% check-search-engine-visibility-on-migration

Code Review | Check Search Engine Visibility on Migration

WordPress plugin Check Search Engine Visibility on Migration scored79%from 54 tests.

About plugin

  • Plugin page: check-search-engi...
  • Plugin version: 0.2.5
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-6.4
  • WordPress version: 6.3.1
  • First release: Dec 3, 2013
  • Latest release: Oct 26, 2023
  • Number of updates: 16
  • Update frequency: every 225.9 days
  • Top authors: rhyswynne (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,892 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.01MB] [CPU: ▼4.15ms] Passed 4 tests

Server-side resources used by Check Search Engine Visibility on Migration
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0035.97 ▼3.18
Dashboard /wp-admin3.31 ▲0.0142.14 ▼4.57
Posts /wp-admin/edit.php3.36 ▲0.0145.97 ▲0.96
Add New Post /wp-admin/post-new.php5.89 ▲0.0179.62 ▼9.79
Media Library /wp-admin/upload.php3.23 ▲0.0136.19 ▲4.45
Check/Set Domain Visibility /wp-admin/options-general.php?page=csevomoptions3.2029.92

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Check Search Engine Visibility on Migration
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,795 ▲914.42 ▲0.061.61 ▼0.1141.06 ▼3.03
Dashboard /wp-admin2,198 ▲245.51 ▼0.0789.66 ▲5.4138.66 ▲0.56
Posts /wp-admin/edit.php2,103 ▲32.00 ▼0.0239.14 ▲5.8835.84 ▼1.61
Add New Post /wp-admin/post-new.php1,533 ▲523.10 ▲0.08657.54 ▼39.9466.08 ▼1.09
Media Library /wp-admin/upload.php1,403 ▲64.20 ▼0.0898.18 ▼1.0942.27 ▼2.91
Check/Set Domain Visibility /wp-admin/options-general.php?page=csevomoptions1,2267.64206.4582.41

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • 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
Even though everything seems fine, this is not 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
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/check-search-engine-visibility-on-migration/check-search-engine-visibility-on-migration.php:13

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/options-general.php?page=csevomoptions
    • > Network (severe)
    http://platform.stumbleupon.com/1/widgets.js - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
    • > GET request to /wp-admin/options-general.php?page=csevomoptions
    • > Javascript (severe) in unknown
    https://button.buffer.com/button/?id=7492047d3dab0363&url=http%3A%2F%2Fwinwar.co.uk%2Fplugins%2Fcheck-search-engine-visibility-migration%2F&text=Just%20been%20using%20Check%20Search%20Engine%20Visibility%20on%20Migration%20%23WordPress%20plugin&via=rhyswynne&count=horizontal&placement=button&utm_source=http%3A%2F%2Fwp.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dcsevomoptions&utm_medium=buffer_button&utm_campaign=buffer 15:647 Uncaught TypeError: Cannot set properties of null (setting 'onclick')
    • > GET request to /wp-admin/options-general.php?page=csevomoptions
    • > Other (severe) in unknown
    chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: blog visibility, robotstxt, search engines, visibility, seo...

check-search-engine-visibility-on-migration/check-search-engine-visibility-on-migration.php Passed 13 tests

Analyzing the main PHP file in "Check Search Engine Visibility on Migration" version 0.2.5
140 characters long description:
Checks if a site has been migrated and if it's inivisible to search engines. If so, then the site warns you on this and notifies you to act.

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
Success! There were no dangerous files found in this plugin321 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP15713211
CSS1140110

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.11
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions5100.00%
▷ Anonymous functions00.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected