Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼12.07ms] Passed 4 tests
A check of server-side resources used by Templementor - Persistent Elementor Templates
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.13 ▼33.27 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.60 ▼3.68 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.27 ▲2.59 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 84.73 ▼13.90 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 35.89 ▲2.89 |
Templementor /wp-admin/edit.php?post_type=tpm_templates | 3.30 | 35.05 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Templementor - Persistent Elementor Templates
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,803 ▲68 | 13.28 ▼1.14 | 1.59 ▼0.95 | 40.71 ▼6.93 |
Dashboard /wp-admin | 2,206 ▲18 | 5.81 ▲0.94 | 105.71 ▼14.33 | 38.61 ▼6.05 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.02 | 40.47 ▲4.82 | 37.95 ▲6.05 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.38 ▲0.92 | 622.89 ▼53.23 | 52.17 ▼1.45 |
Media Library /wp-admin/upload.php | 1,394 ▲6 | 4.31 ▲0.11 | 101.89 ▲3.90 | 42.25 ▼2.97 |
Templementor /wp-admin/edit.php?post_type=tpm_templates | 1,062 | 1.94 | 30.99 | 28.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/templementor/metabox.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/templementor/templates_pt.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/templementor/apply_template.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/templementor/admin_menu.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/templementor/templementor.php:18
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5 in templementor/assets to your readme.txt
templementor/templementor.php Passed 13 tests
The principal PHP file in "Templementor - Persistent Elementor Templates" v. 1.0.1 is loaded by WordPress automatically on each request
85 characters long description:
Create persistent templates with Elementor to shape up and edit your pages in minutes
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected310 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 157 | 56 | 310 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 31.00 |
▷ Minimum class complexity | 31.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 5 | 50.00% |
▷ Protected methods | 4 | 40.00% |
▷ Private methods | 1 | 10.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin