Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼139.69ms] Passed 4 tests
This is a short check of server-side resources used by Melonpan Block - Post List
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 36.64 ▲3.28 |
Dashboard /wp-admin | 3.07 ▲0.02 | 59.69 ▲18.75 |
Posts /wp-admin/edit.php | 3.13 ▲0.01 | 46.98 ▼9.27 |
Add New Post /wp-admin/post-new.php | 5.43 ▲0.00 | 102.06 ▼554.98 |
Media Library /wp-admin/upload.php | 3.02 ▲0.02 | 40.21 ▲2.20 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Melonpan Block - Post List
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,703 ▲90 | 15.88 ▲0.21 | 11.69 ▲2.54 | 51.00 ▼2.30 |
Dashboard /wp-admin | 2,970 ▲39 | 5.87 ▼0.21 | 158.47 ▼11.19 | 116.82 ▼16.87 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.71 ▼0.01 | 83.88 ▲9.31 | 102.20 ▲13.20 |
Add New Post /wp-admin/post-new.php | 1,687 ▲4 | 19.08 ▲3.41 | 423.31 ▼49.88 | 119.99 ▲1.01 |
Media Library /wp-admin/upload.php | 1,807 ▼0 | 5.05 ▲0.03 | 162.63 ▼1.86 | 134.47 ▲6.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: block, gutenberg, block-editor, cpt, post...
melonpan-block-post-list/melonpan-block-post-list.php Passed 13 tests
This is the main PHP file of "Melonpan Block - Post List" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
66 characters long description:
Block that displays a list of selected Posts and Custom post types
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin98 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 23 | 29 | 95 |
JavaScript | 1 | 0 | 13 | 2 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG images were not found in this plugin