Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.40MB] [CPU: ▼0.61ms] Passed 4 tests
A check of server-side resources used by Template Kit - Export
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.92 ▲0.46 | 45.34 ▲2.27 |
Dashboard /wp-admin | 3.74 ▲0.39 | 54.13 ▼15.57 |
Posts /wp-admin/edit.php | 3.79 ▲0.44 | 66.41 ▲13.22 |
Add New Post /wp-admin/post-new.php | 6.28 ▲0.40 | 97.38 ▲8.57 |
Media Library /wp-admin/upload.php | 3.60 ▲0.37 | 40.21 ▲2.28 |
Export /wp-admin/admin.php?page=envato-export-template-kit | 3.58 | 33.73 |
Templates /wp-admin/edit.php?post_type=envato_tk_templates | 3.71 | 44.52 |
Server storage [IO: ▲0.21MB] [DB: ▲0.00MB] 67% from 3 tests
Filesystem and database footprint
Please try to fix the following items
- Illegal file modification detected: 1 file (4.00KB) outside of "wp-content/plugins/template-kit-export/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 48 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
envato_tk_settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Template Kit - Export
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,949 ▲188 | 13.83 ▼0.52 | 4.97 ▲3.29 | 36.57 ▼5.03 |
Dashboard /wp-admin | 2,269 ▲63 | 5.89 ▲1.00 | 98.33 ▼9.35 | 40.36 ▼7.04 |
Posts /wp-admin/edit.php | 2,152 ▲49 | 2.06 ▲0.02 | 46.29 ▲0.66 | 49.46 ▲14.32 |
Add New Post /wp-admin/post-new.php | 1,571 ▲40 | 23.70 ▲0.43 | 640.47 ▼82.33 | 49.76 ▼0.72 |
Media Library /wp-admin/upload.php | 1,451 ▲54 | 4.30 ▼0.00 | 103.59 ▲3.41 | 45.23 ▼0.45 |
Export /wp-admin/admin.php?page=envato-export-template-kit | 940 | 1.82 | 29.85 | 35.18 |
Templates /wp-admin/edit.php?post_type=envato_tk_templates | 1,124 | 2.02 | 36.99 | 30.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- envato_tk_settings
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/template-kit-export/admin/index.php on line 1
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/template-kit-export/includes/index.php on line 1
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/template-kit-export/index.php on line 1
- > PHP Warning
Unterminated comment starting line 1 in wp-content/plugins/template-kit-export/public/index.php on line 1
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
3 plugin tags: template, elementor, templates
template-kit-export/template-kit-export.php Passed 13 tests
The main PHP file in "Template Kit - Export" ver. 1.0.21 adds more information about the plugin and also serves as the entry point for this plugin
54 characters long description:
Use this plugin to export Template Kits for Elementor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin2,667 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 27 | 406 | 1,406 | 2,426 |
JavaScript | 6 | 11 | 76 | 106 |
CSS | 4 | 52 | 4 | 101 |
HTML | 1 | 0 | 6 | 23 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 25.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 109.00 |
Average method complexity | 3.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 1 | 8.33% |
▷ Concrete classes | 11 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 95 | |
▷ Static methods | 4 | 4.21% |
▷ Public methods | 84 | 88.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 11.58% |
Functions | 6 | |
▷ Named functions | 2 | 33.33% |
▷ Anonymous functions | 4 | 66.67% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin