Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- The plugin did not install without errors
- > Warning in wp-content/plugins/frontrom/vendor/composer/ClassLoader.php+444
include(wp-content/plugins/frontrom/vendor/composer/../../includes/Upgrades/Upgrade.php): failed to open stream: No such file or directory
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.16ms] Passed 4 tests
Analyzing server-side resources used by Gutenberg Themes - Ultimate Solution for Block Templates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.18 ▲3.20 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.93 ▼3.99 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.28 ▼5.08 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.27 ▼11.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.31 ▲0.23 |
Server storage [IO: ▲9.44MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 193 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Gutenberg Themes - Ultimate Solution for Block Templates
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.76 ▲0.11 | 1.70 ▲0.09 | 43.57 ▼1.33 |
Dashboard /wp-admin | 2,195 ▲15 | 5.64 ▼0.02 | 83.84 ▼2.98 | 42.56 ▼5.14 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.02 | 34.84 ▼5.69 | 33.59 ▼4.27 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 23.19 ▲0.08 | 655.03 ▼62.77 | 63.90 ▲10.77 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.19 ▼0.02 | 97.85 ▼2.32 | 47.82 ▲4.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/frontrom/templates/admin-js-template.php
- > /wp-content/plugins/frontrom/templates/index.php
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/frontrom/frontrom.php:91
- > PHP Fatal error
Uncaught Error: Call to undefined function frontrom_is_self_page() in wp-content/plugins/frontrom/templates/themes/frontrom/template-parts/footer-menus-widgets.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/frontrom/templates/themes/frontrom/default-404.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function frontrom_is_self_page() in wp-content/plugins/frontrom/templates/themes/frontrom/footer.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_the_posts_pagination() in wp-content/plugins/frontrom/templates/themes/frontrom/template-parts/pagination.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/frontrom/templates/themes/frontrom/header.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function frontrom_is_self_page() in wp-content/plugins/frontrom/templates/themes/frontrom/template-parts/entry-header.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function includes_url() in wp-content/plugins/frontrom/templates/edit.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/frontrom/templates/themes/frontrom/commentsssss.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/frontrom/templates/themes/frontrom/default-404.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots need descriptions #1, #10, #11, #12, #13, #2, #3, #4, #5, #6, #7, #8, #9 in frontrom/assets to your readme.txt
frontrom/frontrom.php Passed 13 tests
The main file in "Gutenberg Themes - Ultimate Solution for Block Templates" v. 0.7 serves as a complement to information provided in readme.txt and as the entry point to the plugin
45 characters long description:
Do everythings like Gutenberg, from frontend.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin53,278 lines of code in 126 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 29 | 2,396 | 1,080 | 31,520 |
Sass | 1 | 91 | 3 | 11,366 |
PHP | 53 | 1,809 | 1,102 | 5,461 |
JavaScript | 31 | 977 | 4,157 | 3,125 |
HTML | 10 | 496 | 1,540 | 1,800 |
JSON | 1 | 0 | 0 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 14.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 2.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 1 | 3.45% |
Methods | 285 | |
▷ Static methods | 68 | 23.86% |
▷ Public methods | 257 | 90.18% |
▷ Protected methods | 1 | 0.35% |
▷ Private methods | 27 | 9.47% |
Functions | 101 | |
▷ Named functions | 75 | 74.26% |
▷ Anonymous functions | 26 | 25.74% |
Constants | 16 | |
▷ Global constants | 16 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
32 PNG files occupy 0.28MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/plumber/img/favicon.png | 1.73KB | 1.09KB | ▼ 36.98% |
assets/images/carousel/brand-3.png | 1.50KB | 1.55KB | 0.00% |
assets/plumber/img/home-work-2.png | 22.55KB | 23.93KB | 0.00% |
assets/plumber/img/logo3.png | 3.92KB | 2.63KB | ▼ 32.98% |
assets/plumber/img/logo-light.png | 3.72KB | 2.51KB | ▼ 32.45% |