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.01MB] [CPU: ▼13.62ms] Passed 4 tests
This is a short check of server-side resources used by Latest Posts Block Lite - A Collection of Beautiful WordPress Posts Gutenberg Blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.29 | 37.46 ▼1.70 |
Dashboard /wp-admin | 3.57 ▲0.27 | 44.04 ▼10.82 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 57.96 ▲12.33 |
Add New Post /wp-admin/post-new.php | 5.11 ▼0.78 | 52.69 ▼41.88 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 34.05 ▼0.06 |
Server storage [IO: ▲3.75MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Latest Posts Block Lite - A Collection of Beautiful WordPress Posts Gutenberg Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲55 | 13.20 ▼1.04 | 1.63 ▼0.25 | 45.58 ▲5.95 |
Dashboard /wp-admin | 2,207 ▲18 | 5.82 ▼0.11 | 101.74 ▼17.20 | 41.54 ▼3.90 |
Posts /wp-admin/edit.php | 2,090 ▲1 | 2.00 ▼0.04 | 38.86 ▲5.46 | 38.07 ▲0.13 |
Add New Post /wp-admin/post-new.php | 6,595 ▲5,059 | 23.54 ▲0.30 | 842.83 ▲178.62 | 49.50 ▼12.35 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.19 ▲0.02 | 97.72 ▼0.91 | 44.26 ▼0.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% 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)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/latest-posts-block-lite/latest-posts-block-lite.php
- > /wp-content/plugins/latest-posts-block-lite/src/init.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/latest-posts-block-lite/src/blocks/latest-posts-block/index.php:375
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 15 tag instead of maximum 10
latest-posts-block-lite/latest-posts-block-lite.php 92% from 13 tests
The main PHP script in "Latest Posts Block Lite - A Collection of Beautiful WordPress Posts Gutenberg Blocks" version 1.0.7 is automatically included on every request by WordPress
Please take the time to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 201 characters long)
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
Good job! No executable or dangerous file extensions detected8,103 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 3 | 0 | 12 | 4,482 |
CSS | 14 | 663 | 44 | 1,885 |
PHP | 4 | 441 | 96 | 1,170 |
JSON | 1 | 3 | 0 | 425 |
JavaScript | 1 | 0 | 162 | 141 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 15.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 4.22 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 1 | 11.11% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin