Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.39MB] [CPU: ▼234.42ms] Passed 4 tests
Server-side resources used by HayyaBuild - The Most Advanced Gutenberg Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.14 ▲0.31 | 30.95 ▲3.88 |
Dashboard /wp-admin | 3.50 ▲0.44 | 40.49 ▼1.30 |
Posts /wp-admin/edit.php | 3.55 ▲0.44 | 40.10 ▲3.55 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.55 | 79.71 ▼943.79 |
Media Library /wp-admin/upload.php | 3.38 ▲0.38 | 35.96 ▲6.35 |
New Header /wp-admin/post-new.php?post_type=hayyabuild&type=header | 5.99 | 75.69 |
Help /wp-admin/edit.php?post_type=hayyabuild&page=hayyabuild_help | 3.38 | 24.30 |
New Footer /wp-admin/post-new.php?post_type=hayyabuild&type=footer | 5.99 | 82.38 |
New Content /wp-admin/post-new.php?post_type=hayyabuild&type=content | 5.99 | 72.01 |
HayyaBuild /wp-admin/edit.php?post_type=hayyabuild | 3.49 | 30.02 |
Server storage [IO: ▲9.57MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 205 new files
Database: no new tables, 1 new option
New WordPress options |
---|
hayyabuild_version |
Browser metrics Passed 4 tests
An overview of browser requirements for HayyaBuild - The Most Advanced Gutenberg Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,749 ▲147 | 18.28 ▲2.34 | 11.93 ▲6.39 | 77.45 ▼0.03 |
Dashboard /wp-admin | 2,998 ▲106 | 8.34 ▲2.02 | 159.34 ▲27.94 | 185.15 ▲14.39 |
Posts /wp-admin/edit.php | 2,775 ▲32 | 5.32 ▲2.08 | 113.76 ▲49.40 | 154.50 ▲16.90 |
Add New Post /wp-admin/post-new.php | 2,416 ▼1,349 | 21.09 ▲2.03 | 473.22 ▲21.64 | 170.04 ▲5.45 |
Media Library /wp-admin/upload.php | 1,796 ▲44 | 7.27 ▲1.79 | 207.81 ▲60.31 | 263.43 ▲76.16 |
New Header /wp-admin/post-new.php?post_type=hayyabuild&type=header | 6,386 | 17.94 | 520.58 | 184.81 |
Help /wp-admin/edit.php?post_type=hayyabuild&page=hayyabuild_help | 1,605 | 5.49 | 118.53 | 167.50 |
New Footer /wp-admin/post-new.php?post_type=hayyabuild&type=footer | 6,402 | 18.66 | 362.49 | 178.60 |
New Content /wp-admin/post-new.php?post_type=hayyabuild&type=content | 6,382 | 20.04 | 385.67 | 184.92 |
HayyaBuild /wp-admin/edit.php?post_type=hayyabuild | 1,611 | 5.25 | 85.43 | 145.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Uninstaller ran successfully
Smoke tests 25% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/hayyabuild/hayyabuild.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/hayyabuild/public/templates/404.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following user-side errors
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=hayyabuild&type=content
- > Console-api (warning) in wp-includes/js/dist/blocks.min.js?ver=7ed7fe32dad771c4e0af4f56539ff156+1:40463
Block validation: Expected attribute `%s` of value `%s`, saw `%s`." "style" "height:100px" "height:5px
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=hayyabuild&type=content
- > Console-api (severe) in wp-includes/js/dist/blocks.min.js?ver=7ed7fe32dad771c4e0af4f56539ff156+1:40463
Block validation: Block validation failed for `%s` (%o).\n\nContent generated by `save` function:\n\n%s\n\nContent retrieved from post body:\n\n%s" "core/spacer" Object "\u003Cdiv style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\">\u003C/div>" "\u003Cdiv style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\">\u003C/div>
- > GET request to /wp-admin/edit.php?post_type=hayyabuild&page=hayyabuild_help
- > Intervention (severe) in unknown
/wp-admin/post-new.php?post_type=hayyabuild&type=header - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
- > GET request to /wp-admin/post-new.php?post_type=hayyabuild&type=content
- > Intervention (severe) in unknown
/wp-admin/post-new.php?post_type=hayyabuild&type=footer - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
- > GET request to /wp-admin/edit.php?post_type=hayyabuild
- > Intervention (severe) in unknown
/wp-admin/post-new.php?post_type=hayyabuild&type=content - Blocked attempt to show a 'beforeunload' confirmation panel for a frame that never had a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808
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
9 plugin tags: editor blocks, editor block, blocks, gutenberg blocks, block...
hayyabuild/hayyabuild.php Passed 13 tests
Analyzing the main PHP file in "HayyaBuild - The Most Advanced Gutenberg Blocks" version 3.0
105 characters long description:
WordPress headers, Pages and Footers builder plugin, It's comes with the most advanced Gutenberg blocks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected44,574 lines of code in 116 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 9 | 6,303 | 7,932 | 20,545 |
SVG | 13 | 10 | 22 | 10,123 |
CSS | 23 | 3,699 | 132 | 9,059 |
PHP | 30 | 548 | 1,602 | 2,457 |
JSON | 41 | 166 | 0 | 2,390 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.61 |
Average class complexity | 21.04 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 1 | 3.70% |
Methods | 156 | |
▷ Static methods | 64 | 41.03% |
▷ Public methods | 136 | 87.18% |
▷ Protected methods | 1 | 0.64% |
▷ Private methods | 19 | 12.18% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
50 PNG files occupy 3.17MB with 1.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/data/footer05.png | 13.79KB | 7.85KB | ▼ 43.10% |
public/assets/images/simple-800x600.png | 11.14KB | 4.33KB | ▼ 61.12% |
includes/data/footer10.png | 149.38KB | 69.91KB | ▼ 53.20% |
includes/data/header05.png | 314.29KB | 192.92KB | ▼ 38.62% |
includes/data/footer02.png | 25.87KB | 16.02KB | ▼ 38.06% |