89% dokan-vendor-info-hider

Code Review | Dokan Vendor Info Hider - Hide Vendor info from Store-list and store page

WordPress plugin Dokan Vendor Info Hider - Hide Vendor info from Store-list and store page scored89%from 54 tests.

About plugin

  • Plugin page: dokan-vendor-info...
  • Plugin version: 1.0.7
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-5.8.1
  • WordPress version: 6.3.1
  • First release: May 24, 2018
  • Latest release: Oct 13, 2021
  • Number of updates: 19
  • Update frequency: every 65.2 days
  • Top authors: cscode (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

300+ active /7,263 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼5.49ms] Passed 4 tests

A check of server-side resources used by Dokan Vendor Info Hider - Hide Vendor info from Store-list and store page
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0244.64 ▲4.21
Dashboard /wp-admin3.32 ▼0.0250.79 ▼10.25
Posts /wp-admin/edit.php3.37 ▲0.0251.12 ▲0.05
Add New Post /wp-admin/post-new.php5.90 ▲0.0292.65 ▼13.14
Media Library /wp-admin/upload.php3.25 ▲0.0237.51 ▲1.40

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Dokan Vendor Info Hider - Hide Vendor info from Store-list and store page
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,806 ▲4514.35 ▼0.201.65 ▼0.0342.08 ▼0.77
Dashboard /wp-admin2,212 ▲325.55 ▼0.1289.33 ▲0.9442.70 ▼2.67
Posts /wp-admin/edit.php2,118 ▲182.12 ▲0.1141.86 ▲4.1044.84 ▲8.44
Add New Post /wp-admin/post-new.php1,538 ▲1023.29 ▲0.28660.84 ▼10.2452.75 ▼1.51
Media Library /wp-admin/upload.php1,414 ▲114.28 ▲0.05107.14 ▲6.4249.86 ▲6.10

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • can_compress_scripts

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

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that require attention: The official readme.txt might help

dokan-vendor-info-hider/dokan-vendor-info-hider.php 85% from 13 tests

The entry point to "Dokan Vendor Info Hider - Hide Vendor info from Store-list and store page" version 1.0.7 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Domain Path: The domain path is invalid: folder "/languages" does not exist

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin92 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP2273392

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected