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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.92 ▲0.20 | 34.64 ▲6.98 |
Dashboard /wp-admin | 3.13 ▲0.08 | 54.12 ▲2.77 |
Posts /wp-admin/edit.php | 3.24 ▲0.13 | 49.87 ▲2.90 |
Add New Post /wp-admin/post-new.php | 5.50 ▲0.07 | 96.33 ▼563.77 |
Media Library /wp-admin/upload.php | 3.07 ▲0.07 | 35.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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,686 ▲90 | 15.91 ▲0.41 | 12.19 ▲3.22 | 50.77 ▲0.35 |
Dashboard /wp-admin | 2,973 ▲36 | 5.89 ▼0.17 | 147.97 ▼4.64 | 115.80 ▼2.78 |
Posts /wp-admin/edit.php | 2,736 ▼3 | 2.69 ▲0.01 | 65.01 ▼3.70 | 96.00 ▲4.10 |
Add New Post /wp-admin/post-new.php | 1,693 ▲10 | 18.95 ▲0.22 | 391.17 ▼10.10 | 121.35 ▲9.92 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.05 ▲0.04 | 169.89 ▲17.41 | 125.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
- > PHP Fatal error
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 0 | 12 | 11,697 |
CSS | 20 | 3,561 | 97 | 10,205 |
JavaScript | 7 | 11 | 8 | 3,467 |
JSON | 1 | 0 | 0 | 760 |
PHP | 9 | 87 | 45 | 314 |
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 code | 0.30 |
Average class complexity | 7.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 25 | |
▷ Static methods | 2 | 8.00% |
▷ Public methods | 21 | 84.00% |
▷ Protected methods | 3 | 12.00% |
▷ Private methods | 1 | 4.00% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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