99% advance-block-extend

Code Review | Advance Block Extend

WordPress plugin Advance Block Extend scored 99% from 54 tests.

About plugin

  • Plugin page: advance-block-extend
  • Plugin version: 1.0.2
  • PHP compatiblity: 7.2+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.5.3
  • WordPress version: 5.9.2
  • First release: Jan 17, 2019
  • Latest release: May 23, 2021
  • Number of updates: 20
  • Update frequency: every 43.1 days
  • Top authors: iamjaydip (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 1,140 total downloads


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
This plugin's installer ran successfully

Server metrics [RAM: ▼0.22MB] [CPU: ▼346.20ms] Passed 4 tests

This is a short check of server-side resources used by Advance Block Extend
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.56 ▲0.0479.78 ▲29.83
Dashboard /wp-admin3.44 ▲0.0432.98 ▼3.51
Posts /wp-admin/edit.php3.68 ▲0.0436.58 ▼10.53
Add New Post /wp-admin/post-new.php5.99 ▼0.9859.74 ▼1,292.33
Media Library /wp-admin/upload.php3.33 ▲0.0324.41 ▼78.43

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 28 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Advance Block Extend
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,801 ▲5715.87 ▲0.085.95 ▼0.522.44 ▲0.00
Dashboard /wp-admin2,897 ▲436.09 ▼0.09127.79 ▼2.45208.56 ▲41.50
Posts /wp-admin/edit.php2,693 ▲23.36 ▲0.1363.50 ▼0.76159.41 ▲15.81
Add New Post /wp-admin/post-new.php1,804 ▲14717.35 ▼3.40428.09 ▲11.42216.94 ▲43.96
Media Library /wp-admin/upload.php1,700 ▲115.45 ▼0.07175.53 ▲24.56185.71 ▼55.97

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
Uninstaller ran successfully

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however 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
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


Plugin configuration 86% from 29 tests

readme.txt 81% from 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
  • Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
  • Donate link: Invalid url: ""
  • Screenshots: No descriptions were found for these screenshots #1, #2, #3 in advance-block-extend/assets to your readme.txt
Please take inspiration from this readme.txt

advance-block-extend/gutenberg-block.php 92% from 13 tests

The entry point to "Advance Block Extend" version 1.0.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("advance-block-extend.php" instead of "gutenberg-block.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
Good job! No executable or dangerous file extensions detected6,652 lines of code in 21 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
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.57
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods3100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There were not PNG files found in your plugin