94% hyperlink-group-block

Code Review | Hyperlink Group Block

WordPress plugin Hyperlink Group Block scored 94% from 53 tests.

About plugin

  • Plugin page: hyperlink-group-b...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.6-5.8
  • WordPress version: 5.8.1
  • First release: Jul 7, 2021
  • Latest release: Jul 8, 2021
  • Number of updates: 6
  • Update frequency: N/A
  • Top authors: Kometschuh (100%)

Code review

53 tests

User reviews

1 review

Install metrics

100+ active / 455 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

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

A check of server-side resources used by Hyperlink Group Block
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.85 ▲0.1327.37 ▲6.24
Dashboard /wp-admin3.07 ▲0.0243.00 ▼0.62
Posts /wp-admin/edit.php3.12 ▲0.0137.05 ▼4.88
Add New Post /wp-admin/post-new.php5.43 ▼0.0097.59 ▼1,145.14
Media Library /wp-admin/upload.php3.01 ▲0.0033.24 ▼6.21

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

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Hyperlink Group Block
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,677 ▲9515.91 ▼0.128.98 ▲0.5744.60 ▼3.19
Dashboard /wp-admin2,931 ▲835.98 ▲0.15135.33 ▼16.00107.46 ▼6.98
Posts /wp-admin/edit.php2,706 ▼02.68 ▼0.0263.55 ▼4.8188.11 ▼1.26
Add New Post /wp-admin/post-new.php1,662 ▲18119.46 ▲1.00380.42 ▲25.20131.01 ▲20.83
Media Library /wp-admin/upload.php1,772 ▼35.01 ▼0.03151.43 ▲1.80114.48 ▼3.08

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hyperlink-group-block/hyperlink-group-block.php:26

User-side errors Passed 1 test

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


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: anchor, gutenberg, block, link, hyperlink

hyperlink-group-block/hyperlink-group-block.php Passed 13 tests

The primary PHP file in "Hyperlink Group Block" version 1.0.1 is used by WordPress to initiate all plugin functionality
66 characters long description:
Combine blocks into a group wrapped with an hyperlink (<a>).

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin47,873 lines of code in 7 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.00
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 1 test

Image compression Passed 1 test

Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin