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.11MB] [CPU: ▼6.81ms] Passed 4 tests
Server-side resources used by Template Builder Elementor
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 40.68 ▼8.81 |
Dashboard /wp-admin | 3.41 ▲0.11 | 48.78 ▼3.17 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 53.32 ▲4.51 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.66 ▼13.70 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 37.82 ▼1.56 |
Set Template /wp-admin/admin.php?page=tmpenvo_add_menu_page | 3.28 | 33.12 |
Archive Templates /wp-admin/edit.php?post_type=tmpenvo_templ_arch | 3.40 | 40.35 |
Templates /wp-admin/edit.php?post_type=tmpenvo_template | 3.40 | 40.19 |
TmpEnvo Templates /wp-admin/options-general.php?page=tmpenvo-settings-admin | 3.27 | 37.74 |
Server storage [IO: ▲2.21MB] [DB: ▲0.01MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 83 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
elementor_cpt_support |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Template Builder Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,944 ▲173 | 13.59 ▼0.71 | 5.10 ▲3.16 | 38.84 ▼11.84 |
Dashboard /wp-admin | 2,283 ▲95 | 4.85 ▼0.14 | 98.91 ▼18.28 | 43.31 ▼1.76 |
Posts /wp-admin/edit.php | 2,162 ▲73 | 2.03 ▲0.03 | 41.46 ▲1.82 | 37.12 ▲2.54 |
Add New Post /wp-admin/post-new.php | 1,568 ▲31 | 23.49 ▲0.38 | 642.99 ▲8.14 | 54.07 ▼7.50 |
Media Library /wp-admin/upload.php | 1,450 ▲62 | 4.25 ▲0.08 | 103.03 ▼4.20 | 46.74 ▲1.24 |
Set Template /wp-admin/admin.php?page=tmpenvo_add_menu_page | 1,181 | 1.98 | 28.08 | 48.80 |
Archive Templates /wp-admin/edit.php?post_type=tmpenvo_templ_arch | 1,171 | 2.00 | 35.01 | 34.07 |
Templates /wp-admin/edit.php?post_type=tmpenvo_template | 1,168 | 1.96 | 32.78 | 35.32 |
TmpEnvo Templates /wp-admin/options-general.php?page=tmpenvo-settings-admin | 982 | 2.15 | 24.25 | 28.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- elementor_cpt_support
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tmpenvo-settings-admin
- > Notice in wp-content/plugins/template-builder-elementor/admin/class-tmpenvo-admin.php+68
Trying to access array offset on value of type bool
- 8 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=tmpenvo-settings-admin
- > Notice in wp-content/plugins/template-builder-elementor/admin/class-tmpenvo-admin.php+68
Trying to access array offset on value of type null
SRP Passed 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 SRP test was a success
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Donate link: Invalid URI found ("paypal.me/latheeshvmv")
template-builder-elementor/template-builder-elementor.php 92% from 13 tests
The main PHP script in "Template Builder Elementor" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin40,849 lines of code in 69 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 9 | 6,058 | 836 | 25,752 |
PHP | 53 | 1,644 | 1,158 | 14,385 |
JavaScript | 6 | 17 | 0 | 676 |
Markdown | 1 | 11 | 0 | 36 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 24.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 199.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 5 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 1 | 3.45% |
Methods | 273 | |
▷ Static methods | 9 | 3.30% |
▷ Public methods | 213 | 78.02% |
▷ Protected methods | 41 | 15.02% |
▷ Private methods | 19 | 6.96% |
Functions | 33 | |
▷ Named functions | 30 | 90.91% |
▷ Anonymous functions | 3 | 9.09% |
Constants | 5 | |
▷ Global constants | 2 | 40.00% |
▷ Class constants | 3 | 60.00% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin