Benchmarks
Plugin footprint 65% 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: ▲5.01MB] [CPU: ▼271.65ms] 75% from 4 tests
Analyzing server-side resources used by SKT Templates - Elementor & Gutenberg templates
It is recommended to improve the following
- Extra RAM: The extra memory usage should kept under 5MB (currently 5.01MB on /wp-admin/admin.php?page=skt_template_directory)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.64 ▲5.12 | 80.40 ▲31.56 |
Dashboard /wp-admin | 8.66 ▲5.25 | 57.39 ▲24.92 |
Posts /wp-admin/edit.php | 8.66 ▲5.01 | 61.21 ▲22.73 |
Add New Post /wp-admin/post-new.php | 11.64 ▲4.67 | 114.95 ▼1,164.11 |
Media Library /wp-admin/upload.php | 8.66 ▲5.36 | 55.08 ▲29.86 |
Gutenberg Templates /wp-admin/admin.php?page=skt_template_gutenberg | 8.66 | 49.16 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.66 | 47.77 |
SKT Templates /wp-admin/admin.php?page=skt-templates | 8.66 | 47.32 |
About Templates /wp-admin/admin.php?page=skt_template_about | 8.66 | 58.32 |
Elementor Templates /wp-admin/admin.php?page=skt_template_directory | 9.04 | 68.18 |
Server storage [IO: ▲3.85MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 261 new files
Database: no new tables, 4 new options
New WordPress options |
---|
fs_accounts |
fs_gdpr |
fs_debug_mode |
fs_active_plugins |
Browser metrics Passed 4 tests
An overview of browser requirements for SKT Templates - Elementor & Gutenberg templates
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,882 ▲138 | 16.12 ▼0.24 | 6.08 ▼0.43 | 2.31 ▼0.06 |
Dashboard /wp-admin | 3,009 ▲155 | 6.29 ▼0.16 | 122.34 ▼14.26 | 195.42 ▲36.48 |
Posts /wp-admin/edit.php | 2,802 ▲114 | 3.32 ▼0.11 | 66.88 ▲4.41 | 168.74 ▲26.28 |
Add New Post /wp-admin/post-new.php | 1,703 ▼70 | 21.54 ▼0.44 | 379.45 ▼117.71 | 201.52 ▲41.35 |
Media Library /wp-admin/upload.php | 1,813 ▲115 | 5.94 ▲0.18 | 128.47 ▼17.04 | 225.71 ▲41.40 |
Gutenberg Templates /wp-admin/admin.php?page=skt_template_gutenberg | 2,307 | 3.60 | 60.41 | 195.72 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,492 | 2.66 | 56.43 | 116.87 |
SKT Templates /wp-admin/admin.php?page=skt-templates | 1,347 | 2.65 | 54.33 | 170.02 |
About Templates /wp-admin/admin.php?page=skt_template_about | 1,391 | 9.15 | 293.49 | 184.88 |
Elementor Templates /wp-admin/admin.php?page=skt_template_directory | 10,703 | 2.79 | 94.69 | 293.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/skt-templates/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- The uninstall procedure has failed, leaving 4 options in the database
- fs_debug_mode
- fs_gdpr
- fs_active_plugins
- fs_accounts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=skt-templates
- > request to
- > Notice in wp-config.php+20
Undefined index: REQUEST_METHOD
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 53× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/templates/builder-fullwidth-gb.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/flash/inline-style.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/oceanwp/inline-style.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/enlightenment/inline-style.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/virtue/inline-style.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/twentyfifteen/inline-style.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/experon/inline-style.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/shapely/inline-style.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/news-portal/inline-style.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_add_inline_style() in wp-content/plugins/skt-templates/vendor/websites/full-width-page-templates/themes/envy-blog/inline-style.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
These are user-side errors you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=skt_template_directory
- > Network (severe)
wp-admin/99 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=skt_template_about
- > Network (severe)
wp-content/plugins/skt-templates/core/assets/js/skt-templates-admin.js?ver=1.0.0 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
5 plugin tags: templates, themes, elementor, gutenberg, one click demo import
skt-templates/skt-templates.php 92% from 13 tests
This is the main PHP file of "SKT Templates - Elementor & Gutenberg templates" version 4.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Description: Keep the plugin description shorter than 140 characters (currently 719 characters long)
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected41,732 lines of code in 209 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 187 | 7,781 | 18,158 | 35,095 |
CSS | 15 | 927 | 434 | 5,763 |
JavaScript | 5 | 76 | 95 | 633 |
Markdown | 1 | 68 | 0 | 214 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 2,910)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 65.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,910.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 66 | |
▷ Abstract classes | 3 | 4.55% |
▷ Concrete classes | 63 | 95.45% |
▷ Final classes | 0 | 0.00% |
Methods | 1,332 | |
▷ Static methods | 193 | 14.49% |
▷ Public methods | 956 | 71.77% |
▷ Protected methods | 28 | 2.10% |
▷ Private methods | 348 | 26.13% |
Functions | 109 | |
▷ Named functions | 102 | 93.58% |
▷ Anonymous functions | 7 | 6.42% |
Constants | 125 | |
▷ Global constants | 100 | 80.00% |
▷ Class constants | 25 | 20.00% |
▷ Public constants | 25 | 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
6 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
images/search-icon.png | 0.36KB | 0.36KB | 0.00% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |
images/logo.png | 2.09KB | 1.52KB | ▼ 27.08% |
freemius/assets/img/skt-templates.png | 3.22KB | 2.24KB | ▼ 30.36% |