Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.19MB] [CPU: ▼3.04ms] Passed 4 tests
This is a short check of server-side resources used by Grids: Layout builder for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.38 | 37.83 ▼2.00 |
Dashboard /wp-admin | 3.47 ▲0.16 | 48.77 ▲3.08 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 46.71 ▼0.99 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 88.57 ▼11.77 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 35.02 ▲2.61 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Grids: Layout builder for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,820 ▲58 | 14.68 ▼0.06 | 1.72 ▼0.04 | 43.43 ▲0.35 |
Dashboard /wp-admin | 2,221 ▲44 | 5.59 ▼0.06 | 91.41 ▼10.19 | 42.49 ▼1.16 |
Posts /wp-admin/edit.php | 2,124 ▲24 | 2.00 ▲0.06 | 36.94 ▼5.31 | 33.12 ▼6.58 |
Add New Post /wp-admin/post-new.php | 6,226 ▲4,700 | 19.29 ▼4.23 | 897.07 ▲273.88 | 38.83 ▼11.88 |
Media Library /wp-admin/upload.php | 1,420 ▲23 | 4.15 ▼0.03 | 100.38 ▲1.42 | 43.06 ▼3.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 15× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/grids/compat/twentynineteen.php
- > /wp-content/plugins/grids/src/Core/Blocks/Area.php
- > /wp-content/plugins/grids/src/Core/Utils/Exception.php
- > /wp-content/plugins/grids/src/Core/Utils/Logger.php
- > /wp-content/plugins/grids/src/Core/Utils/Asset.php
- > /wp-content/plugins/grids/src/Core/Utils/Filter.php
- > /wp-content/plugins/grids/src/Core.php
- > /wp-content/plugins/grids/config.php
- > /wp-content/plugins/grids/src/Core/Utils/CSS.php
- > /wp-content/plugins/grids/src/Core/Block.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #5, #6, #7 in grids/assets to your readme.txt
grids/grids.php 92% from 13 tests
The primary PHP file in "Grids: Layout builder for WordPress" version 1.3.10 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Domain Path: The domain path is invalid: folder "/languages/" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin1,670 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 24 | 527 | 814 | 1,644 |
JavaScript | 2 | 3 | 0 | 16 |
JSON | 1 | 0 | 0 | 5 |
SVG | 3 | 0 | 0 | 3 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 14.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.16 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 1 | 6.25% |
▷ Concrete classes | 15 | 93.75% |
▷ Final classes | 0 | 0.00% |
Methods | 99 | |
▷ Static methods | 44 | 44.44% |
▷ Public methods | 91 | 91.92% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 8.08% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin