Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼4.42ms] Passed 4 tests
A check of server-side resources used by Unlimited Theme Addon For Elementor and WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 41.75 ▲1.34 |
Dashboard /wp-admin | 3.99 ▲0.69 | 1,434.60 ▲1,388.69 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 42.91 ▼2.99 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 80.87 ▼17.48 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 38.09 ▲1.44 |
Server storage [IO: ▲5.95MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 432 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Unlimited Theme Addon For Elementor and WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲200 | 13.32 ▼1.08 | 1.88 ▼0.25 | 32.22 ▼12.81 |
Dashboard /wp-admin | 2,315 ▲126 | 4.88 ▼0.03 | 99.37 ▼17.08 | 43.43 ▼3.68 |
Posts /wp-admin/edit.php | 2,110 ▲24 | 2.02 ▲0.01 | 33.14 ▼3.63 | 33.40 ▲3.29 |
Add New Post /wp-admin/post-new.php | 1,552 ▲19 | 23.22 ▲0.03 | 659.86 ▼35.31 | 52.85 ▲2.18 |
Media Library /wp-admin/upload.php | 1,409 ▲18 | 4.21 ▲0.03 | 104.69 ▲3.01 | 45.38 ▲2.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_recent-posts
Smoke tests 50% 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 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
Almost there! Just fix the following items
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/blockquote/template/style-2.php
- > /wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/blockquote/template/style-1.php
- 75× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/unlimited-theme-addons/admin/template/premium.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url_raw() in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/client-logo/template/style-4.php:3
- > PHP Notice
Undefined variable: icon in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/counterup/template/style2.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url_raw() in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/client-logo/template/style-5.php:3
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Icons_Manager' not found in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/infobox/template/style-5.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_url() in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/client-logo/template/style-2.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_image() in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/team/template/style-09.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/unlimited-theme-addons/inc/codepopular-promotion.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_image() in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/team/template/style-11.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_attachment_image() in wp-content/plugins/unlimited-theme-addons/inc/elementor/widgets/team/template/style-default.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
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 require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
unlimited-theme-addons/unlimited-theme-addons.php 92% from 13 tests
The main file in "Unlimited Theme Addon For Elementor and WooCommerce" v. 1.1.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 202 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected67,460 lines of code in 337 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 212 | 9,375 | 18,379 | 42,230 |
CSS | 86 | 1,332 | 462 | 13,692 |
Sass | 18 | 881 | 0 | 5,069 |
JavaScript | 11 | 240 | 168 | 2,900 |
SVG | 2 | 1 | 0 | 2,684 |
Markdown | 3 | 222 | 0 | 623 |
JSON | 3 | 0 | 0 | 135 |
XML | 1 | 6 | 11 | 95 |
YAML | 1 | 6 | 0 | 32 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Please fix the following
- Cyclomatic complexity of classes has to be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.56 |
Average class complexity | 58.65 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 3 | |
Classes | 76 | |
▷ Abstract classes | 2 | 2.63% |
▷ Concrete classes | 74 | 97.37% |
▷ Final classes | 0 | 0.00% |
Methods | 1,463 | |
▷ Static methods | 196 | 13.40% |
▷ Public methods | 1,040 | 71.09% |
▷ Protected methods | 68 | 4.65% |
▷ Private methods | 355 | 24.27% |
Functions | 102 | |
▷ Named functions | 100 | 98.04% |
▷ Anonymous functions | 2 | 1.96% |
Constants | 128 | |
▷ Global constants | 103 | 80.47% |
▷ Class constants | 25 | 19.53% |
▷ Public constants | 25 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.04MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/unlimited-theme-addons.png | 18.65KB | 9.00KB | ▼ 51.71% |