84% go-live-url-update

Code Review | Go Live URL Update

WordPress plugin Go Live URL Update scored84%from 54 tests.

About plugin

  • Plugin page: go-live-url-update
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-4.6
  • WordPress version: 6.3.1
  • First release: Aug 27, 2016
  • Latest release: Aug 27, 2016
  • Number of updates: 2
  • Update frequency: every 4.0 days
  • Top authors: mafia99 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

40+ active /1,471 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.03MB] [CPU: ▼2.52ms] Passed 4 tests

Server-side resources used by Go Live URL Update
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.13 ▼0.63
Dashboard /wp-admin3.34 ▲0.0444.07 ▼8.00
Posts /wp-admin/edit.php3.39 ▲0.0445.09 ▼0.48
Add New Post /wp-admin/post-new.php5.92 ▲0.0489.52 ▼0.98
Media Library /wp-admin/upload.php3.26 ▲0.0435.81 ▲2.53

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
theysaidso_admin_options
db_upgraded
widget_recent-posts
widget_recent-comments

Browser metrics Passed 4 tests

Go Live URL Update: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲6913.69 ▼0.684.65 ▲2.8944.15 ▲0.34
Dashboard /wp-admin2,207 ▲195.83 ▲0.8994.05 ▼24.1339.55 ▼6.76
Posts /wp-admin/edit.php2,093 ▲41.98 ▼0.0533.17 ▼2.1535.55 ▲2.64
Add New Post /wp-admin/post-new.php1,539 ▼323.01 ▲4.63595.83 ▼3.5854.01 ▲3.48
Media Library /wp-admin/upload.php1,389 ▲14.19 ▼0.0295.95 ▲3.1541.06 ▼0.76
URL Update /wp-admin/go-live-url-update.php260.440.0820.21

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments

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
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
    • > GET request to /wp-admin/go-live-url-update.php
    • > Network (severe)
    wp-admin/go-live-url-update.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Tags: You are using too many tags: 18 tag instead of maximum 10
The official readme.txt might help

go-live-url-update/go-live-url-update.php 92% from 13 tests

The main PHP file in "Go Live URL Update" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 279 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected370 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1925257
PO File14559113

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.49
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%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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
No PNG images were found in this plugin