89% seohide

Code Review | SeoHide

WordPress plugin SeoHide scored 89% from 54 tests.

About plugin

  • Plugin page: seohide
  • Plugin version: 1.4.0
  • PHP compatiblity: 5.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 1.3.7-5.2.3
  • WordPress version: 5.8.1
  • First release: Jan 8, 2015
  • Latest release: Mar 24, 2020
  • Number of updates: 37
  • Update frequency: every 51.4 days
  • Top authors: vovasik (100%)

Code review

54 tests

User reviews

1 review

Install metrics

200+ active / 1,202 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: ▼1.19MB] [CPU: ▼184.67ms] Passed 4 tests

This is a short check of server-side resources used by SeoHide
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.44 ▼0.407.20 ▼29.87
Dashboard /wp-admin2.46 ▼0.608.96 ▼31.63
Posts /wp-admin/edit.php2.46 ▼0.657.94 ▼37.79
Add New Post /wp-admin/post-new.php2.46 ▼2.987.08 ▼639.07
Media Library /wp-admin/upload.php2.46 ▼0.547.89 ▼30.17

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

Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

SeoHide: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,810 ▲21416.28 ▲0.7213.62 ▲4.9047.29 ▲1.12
Dashboard /wp-admin2,989 ▲586.00 ▼0.08132.84 ▼16.35118.46 ▲3.90
Posts /wp-admin/edit.php2,739 ▼02.71 ▼0.0060.53 ▼6.0296.16 ▲5.89
Add New Post /wp-admin/post-new.php1,679 ▼418.87 ▲0.51358.14 ▼4.99107.29 ▲0.93
Media Library /wp-admin/upload.php1,807 ▼05.07 ▲0.05145.79 ▼9.82113.18 ▼11.47

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
  • This plugin did not uninstall without warnings or errors
    • > Deprecated in wp-content/plugins/seohide/includes/idna_convert.class.php+421
    Array and string offset access syntax with curly braces is deprecated

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
8 plugin tags: yandex, seo, nofollow links, hidde links, seohide...

seohide/vp-hidden-seo.php 77% from 13 tests

"SeoHide" version 1.4.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("seohide.php" instead of "vp-hidden-seo.php")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin2,004 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP41543591,704
JavaScript7237179
JSON10046
LESS212043
PO File15530
CSS2002

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.47
Average class complexity63.50
▷ Minimum class complexity2.00
▷ Maximum class complexity211.00
Average method complexity5.79
▷ Minimum method complexity1.00
▷ Maximum method complexity33.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods54
▷ Static methods11.85%
▷ Public methods3666.67%
▷ Protected methods1731.48%
▷ Private methods11.85%
Functions6
▷ Named functions233.33%
▷ Anonymous functions466.67%
Constants0
▷ Global constants00.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
2 PNG files occupy 0.13MB with 0.07MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-2.png84.03KB34.08KB▼ 59.44%
screenshot-1.png47.79KB22.65KB▼ 52.62%