Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▲0.97ms] Passed 4 tests
An overview of server-side resources used by Block Fancy List Item
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.06 | 39.56 ▼0.40 |
Dashboard /wp-admin | 3.36 ▲0.05 | 46.50 ▼3.35 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 49.52 ▲8.29 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 84.52 ▼0.64 |
Media Library /wp-admin/upload.php | 3.28 ▲0.06 | 46.70 ▲11.91 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Block Fancy List Item
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,977 ▲242 | 21.20 ▲6.45 | 4.73 ▲2.90 | 36.60 ▼7.44 |
Dashboard /wp-admin | 2,294 ▲106 | 10.82 ▲4.94 | 267.37 ▲149.59 | 45.24 ▲1.89 |
Posts /wp-admin/edit.php | 2,179 ▲90 | 10.50 ▲8.44 | 92.46 ▲53.31 | 36.13 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,675 ▲155 | 21.99 ▼1.11 | 516.13 ▼89.82 | 30.72 ▼23.65 |
Media Library /wp-admin/upload.php | 1,497 ▲109 | 10.97 ▲6.82 | 158.32 ▲63.55 | 45.16 ▲5.00 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not an exhaustive test
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
Please take a closer look at the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/block-fancy-list-item/public/partials/block-fancy-list-item-public-display.php
- > /wp-content/plugins/block-fancy-list-item/admin/partials/block-fancy-list-item-admin-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Requires at least: Version not formatted correctly
block-fancy-list-item/block-fancy-list-item.php Passed 13 tests
"Block Fancy List Item" version 1.0.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
59 characters long description:
This Plugin is use for extend gutenberg core listing block.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,168 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 323 | 752 | 1,001 |
PHP | 12 | 117 | 535 | 166 |
CSS | 2 | 0 | 4 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
Average class complexity | 1.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
PNG images were not found in this plugin