90% very-simple-meta-description

Code Review | VS Meta Description

WordPress plugin VS Meta Description scored90%from 54 tests.

About plugin

  • Plugin page: very-simple-meta-...
  • Plugin version: 7.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Mar 20, 2014
  • Latest release: Oct 11, 2023
  • Number of updates: 190
  • Update frequency: every 18.4 days
  • Top authors: Guido07111975 (100%)

Code review

54 tests

User reviews

13 reviews

Install metrics

4,000+ active /104,021 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.06MB] [CPU: ▼6.43ms] Passed 4 tests

Analyzing server-side resources used by VS Meta Description
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0842.62 ▲2.76
Dashboard /wp-admin3.38 ▲0.0346.40 ▼11.25
Posts /wp-admin/edit.php3.43 ▲0.0747.72 ▼2.63
Add New Post /wp-admin/post-new.php5.96 ▲0.0781.52 ▼13.22
Media Library /wp-admin/upload.php3.30 ▲0.0736.79 ▲1.39
Meta description /wp-admin/options-general.php?page=vsmd3.2733.64

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts
theysaidso_admin_options
widget_recent-comments

Browser metrics Passed 4 tests

A check of browser resources used by VS Meta Description
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲5714.35 ▲0.001.88 ▲0.3144.38 ▲6.16
Dashboard /wp-admin2,199 ▲255.63 ▼0.0483.39 ▼1.7337.57 ▼6.84
Posts /wp-admin/edit.php2,101 ▲11.96 ▼0.0434.80 ▼2.0532.66 ▼2.45
Add New Post /wp-admin/post-new.php1,532 ▲623.42 ▲0.31603.53 ▼63.3764.06 ▲4.32
Media Library /wp-admin/upload.php1,401 ▲14.17 ▼0.03101.80 ▲2.4942.31 ▼1.79
Meta description /wp-admin/options-general.php?page=vsmd8962.0023.4927.73

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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 SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: seo, simple, meta description, google, bing

very-simple-meta-description/vsmd.php 92% from 13 tests

The main PHP script in "VS Meta Description" version 7.2 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Main file name: It is recommended to name the main PHP file as the plugin slug ("very-simple-meta-description.php" instead of "vsmd.php")

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
No dangerous file extensions were detected221 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP33446221

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.34
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%
Functions19
▷ Named functions19100.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
PNG images were not found in this plugin