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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.21MB] [CPU: ▼7.25ms] Passed 4 tests
An overview of server-side resources used by WP Munich Blocks - Gutenberg Blocks for WordPress
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 38.03 ▼2.64 |
Dashboard /wp-admin | 3.51 ▲0.16 | 47.79 ▼14.03 |
Posts /wp-admin/edit.php | 3.62 ▲0.27 | 47.88 ▼5.22 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 87.36 ▼7.09 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 36.13 ▲0.90 |
Server storage [IO: ▲0.46MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 30 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for WP Munich Blocks - Gutenberg Blocks for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲130 | 13.52 ▼0.84 | 10.00 ▲8.21 | 39.64 ▼9.27 |
Dashboard /wp-admin | 2,212 ▲38 | 5.59 ▲0.02 | 91.51 ▲4.04 | 41.79 ▼3.23 |
Posts /wp-admin/edit.php | 2,117 ▲17 | 2.02 ▼0.01 | 39.37 ▼2.84 | 35.56 ▼1.54 |
Add New Post /wp-admin/post-new.php | 6,216 ▲4,679 | 19.75 ▲1.56 | 930.90 ▲323.46 | 38.96 ▼29.06 |
Media Library /wp-admin/upload.php | 1,479 ▲76 | 4.17 ▼0.04 | 96.24 ▼5.03 | 43.43 ▼5.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
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
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
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function class_names() in wp-content/plugins/wp-munich-blocks/blocks/f-latest-posts/template.php:8
- > PHP Fatal error
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 undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: block, gutenberg blocks, layout, gutenberg, editor...
wp-munich-blocks/wp-munich-blocks.php Passed 13 tests
The principal PHP file in "WP Munich Blocks - Gutenberg Blocks for WordPress" v. 0.12.2 is loaded by WordPress automatically on each request
84 characters long description:
Create amazing content with the new WordPress block editor and the WP Munich blocks.
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
There were no executable files found in this plugin1,117 lines of code in 22 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 207 | 471 | 1,100 |
JavaScript | 6 | 0 | 46 | 11 |
CSS | 5 | 0 | 0 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 4.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 4 | 9.76% |
▷ Public methods | 22 | 53.66% |
▷ Protected methods | 8 | 19.51% |
▷ Private methods | 11 | 26.83% |
Functions | 11 | |
▷ Named functions | 9 | 81.82% |
▷ Anonymous functions | 2 | 18.18% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/1x1.png | 0.91KB | 0.09KB | ▼ 89.78% |
img/wp-munich-300.png | 49.21KB | 36.38KB | ▼ 26.07% |
blocks/f-feature-grid/assets/blockstyle_default.png | 1.96KB | 1.01KB | ▼ 48.61% |
blocks/f-feature-grid/assets/blockstyle_inner-button.png | 1.83KB | 0.89KB | ▼ 51.09% |