Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.24MB] [CPU: ▼41.14ms] Passed 4 tests
A check of server-side resources used by Grid Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.74 ▼0.72 | 14.05 ▼24.72 |
Dashboard /wp-admin | 2.78 ▼0.53 | 16.50 ▼33.25 |
Posts /wp-admin/edit.php | 2.78 ▼0.58 | 17.46 ▼30.46 |
Add New Post /wp-admin/post-new.php | 2.78 ▼3.11 | 15.36 ▼76.11 |
Media Library /wp-admin/upload.php | 2.78 ▼0.45 | 13.99 ▼18.78 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Grid Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.74 ▲0.37 | 1.79 ▼0.24 | 42.32 ▼0.87 |
Dashboard /wp-admin | 2,206 ▲21 | 5.85 ▲0.01 | 96.41 ▼22.24 | 38.35 ▼6.47 |
Posts /wp-admin/edit.php | 2,089 ▲3 | 2.00 ▼0.02 | 35.10 ▼0.23 | 35.69 ▲3.17 |
Add New Post /wp-admin/post-new.php | 7,859 ▲6,326 | 19.98 ▼3.03 | 912.05 ▲243.28 | 51.65 ▼4.76 |
Media Library /wp-admin/upload.php | 1,385 ▼3 | 4.20 ▲0.03 | 94.55 ▲0.33 | 41.32 ▼0.17 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- The plugin did not uninstall gracefully
- > Warning in wp-content/plugins/grid-blocks/grid-blocks.php+26
include(wp-content/themes/twentytwentyone/blocks/build/index.asset.php): failed to open stream: No such file or directory
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
No browser issues were found
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
5 plugin tags: responsive, columns, gutenberg, block, block grid
grid-blocks/grid-blocks.php Passed 13 tests
The main file in "Grid Blocks" v. 5.9.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
77 characters long description:
Gutenberg blocks for creating responsive grid rows, columns, and block grids.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected1,844 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 27 | 148 | 127 | 1,468 |
JSON | 4 | 0 | 0 | 200 |
Sass | 5 | 37 | 29 | 130 |
PHP | 2 | 12 | 12 | 42 |
CSS | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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