83% velvet-blues-update-urls

Code Review | Velvet Blues Update URLs

WordPress plugin Velvet Blues Update URLs scored 83% from 54 tests.

About plugin

  • Plugin page: velvet-blues-upda...
  • Plugin version: 3.2.10
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-5.5.1
  • WordPress version: 6.3.1
  • First release: Oct 9, 2008
  • Latest release: Oct 18, 2020
  • Number of updates: 120
  • Update frequency: every 36.6 days
  • Top authors: VelvetBlues.com (95.83%)justingreerbbi (5%)

Code review

54 tests

User reviews

259 reviews

Install metrics

300,000+ active / 3,210,980 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
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.08MB] [CPU: ▼5.71ms] Passed 4 tests

A check of server-side resources used by Velvet Blues Update URLs
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0542.33 ▼7.95
Dashboard /wp-admin3.40 ▲0.0954.93 ▼4.47
Posts /wp-admin/edit.php3.45 ▲0.0958.10 ▲2.74
Add New Post /wp-admin/post-new.php5.98 ▲0.0995.56 ▼7.15
Media Library /wp-admin/upload.php3.32 ▲0.0937.05 ▼3.25

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

Velvet Blues Update URLs: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,804 ▲5814.73 ▲0.401.74 ▼0.3745.39 ▼5.55
Dashboard /wp-admin2,207 ▲195.85 ▲0.76107.63 ▼5.9345.01 ▼8.62
Posts /wp-admin/edit.php2,096 ▲42.01 ▲0.0140.34 ▼6.3838.50 ▼0.20
Add New Post /wp-admin/post-new.php1,536 ▲321.26 ▼1.98689.51 ▼14.7350.96 ▼5.19
Media Library /wp-admin/upload.php1,395 ▲74.19 ▲0.02107.63 ▼10.4147.86 ▼1.29
Update URLs /wp-admin/velvet-blues-update-urls.php260.440.0915.39

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 does not fully uninstall, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP Passed 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
    • > GET request to /wp-admin/velvet-blues-update-urls.php
    • > Network (severe)
    wp-admin/velvet-blues-update-urls.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 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
These attributes need to be fixed:
  • Tags: Please delete some tags, you are using 21 tag instead of maximum 10
  • Screenshots: Screenshot #1 (The Admin screen for the plugin. screenshot-1.png) image not found
You can take inspiration from this readme.txt

velvet-blues-update-urls/velvet-blues-update-urls.php 92% from 13 tests

The main PHP script in "Velvet Blues Update URLs" version 3.2.10 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
  • Description: The description should be shorter than 140 characters (currently 280 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin532 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP1824276
PO File297198256

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.47
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
1 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png10.70KB9.84KB▼ 8.02%