Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲2.50MB] [CPU: ▲8.59ms] Passed 4 tests
This is a short check of server-side resources used by Getwid - Gutenberg Blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.03 ▲2.57 | 54.16 ▲14.08 |
Dashboard /wp-admin | 5.82 ▲2.47 | 54.66 ▼3.17 |
Posts /wp-admin/edit.php | 5.87 ▲2.51 | 55.70 ▲8.42 |
Add New Post /wp-admin/post-new.php | 8.81 ▲2.93 | 110.51 ▲16.54 |
Media Library /wp-admin/upload.php | 5.70 ▲2.47 | 51.63 ▲15.03 |
Getwid /wp-admin/options-general.php?page=getwid | 5.67 | 44.80 |
Server storage [IO: ▲6.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 344 new files
Database: no new tables, 71 new options
New WordPress options |
---|
getwid/table-of-contents::disabled |
getwid/price-list::disabled |
getwid/countdown::disabled |
getwid_section_content_width |
getwid/post-carousel::disabled |
getwid/map::disabled |
getwid/button-group::disabled |
getwid/image-box::disabled |
widget_recent-comments |
getwid_load_assets_on_demand |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Getwid - Gutenberg Blocks
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲129 | 14.14 ▼0.20 | 12.47 ▲10.47 | 38.73 ▼7.12 |
Dashboard /wp-admin | 2,202 ▲21 | 5.60 ▲0.00 | 93.50 ▼18.12 | 37.06 ▼0.97 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.96 ▲0.00 | 37.34 ▼3.63 | 35.50 ▲0.40 |
Add New Post /wp-admin/post-new.php | 6,247 ▲4,721 | 21.74 ▼1.45 | 1,122.51 ▲368.72 | 39.65 ▼16.01 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.22 ▼0.00 | 103.70 ▲1.00 | 45.12 ▼1.35 |
Getwid /wp-admin/options-general.php?page=getwid | 927 | 2.02 | 27.38 | 29.78 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- getwid/ai-text::disabled
- widget_theysaidso_widget
- db_upgraded
- getwid/content-slider::disabled
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 take a closer look at the following
- 130× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: extra_attr in wp-content/plugins/getwid/includes/templates/post-slider/post.php on line 6
- > PHP Notice
Undefined variable: attributes in wp-content/plugins/getwid/includes/templates/template-parts/post-comments.php on line 7
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/getwid/includes/templates/template-parts/post-button.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/getwid/includes/templates/post-slider/post.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'Getwid\\Blocks\\AbstractBlock' not found in wp-content/plugins/getwid/includes/blocks/recent-posts.php:5
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/getwid/includes/templates/template-parts/post-link.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/getwid/includes/templates/template-parts/post-custom-field.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/getwid/includes/templates/contact-form/contact-form.php:11
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/getwid/includes/templates/template-parts/post-custom-field.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'Getwid\\Blocks\\AbstractBlock' not found in wp-content/plugins/getwid/includes/blocks/circle-progress-bar.php:5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
getwid/getwid.php Passed 13 tests
The main file in "Getwid - Gutenberg Blocks" v. 2.0.3 serves as a complement to information provided in readme.txt and as the entry point to the plugin
98 characters long description:
Extra Gutenberg blocks for building seamless and aesthetic websites in the WordPress block editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin36,727 lines of code in 296 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 117 | 2,870 | 1,254 | 12,303 |
JavaScript | 98 | 2,194 | 1,239 | 10,495 |
CSS | 73 | 2,445 | 412 | 9,315 |
SVG | 5 | 1 | 0 | 4,296 |
JSON | 2 | 2 | 0 | 166 |
Markdown | 1 | 73 | 0 | 152 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 12.54 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 64.00 |
Average method complexity | 2.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 79 | |
▷ Abstract classes | 1 | 1.27% |
▷ Concrete classes | 78 | 98.73% |
▷ Final classes | 4 | 5.13% |
Methods | 457 | |
▷ Static methods | 8 | 1.75% |
▷ Public methods | 416 | 91.03% |
▷ Protected methods | 8 | 1.75% |
▷ Private methods | 33 | 7.22% |
Functions | 61 | |
▷ Named functions | 20 | 32.79% |
▷ Anonymous functions | 41 | 67.21% |
Constants | 5 | |
▷ Global constants | 4 | 80.00% |
▷ Class constants | 1 | 20.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin