94% gridflow

Code Review | Page Builder Gutenberg Blocks - GridFlow

WordPress plugin Page Builder Gutenberg Blocks - GridFlow scored 94% from 54 tests.

About plugin

  • Plugin page: gridflow
  • Plugin version: 1.1.0
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-5.8
  • WordPress version: 5.8.1
  • First release: Jun 17, 2021
  • Latest release: Oct 26, 2021
  • Number of updates: 4
  • Update frequency: every 33.0 days
  • Top authors: alurastudio (100%)Otto42 (50%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 135 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.09MB] [CPU: ▼138.82ms] Passed 4 tests

A check of server-side resources used by Page Builder Gutenberg Blocks - GridFlow
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.92 ▲0.2034.64 ▲6.98
Dashboard /wp-admin3.13 ▲0.0854.12 ▲2.77
Posts /wp-admin/edit.php3.24 ▲0.1349.87 ▲2.90
Add New Post /wp-admin/post-new.php5.50 ▲0.0796.33 ▼563.77
Media Library /wp-admin/upload.php3.07 ▲0.0735.08 ▲2.84

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 60 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Page Builder Gutenberg Blocks - GridFlow
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,686 ▲9015.91 ▲0.4112.19 ▲3.2250.77 ▲0.35
Dashboard /wp-admin2,973 ▲365.89 ▼0.17147.97 ▼4.64115.80 ▼2.78
Posts /wp-admin/edit.php2,736 ▼32.69 ▲0.0165.01 ▼3.7096.00 ▲4.10
Add New Post /wp-admin/post-new.php1,693 ▲1018.95 ▲0.22391.17 ▼10.10121.35 ▲9.92
Media Library /wp-admin/upload.php1,810 ▲35.05 ▲0.04169.89 ▲17.41125.56 ▼5.95

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 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
Please fix the following
  • 3× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Trait 'GridFlow\\SingletonTrait' not found in wp-content/plugins/gridflow/inc/class-init.php on line 4
    • > PHP Fatal error
      Trait 'GridFlow\\SingletonTrait' not found in wp-content/plugins/gridflow/inc/class-rest-api.php on line 4
    • > PHP Fatal error
      Trait 'GridFlow\\SingletonTrait' not found in wp-content/plugins/gridflow/inc/class-assets.php on line 4

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: gutenberg builder, page builder, blocks, gridflow, builder...

gridflow/gridflow.php Passed 13 tests

This is the main PHP file of "Page Builder Gutenberg Blocks - GridFlow" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
It is page builder for the WordPress Gutenberg block editor.

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
Success! There were no dangerous files found in this plugin26,443 lines of code in 41 files:
LanguageFilesBlank linesComment linesLines of code
SVG401211,697
CSS203,5619710,205
JavaScript71183,467
JSON100760
PHP98745314

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity7.80
▷ Minimum class complexity1.00
▷ Maximum class complexity27.00
Average method complexity2.42
▷ Minimum method complexity1.00
▷ Maximum method complexity15.00
Code structure
Namespaces1
Interfaces0
Traits1
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes125.00%
Methods25
▷ Static methods28.00%
▷ Public methods2184.00%
▷ Protected methods312.00%
▷ Private methods14.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants6
▷ Global constants6100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin