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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.92MB] [CPU: ▲1.02ms] Passed 4 tests
Server-side resources used by Softtemplates For Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.32 ▲0.86 | 42.57 ▲2.85 |
Dashboard /wp-admin | 4.26 ▲0.92 | 48.76 ▼9.61 |
Posts /wp-admin/edit.php | 4.32 ▲0.96 | 54.96 ▲11.02 |
Add New Post /wp-admin/post-new.php | 6.94 ▲1.06 | 86.31 ▼0.19 |
Media Library /wp-admin/upload.php | 4.19 ▲0.96 | 43.18 ▲12.80 |
Template Library /wp-admin/edit.php?post_type=soft-template-core | 4.24 | 38.62 |
SoftTemplate /wp-admin/admin.php?page=soft-template-core | 4.43 | 39.73 |
Server storage [IO: ▲1.67MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 221 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Softtemplates For Elementor: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲188 | 13.45 ▼0.90 | 8.29 ▲6.61 | 39.89 ▼1.76 |
Dashboard /wp-admin | 2,225 ▲44 | 5.62 ▼0.05 | 88.57 ▼12.88 | 39.68 ▼2.88 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 1.98 ▼0.01 | 34.66 ▼0.61 | 33.25 ▼7.23 |
Add New Post /wp-admin/post-new.php | 1,553 ▲27 | 23.35 ▲0.19 | 658.38 ▲25.57 | 55.59 ▲5.21 |
Media Library /wp-admin/upload.php | 1,427 ▲33 | 4.21 ▲0.01 | 100.05 ▼5.10 | 46.25 ▲3.84 |
Template Library /wp-admin/edit.php?post_type=soft-template-core | 1,209 | 1.96 | 31.06 | 29.47 |
SoftTemplate /wp-admin/admin.php?page=soft-template-core | 1,091 | 2.09 | 28.32 | 35.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 10× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/softtemplates-for-elementor/templates/dashboard/tabs.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/template-types-tabs.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-filters.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-filters-item.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-content.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-preview.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-tabs.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-tabs-item.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-loading.php
- > /wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-templates.php
- 49× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function has_post_thumbnail() in wp-content/plugins/softtemplates-for-elementor/templates/soft-template-post-archive/elements/featured-image-minimal.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function post_password_required() in wp-content/plugins/softtemplates-for-elementor/templates/soft-template-post-archive/elements/excerpt.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function post_class() in wp-content/plugins/softtemplates-for-elementor/templates/soft-template-post-archive/global/standard.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/softtemplates-for-elementor/templates/editor/template-library-error.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/softtemplates-for-elementor/templates/template-types-popup.php:10
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/softtemplates-for-elementor/templates/soft-template-post-archive/elements/featured-image.php on line 1
- > PHP Notice
Undefined variable: settings in wp-content/plugins/softtemplates-for-elementor/templates/soft-template-post-archive/elements/date-boxed.php on line 1
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/softtemplates-for-elementor/templates/soft-template-post-archive/elements/date-boxed.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/softtemplates-for-elementor/overrides/header-override.php:10
- > PHP Notice
Undefined variable: settings in wp-content/plugins/softtemplates-for-elementor/templates/soft-template-post-archive/elements/featured-image-minimal.php on line 1
- > 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 83% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in softtemplates-for-elementor/assets to your readme.txt
- Tags: There are too many tags (11 tag instead of maximum 10)
- Donate link: Invalid url: "#"
softtemplates-for-elementor/soft-template-core.php 85% from 13 tests
The main PHP file in "Softtemplates For Elementor" ver. 1.0.8 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("softtemplates-for-elementor.php" instead of "soft-template-core.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin30,618 lines of code in 215 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 145 | 4,633 | 4,265 | 24,053 |
JavaScript | 26 | 832 | 205 | 3,603 |
Sass | 26 | 234 | 2 | 2,935 |
CSS | 17 | 0 | 0 | 18 |
SVG | 1 | 0 | 0 | 9 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 15.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 52.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 92 | |
▷ Abstract classes | 6 | 6.52% |
▷ Concrete classes | 86 | 93.48% |
▷ Final classes | 0 | 0.00% |
Methods | 834 | |
▷ Static methods | 43 | 5.16% |
▷ Public methods | 734 | 88.01% |
▷ Protected methods | 91 | 10.91% |
▷ Private methods | 9 | 1.08% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin