Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.64ms] Passed 4 tests
An overview of server-side resources used by SKT Addons for Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 36.93 ▼0.24 |
Dashboard /wp-admin | 3.44 ▲0.14 | 46.42 ▼5.56 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.74 ▼1.47 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 84.03 ▼7.27 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 37.18 ▲5.15 |
Server storage [IO: ▲13.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 517 new files
Database: no new tables, 8 new options
New WordPress options |
---|
skt_addons_elementor_addons_activation_time |
theysaidso_admin_options |
can_compress_scripts |
sktaddonselementor_do_activation_direct |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SKT Addons for Elementor
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,808 ▲46 | 14.68 ▲0.60 | 1.75 ▼0.14 | 39.14 ▲2.40 |
Dashboard /wp-admin | 2,213 ▲35 | 5.54 ▼0.13 | 90.09 ▼23.26 | 40.31 ▼6.48 |
Posts /wp-admin/edit.php | 2,118 ▲18 | 2.01 ▲0.06 | 40.50 ▼2.05 | 36.78 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,539 ▲13 | 23.33 ▲0.14 | 604.37 ▼91.47 | 49.16 ▲0.60 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.32 ▲0.09 | 97.07 ▼11.41 | 42.67 ▼1.18 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 8 options
- skt_addons_elementor_addons_activation_time
- sktaddonselementor_do_activation_direct
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
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
Even though everything seems fine, this is not 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
Almost there! Just fix the following items
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/skt-addons-for-elementor/controls/indicator-selector.php:11
- > PHP Fatal error
Uncaught Error: Class 'Skt_Addons_Elementor\\Elementor\\Widget\\Base' not found in wp-content/plugins/skt-addons-for-elementor/widgets/link-hover/widget.php:15
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Base_Data_Control' not found in wp-content/plugins/skt-addons-for-elementor/controls/image-selector.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Contributors: Contributors not specified
skt-addons-for-elementor/plugin.php 69% from 13 tests
This is the main PHP file of "SKT Addons for Elementor" version 1.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Domain Path: The domain path points to a folder that does not exist ("/languages/")
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 231 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("skt-addons-for-elementor.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin181,074 lines of code in 451 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 180 | 12,245 | 6,031 | 100,837 |
JavaScript | 53 | 8,708 | 9,975 | 54,906 |
SVG | 94 | 8 | 52 | 16,137 |
CSS | 118 | 571 | 255 | 8,607 |
Sass | 2 | 27 | 5 | 262 |
LESS | 2 | 23 | 6 | 239 |
Markdown | 2 | 32 | 0 | 86 |
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.20 |
Average class complexity | 15.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 63.00 |
Code structure | ||
---|---|---|
Namespaces | 16 | |
Interfaces | 0 | |
Traits | 6 | |
Classes | 164 | |
▷ Abstract classes | 3 | 1.83% |
▷ Concrete classes | 161 | 98.17% |
▷ Final classes | 0 | 0.00% |
Methods | 1,703 | |
▷ Static methods | 234 | 13.74% |
▷ Public methods | 733 | 43.04% |
▷ Protected methods | 963 | 56.55% |
▷ Private methods | 7 | 0.41% |
Functions | 87 | |
▷ Named functions | 80 | 91.95% |
▷ Anonymous functions | 7 | 8.05% |
Constants | 31 | |
▷ Global constants | 8 | 25.81% |
▷ Class constants | 23 | 74.19% |
▷ Public constants | 23 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/imgs/admin/documentation-img.png | 86.03KB | 91.12KB | 0.00% |
assets/imgs/left-logo.png | 1.80KB | 1.24KB | ▼ 31.06% |
assets/imgs/logo.png | 1.80KB | 1.24KB | ▼ 31.06% |