100% use-hashtags

Code Review | Use Hashtags – convert #hashtags to search links

WordPress plugin Use Hashtags – convert #hashtags to search links scored 100% from 54 tests.

About plugin

  • Plugin page: use-hashtags
  • Plugin version: 1.0.5
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.9
  • WordPress version: 5.9.2
  • First release: Aug 22, 2020
  • Latest release: Jan 26, 2022
  • Number of updates: 16
  • Update frequency: every 32.6 days
  • Top authors: gruhh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

30+ active / 473 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully

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

An overview of server-side resources used by Use Hashtags – convert #hashtags to search links
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0560.31 ▲2.38
Dashboard /wp-admin3.47 ▲0.0636.96 ▲0.06
Posts /wp-admin/edit.php3.69 ▲0.0545.35 ▲2.54
Add New Post /wp-admin/post-new.php6.93 ▼0.03106.45 ▼1,208.03
Media Library /wp-admin/upload.php3.34 ▲0.0427.37 ▼8.64
Use Hashtags /wp-admin/tools.php?page=use-hashtags3.3130.22

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options
use_hashtags_options

Browser metrics Passed 4 tests

Use Hashtags – convert #hashtags to search links: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,800 ▲7816.01 ▲0.305.77 ▼0.642.83 ▲0.66
Dashboard /wp-admin2,897 ▲395.98 ▼0.14114.14 ▼23.68206.66 ▲29.97
Posts /wp-admin/edit.php2,693 ▲23.24 ▲0.0062.65 ▼1.95139.27 ▼8.26
Add New Post /wp-admin/post-new.php1,755 ▼1820.90 ▼0.96444.09 ▼14.27165.46 ▲7.69
Media Library /wp-admin/upload.php1,703 ▲55.50 ▲0.07144.71 ▼24.32222.23 ▲32.79
Use Hashtags /wp-admin/tools.php?page=use-hashtags1,0452.4359.22151.91

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

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 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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: user experience, hashtags, ux, navigation

use-hashtags/use-hashtags.php Passed 13 tests

Analyzing the main PHP file in "Use Hashtags – convert #hashtags to search links" version 1.0.5
72 characters long description:
Convert all the #hashtags in your content and excerpts to a search link.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin233 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP25980233

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.26
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

All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin