Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.01MB] [CPU: ▲0.08ms] Passed 4 tests
A check of server-side resources used by HT Builder - WordPress Theme Builder for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 36.26 ▼6.14 |
Dashboard /wp-admin | 3.31 ▲0.01 | 47.40 ▲2.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 48.49 ▲2.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 96.92 ▲4.64 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.12 ▲1.33 |
Server storage [IO: ▲0.94MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 75 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for HT Builder - WordPress Theme Builder for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,821 ▲86 | 13.27 ▼1.29 | 1.60 ▼0.17 | 38.42 ▼4.82 |
Dashboard /wp-admin | 2,227 ▲36 | 5.90 ▲1.05 | 109.44 ▲2.37 | 42.17 ▼0.28 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.02 ▼0.01 | 40.34 ▲4.93 | 38.09 ▲5.34 |
Add New Post /wp-admin/post-new.php | 1,530 ▼4 | 17.87 ▼5.46 | 602.33 ▼92.11 | 50.33 ▼5.54 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.19 ▼0.10 | 95.96 ▼7.51 | 45.44 ▼0.75 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/ht-builder/templates/theme-footer.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function Hasthemes\\HTBuilder\\esc_html__() in wp-content/plugins/ht-builder/includes/admin/recommended-plugins/class.recommended-plugins.php:71
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ht-builder/includes/admin/templates_list.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/ht-builder/templates/theme-header.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
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: widget, elementor, page builder, builder, blog builder
ht-builder/ht-builder.php Passed 13 tests
The principal PHP file in "HT Builder - WordPress Theme Builder for Elementor" v. 1.3.0 is loaded by WordPress automatically on each request
89 characters long description:
HT Builder is a elementor addons package for Elementor page builder plugin for WordPress.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected8,393 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 34 | 1,147 | 611 | 6,293 |
CSS | 3 | 59 | 27 | 1,052 |
JavaScript | 7 | 288 | 146 | 791 |
JSON | 1 | 1 | 0 | 257 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 13.30 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 191 | |
▷ Static methods | 9 | 4.71% |
▷ Public methods | 158 | 82.72% |
▷ Protected methods | 32 | 16.75% |
▷ Private methods | 1 | 0.52% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 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
22 PNG files occupy 0.34MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/admin/assets/images/woolentor.png | 36.08KB | 38.07KB | 0.00% |
includes/admin/recommended-plugins/assets/images/extensions/woolentor-addons-pro.png | 3.20KB | 1.69KB | ▼ 47.09% |
(invalid) includes/admin/recommended-plugins/assets/images/extensions/was-this-helpful.png | 1.21KB | 0.00KB | ▼ 100.00% |
includes/admin/assets/images/ht-mega.png | 32.92KB | 34.79KB | 0.00% |
includes/admin/assets/images/layout/blog_layout_2.png | 72.77KB | 34.50KB | ▼ 52.58% |