Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲1.05MB] [CPU: ▲6.63ms] Passed 4 tests
A check of server-side resources used by Guto Toolkit for Elementor Addons
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.50 ▲1.03 | 44.62 ▲6.10 |
Dashboard /wp-admin | 4.36 ▲1.06 | 52.79 ▲2.08 |
Posts /wp-admin/edit.php | 4.41 ▲1.05 | 54.13 ▲9.21 |
Add New Post /wp-admin/post-new.php | 7.03 ▲1.14 | 99.04 ▲9.69 |
Media Library /wp-admin/upload.php | 4.29 ▲1.06 | 42.52 ▲9.14 |
Service Category /wp-admin/edit-tags.php?taxonomy=service_cat&post_type=services | 4.28 | 38.08 |
Add New /wp-admin/post-new.php?post_type=projects | 6.96 | 82.34 |
Services /wp-admin/edit.php?post_type=services | 4.32 | 39.54 |
Project Category /wp-admin/edit-tags.php?taxonomy=projects_cat&post_type=projects | 4.28 | 38.00 |
Projects /wp-admin/edit.php?post_type=projects | 4.32 | 38.16 |
Add New /wp-admin/post-new.php?post_type=services | 4.41 | 51.86 |
Server storage [IO: ▲14.92MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 579 new files
Database: no new tables, 15 new options
New WordPress options |
---|
widget_guto_subscribe_us |
widget_recent-comments |
widget_theysaidso_widget |
widget_guto_nm_footer_info |
widget_guto_contact_info |
can_compress_scripts |
widget_guto_about_info |
widget_guto_contact |
theysaidso_admin_options |
widget_guto_footer_info |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Guto Toolkit for Elementor Addons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,073 ▲311 | 14.13 ▼0.61 | 23.82 ▲21.78 | 53.00 ▲9.01 |
Dashboard /wp-admin | 2,276 ▲106 | 5.61 ▼0.01 | 91.36 ▼9.73 | 40.38 ▼2.11 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 1.99 ▲0.05 | 40.42 ▲3.28 | 36.73 ▼1.64 |
Add New Post /wp-admin/post-new.php | 1,660 ▲125 | 23.41 ▼1.73 | 655.98 ▲15.69 | 37.57 ▼25.86 |
Media Library /wp-admin/upload.php | 1,475 ▲72 | 4.20 ▼0.10 | 100.23 ▼2.37 | 43.23 ▼1.18 |
Service Category /wp-admin/edit-tags.php?taxonomy=service_cat&post_type=services | 1,349 | 2.14 | 27.87 | 30.88 |
Add New /wp-admin/post-new.php?post_type=projects | 6,314 | 20.18 | 841.77 | 29.87 |
Services /wp-admin/edit.php?post_type=services | 1,150 | 1.90 | 33.69 | 28.49 |
Project Category /wp-admin/edit-tags.php?taxonomy=projects_cat&post_type=projects | 1,352 | 2.14 | 28.87 | 29.81 |
Projects /wp-admin/edit.php?post_type=projects | 1,150 | 1.91 | 33.08 | 30.92 |
Add New /wp-admin/post-new.php?post_type=services | 2,374 | 7.64 | 164.42 | 67.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 15 options in the database
- can_compress_scripts
- widget_guto_contact
- widget_guto_posts_subscribe_us
- widget_recent-comments
- widget_guto_subscribe_us
- widget_guto_about_info
- widget_guto_footer_info
- widget_guto_posts_thumbs
- widget_guto_socials_link
- widget_recent-posts
- ...
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
Everything seems fine, however 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
The following issues need your attention
- 61× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
require_once(GUTO_ACC_PATHincludes/widgets/guto-toolkit-posts-thumbs.php): failed to open stream: No such file or directory in wp-content/plugins/guto-toolkit/includes/guto-toolkit-widgets.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/guto-toolkit/includes/widgets/guto-toolkit-phone-advanced.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/guto-toolkit/includes/class-guto-toolkit-options.php:17
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/guto-toolkit/includes/el-widgets/services.php:7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/guto-toolkit/includes/el-widgets/coworking-space/cs-team.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/guto-toolkit/includes/widgets/guto-toolkit-footer-info.php:6
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/guto-toolkit/includes/el-widgets/life-coaching/lc-single-event.php:8
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/guto-toolkit/includes/el-widgets/yoga/yoga-events.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/guto-toolkit/config.php:4
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/guto-toolkit/includes/el-widgets/coworking-space/cs-services.php:7
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: elementor widget, elements, addons, elementor, elementor addon
guto-toolkit/guto-toolkit.php Passed 13 tests
The principal PHP file in "Guto Toolkit for Elementor Addons" v. 2.1.2 is loaded by WordPress automatically on each request
110 characters long description:
Guto Toolkit is an Elementor addon WordPress plugin that allows you to create 65+ unique layouts on your site.
Code Analysis 97% from 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 plugin175,754 lines of code in 472 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 179 | 8,186 | 2,270 | 99,236 |
PHP | 258 | 7,987 | 2,314 | 53,756 |
JavaScript | 31 | 1,131 | 683 | 11,501 |
Sass | 2 | 623 | 1 | 9,705 |
SVG | 2 | 0 | 0 | 1,556 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
The following items need your attention
- Please reduce cyclomatic complexity of methods to less than 100 (currently 130)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 10.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 2.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 130.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 243 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 243 | 100.00% |
▷ Final classes | 2 | 0.82% |
Methods | 1,452 | |
▷ Static methods | 4 | 0.28% |
▷ Public methods | 978 | 67.36% |
▷ Protected methods | 469 | 32.30% |
▷ Private methods | 5 | 0.34% |
Functions | 122 | |
▷ Named functions | 122 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 15 | |
▷ Global constants | 9 | 60.00% |
▷ Class constants | 6 | 40.00% |
▷ Public constants | 6 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
32 PNG files occupy 1.34MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/insurance/partner1.png | 9.60KB | 2.64KB | ▼ 72.53% |
public/img/yoga/certification-2.png | 1.06KB | 1.08KB | 0.00% |
public/img/favicon.png | 2.89KB | 1.44KB | ▼ 50.34% |
public/img/shape9.png | 15.38KB | 7.88KB | ▼ 48.76% |
public/img/yoga/client-img-1.png | 3.58KB | 3.62KB | 0.00% |