Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲3.35MB] [CPU: ▲49.61ms] Passed 4 tests
An overview of server-side resources used by WP Templata - WordPress Template Library for Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.35 ▲3.89 | 100.72 ▲62.51 |
Dashboard /wp-admin | 7.37 ▲4.02 | 106.75 ▲47.90 |
Posts /wp-admin/edit.php | 7.37 ▲4.01 | 106.57 ▲58.29 |
Add New Post /wp-admin/post-new.php | 7.37 ▲1.48 | 159.90 ▲72.14 |
Media Library /wp-admin/upload.php | 7.37 ▲4.13 | 63.54 ▲29.72 |
Templates Library /wp-admin/admin.php?page=wptemplata-templates | 8.43 | 161.65 |
Settings /wp-admin/admin.php?page=wptemplata | 7.37 | 93.07 |
Server storage [IO: ▲1.63MB] [DB: ▲0.60MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
wptemplata_general_tabs |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
WP Templata - WordPress Template Library for Elementor: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,966 ▲220 | 14.66 ▲0.04 | 1.61 ▲0.03 | 38.84 ▼7.37 |
Dashboard /wp-admin | 2,375 ▲198 | 6.35 ▲0.76 | 121.22 ▲33.55 | 42.35 ▼2.40 |
Posts /wp-admin/edit.php | 2,303 ▲203 | 3.56 ▲1.55 | 45.86 ▲9.26 | 31.66 ▼7.96 |
Add New Post /wp-admin/post-new.php | 1,571 ▲45 | 22.03 ▼1.04 | 614.58 ▼103.64 | 38.87 ▼12.98 |
Media Library /wp-admin/upload.php | 1,440 ▲40 | 4.28 ▲0.11 | 79.85 ▼26.32 | 44.57 ▼4.80 |
Templates Library /wp-admin/admin.php?page=wptemplata-templates | 1,623 | 9.83 | 166.26 | 50.17 |
Settings /wp-admin/admin.php?page=wptemplata | 1,041 | 3.45 | 46.24 | 66.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.60MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- wptemplata_general_tabs
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_die() in wp-content/plugins/wptemplata/index.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/wptemplata/includes/admin/view/templates_list.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/fashion_h1.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/cosmetic_h6.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/carmotors_h35.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/book_h20.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/animalspets_h37.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/electronics_h9.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/food_h22.jpg - Failed to load resource: the server responded with a status of 404 ()
- > GET request to /wp-admin/admin.php?page=wptemplata-templates
- > Network (severe)
https://api.hasthemes.com/api/wptemplata/layout-image/thumb/flowers_h31.jpg - Failed to load resource: the server responded with a status of 404 ()
Optimizations
Plugin configuration 96% from 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: astra template, pre build template, elementor, wp template, template
wptemplata/wptemplata.php 92% from 13 tests
The main PHP script in "WP Templata - WordPress Template Library for Elementor" version 1.0.7 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected16,978 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 1 | 1,489 | 0 | 14,469 |
CSS | 2 | 125 | 33 | 963 |
PHP | 8 | 260 | 277 | 960 |
JavaScript | 6 | 103 | 113 | 586 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.03 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 64 | |
▷ Static methods | 5 | 7.81% |
▷ Public methods | 62 | 96.88% |
▷ Protected methods | 1 | 1.56% |
▷ Private methods | 1 | 1.56% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 9 | |
▷ Global constants | 8 | 88.89% |
▷ Class constants | 1 | 11.11% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected