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: ▲0.52MB] [CPU: ▼7.31ms] Passed 4 tests
An overview of server-side resources used by Split Test For Elementor
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.01 ▲0.54 | 41.04 ▼5.46 |
Dashboard /wp-admin | 3.84 ▲0.49 | 59.21 ▼3.56 |
Posts /wp-admin/edit.php | 3.90 ▲0.53 | 68.19 ▲22.12 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.56 | 100.14 ▼42.32 |
Media Library /wp-admin/upload.php | 3.76 ▲0.53 | 59.10 ▲24.23 |
Split Test /wp-admin/options-general.php?page=split-test-for-elementor | 3.65 | 44.79 |
Server storage [IO: ▲0.55MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 69 new files
Database: 4 new tables, 9 new options
New tables |
---|
wp_elementor_splittest_interactions |
wp_elementor_splittest_variations |
wp_elementor_splittest_post |
wp_elementor_splittest |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
split_test_for_elementor_db_version |
rocket_split_test_variant_distribution_type |
can_compress_scripts |
rocket_split_test_cache_buster_active |
Browser metrics Passed 4 tests
An overview of browser requirements for Split Test For Elementor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲86 | 14.34 ▼0.36 | 1.88 ▼0.26 | 39.31 ▼3.10 |
Dashboard /wp-admin | 2,198 ▲21 | 5.52 ▼0.03 | 93.89 ▼7.08 | 81.85 ▲35.22 |
Posts /wp-admin/edit.php | 2,121 ▲21 | 1.97 ▼0.11 | 38.62 ▲2.81 | 34.08 ▲0.73 |
Add New Post /wp-admin/post-new.php | 1,693 ▲164 | 22.26 ▼0.83 | 643.30 ▼20.07 | 56.20 ▲10.02 |
Media Library /wp-admin/upload.php | 1,415 ▲15 | 4.22 ▼0.01 | 100.33 ▲5.89 | 72.17 ▲30.42 |
Split Test /wp-admin/options-general.php?page=split-test-for-elementor | 804 | 2.00 | 28.37 | 26.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The plugin did not uninstall successfully, leaving 4 tables in the database
- wp_elementor_splittest_post
- wp_elementor_splittest_variations
- wp_elementor_splittest
- wp_elementor_splittest_interactions
- Zombie WordPress options detected upon uninstall: 9 options
- split_test_for_elementor_db_version
- widget_theysaidso_widget
- rocket_split_test_cache_buster_active
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- rocket_split_test_variant_distribution_type
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=split-test-for-elementor
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=split-test-for-elementor
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 12× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SplitTestForElementor\\classes\\misc\\LicenceManager' not found in wp-content/plugins/split-test-for-elementor/Admin/views/test/index.view.php:2
- > PHP Notice
Undefined variable: scope in wp-content/plugins/split-test-for-elementor/Admin/views/test/form.view.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/split-test-for-elementor/Admin/views/test/form.view.php:6
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/split-test-for-elementor/Admin/views/statistics/index.view.php on line 25
- > PHP Notice
Undefined variable: statsForChart in wp-content/plugins/split-test-for-elementor/Admin/views/statistics/index.view.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/split-test-for-elementor/plugin.php:59
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/split-test-for-elementor/Admin/views/statistics/index.view.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/split-test-for-elementor/Admin/Classes/Elementor/ConversionWidget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/split-test-for-elementor/Admin/views/test/form.view.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function admin_url() in wp-content/plugins/split-test-for-elementor/Admin/views/test/form.view.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
3 plugin tags: online marketing, split testing, elementor
split-test-for-elementor/plugin.php 92% from 13 tests
The primary PHP file in "Split Test For Elementor" version 1.7.4 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("split-test-for-elementor.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected8,950 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 60 | 1,023 | 646 | 4,287 |
JSON | 2 | 0 | 0 | 3,925 |
CSS | 1 | 85 | 0 | 409 |
JavaScript | 2 | 71 | 38 | 329 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 11.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 72.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 14 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 49 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 49 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 202 | |
▷ Static methods | 26 | 12.87% |
▷ Public methods | 181 | 89.60% |
▷ Protected methods | 2 | 0.99% |
▷ Private methods | 19 | 9.41% |
Functions | 25 | |
▷ Named functions | 3 | 12.00% |
▷ Anonymous functions | 22 | 88.00% |
Constants | 12 | |
▷ Global constants | 9 | 75.00% |
▷ Class constants | 3 | 25.00% |
▷ 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
Admin/assets/images/icon.png | 3.29KB | 0.76KB | ▼ 76.92% |