Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.24MB] [CPU: ▼17.26ms] Passed 4 tests
An overview of server-side resources used by Blocks Post Grid
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.11 ▼7.46 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.93 ▼8.86 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 49.38 ▼1.72 |
Add New Post /wp-admin/post-new.php | 4.88 ▼1.01 | 54.30 ▼50.99 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 36.14 ▲0.45 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Blocks Post Grid
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.69 ▼0.66 | 2.11 ▼0.11 | 43.16 ▲0.98 |
Dashboard /wp-admin | 2,221 ▲21 | 5.84 ▲0.05 | 101.23 ▼5.94 | 45.30 ▲1.60 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 2.00 ▼0.05 | 41.41 ▲5.12 | 38.98 ▲1.19 |
Add New Post /wp-admin/post-new.php | 6,366 ▲4,825 | 28.80 ▲10.50 | 839.51 ▲177.62 | 54.07 ▼3.94 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.21 ▼0.04 | 98.16 ▼5.00 | 41.43 ▼2.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- 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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function Blocks_Post_Grid\\Post_Grid\\add_action() in wp-content/plugins/blocks-post-grid/lib/enqueue-scripts.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blocks-post-grid/blocks/postlist/index.php:379
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/blocks-post-grid/blocks/postgrid/index.php:383
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
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
3 plugin tags: gutenberg, post block, dynamic
blocks-post-grid/blocks-post-grid.php Passed 13 tests
Analyzing the main PHP file in "Blocks Post Grid" version 1.0.3
108 characters long description:
Dynamic Post Layout for Gutenberg. It is a simple plugin that allows you to create blog posts for Gutenberg.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected1,491 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 96 | 73 | 1,434 |
Markdown | 1 | 29 | 0 | 53 |
CSS | 1 | 0 | 0 | 2 |
JavaScript | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 19 | |
▷ Named functions | 18 | 94.74% |
▷ Anonymous functions | 1 | 5.26% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin