Benchmarks
Plugin footprint 65% 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: ▲4.09MB] [CPU: ▲42.76ms] 75% from 4 tests
Analyzing server-side resources used by GutenGeek Free Gutenberg Blocks for WordPress
Please have a look at the following items
- RAM: Total memory usage must be kept under 10MB (currently 10.93MB on /wp-admin/admin.php?page=gutengeek-about)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.78 ▲0.32 | 42.85 ▼1.55 |
Dashboard /wp-admin | 10.95 ▲7.65 | 140.32 ▲94.57 |
Posts /wp-admin/edit.php | 11.03 ▲7.68 | 164.84 ▲118.51 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 66.08 ▼24.86 |
Media Library /wp-admin/upload.php | 10.97 ▲7.75 | 135.50 ▲102.87 |
Custom Fonts /wp-admin/admin.php?page=gutengeek-custom-fonts | 10.98 | 148.96 |
Settings /wp-admin/admin.php?page=gutengeek | 10.93 | 136.30 |
Custom Icons /wp-admin/admin.php?page=gutengeek-custom-icons | 10.93 | 138.77 |
About /wp-admin/admin.php?page=gutengeek-about | 10.93 | 132.11 |
Upgrade /wp-admin/admin.php?page=gutengeek-upgrade | 3.31 | 25.60 |
Server storage [IO: ▲6.93MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 272 new files
Database: 4 new tables, 7 new options
New tables |
---|
wp_gtg_block_icons |
wp_gtg_block_fonts |
wp_gtg_block_font_items |
wp_gtg_block_font_item_attachments |
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
_gtg_global_settings |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for GutenGeek Free Gutenberg Blocks for WordPress
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,145 ▲374 | 25.14 ▲10.85 | 42.64 ▲40.39 | 43.76 ▼2.83 |
Dashboard /wp-admin | 2,416 ▲228 | 15.54 ▲9.64 | 334.67 ▲221.59 | 69.28 ▲26.67 |
Posts /wp-admin/edit.php | 2,391 ▲302 | 15.80 ▲13.81 | 132.88 ▲91.26 | 34.86 ▼0.54 |
Add New Post /wp-admin/post-new.php | 1,680 ▲166 | 29.89 ▲12.32 | 859.97 ▲182.51 | 44.90 ▼25.98 |
Media Library /wp-admin/upload.php | 1,568 ▲183 | 16.37 ▲12.18 | 156.55 ▲52.50 | 44.56 ▼1.25 |
Custom Fonts /wp-admin/admin.php?page=gutengeek-custom-fonts | 1,159 | 12.38 | 129.13 | 26.94 |
Settings /wp-admin/admin.php?page=gutengeek | 1,433 | 16.41 | 141.01 | 48.59 |
Custom Icons /wp-admin/admin.php?page=gutengeek-custom-icons | 1,197 | 15.52 | 107.03 | 23.41 |
About /wp-admin/admin.php?page=gutengeek-about | 1,236 | 15.49 | 126.47 | 61.90 |
Upgrade /wp-admin/admin.php?page=gutengeek-upgrade | 183 | 2.54 | 30.92 | 43.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 4 tables in the database
- wp_gtg_block_font_items
- wp_gtg_block_fonts
- wp_gtg_block_icons
- wp_gtg_block_font_item_attachments
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- _gtg_global_settings
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/gtg-advanced-blocks/templates/admin/settings.php
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_kses() in wp-content/plugins/gtg-advanced-blocks/templates/admin/about.php:7
- > PHP Fatal error
Uncaught Error: Class 'Gtg_Advanced_Blocks\\Abstracts\\Import' not found in wp-content/plugins/gtg-advanced-blocks/inc/Imports/Theme.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/gtg-advanced-blocks/templates/template-fullwidth.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/gtg-advanced-blocks/templates/template-offcanvas.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function Gtg_Advanced_Blocks\\Admin\\add_action() in wp-content/plugins/gtg-advanced-blocks/inc/Admin/Settings_Page.php:8
- > PHP Fatal error
Uncaught Error: Class 'Gtg_Advanced_Blocks\\Abstracts\\Api' not found in wp-content/plugins/gtg-advanced-blocks/inc/API/Template_Library.php:6
- > PHP Fatal error
Uncaught Error: Class 'Gtg_Advanced_Blocks\\Abstracts\\Api' not found in wp-content/plugins/gtg-advanced-blocks/inc/API/Core.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/gtg-advanced-blocks/templates/admin/admin.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_post_terms() in wp-content/plugins/gtg-advanced-blocks/templates/blocks/post/category.php:1
- > PHP Fatal error
Uncaught Error: Class 'Gtg_Advanced_Blocks\\Abstracts\\AbstractCLI' not found in wp-content/plugins/gtg-advanced-blocks/inc/CLI/Icon.php:7
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=gutengeek
- > Console-api (warning) in wp-includes/js/dist/deprecated.min.js?ver=73ad3591e7bc95f4777a+1:627
`position` prop in wp.components.Dropdown is deprecated since version 6.2. Please use `popoverProps.placement` prop instead. Note: Note that the `position` prop will override any values passed through the `popoverProps.placement` prop.
- > GET request to /wp-admin/admin.php?page=gutengeek-upgrade
- > Other (warning) in unknown
https://www.google.com/adsense/domains/caf.js 223 Unrecognized feature: 'attribution-reporting'.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #10, #11, #2, #3, #4, #5, #6, #8, #9 in gtg-advanced-blocks/assets to your readme.txt
gtg-advanced-blocks/plugin.php 92% from 13 tests
"GutenGeek Free Gutenberg Blocks for WordPress" version 1.1.3's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("gtg-advanced-blocks.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin58,742 lines of code in 254 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 6 | 0 | 0 | 44,982 |
PHP | 88 | 1,424 | 1,946 | 7,626 |
CSS | 13 | 542 | 251 | 3,298 |
SVG | 128 | 17 | 30 | 2,125 |
Markdown | 1 | 121 | 0 | 553 |
JavaScript | 18 | 13 | 67 | 158 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 3.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 50.00 |
Code structure | ||
---|---|---|
Namespaces | 13 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 5 | 10.64% |
▷ Concrete classes | 42 | 89.36% |
▷ Final classes | 2 | 4.76% |
Methods | 377 | |
▷ Static methods | 57 | 15.12% |
▷ Public methods | 334 | 88.59% |
▷ Protected methods | 17 | 4.51% |
▷ Private methods | 26 | 6.90% |
Functions | 55 | |
▷ Named functions | 51 | 92.73% |
▷ Anonymous functions | 4 | 7.27% |
Constants | 20 | |
▷ Global constants | 19 | 95.00% |
▷ Class constants | 1 | 5.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
8 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/styles/google-map/silver.png | 2.96KB | 2.90KB | ▼ 2.01% |
assets/images/styles/google-map/night.png | 2.94KB | 2.88KB | ▼ 2.26% |
assets/images/styles/google-map/dark.png | 2.85KB | 2.76KB | ▼ 2.95% |
assets/images/styles/google-map/aubergine.png | 3.49KB | 3.35KB | ▼ 4.00% |
assets/images/styles/testimonial/dot-style-2.png | 1.78KB | 0.57KB | ▼ 67.75% |