Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.13MB] [CPU: ▼3.21ms] Passed 4 tests
This is a short check of server-side resources used by Stratum - Elementor Widgets
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 36.77 ▼6.34 |
Dashboard /wp-admin | 3.47 ▲0.17 | 52.39 ▲1.03 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 56.87 ▲9.69 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 84.26 ▼9.10 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.12 ▲1.57 |
Go Premium /wp-admin/admin.php?page=stratum-premium | 3.37 | 35.36 |
Settings /wp-admin/admin.php?page=stratum-settings | 3.37 | 36.93 |
Stratum /wp-admin/admin.php?page=stratum | 3.37 | 36.47 |
Server storage [IO: ▲1.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 159 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
stratum_db_version |
db_upgraded |
widget_recent-posts |
stratum_db_version_history |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Stratum - Elementor Widgets
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,055 ▲284 | 15.02 ▲0.43 | 2.32 ▲0.31 | 41.48 ▼3.31 |
Dashboard /wp-admin | 2,439 ▲265 | 6.62 ▲1.70 | 136.79 ▲30.96 | 45.04 ▲0.62 |
Posts /wp-admin/edit.php | 2,345 ▲256 | 3.59 ▲1.57 | 56.35 ▲18.32 | 36.08 ▼0.03 |
Add New Post /wp-admin/post-new.php | 1,558 ▲38 | 23.29 ▲0.11 | 555.67 ▼123.45 | 33.26 ▼16.72 |
Media Library /wp-admin/upload.php | 1,484 ▲93 | 4.33 ▲0.19 | 86.76 ▼13.16 | 42.89 ▼0.92 |
Go Premium /wp-admin/admin.php?page=stratum-premium | 1,045 | 3.25 | 45.71 | 24.98 |
Settings /wp-admin/admin.php?page=stratum-settings | 2,129 | 4.36 | 86.89 | 48.59 |
Stratum /wp-admin/admin.php?page=stratum | 1,411 | 3.23 | 41.99 | 82.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 8 options
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- stratum_db_version
- stratum_db_version_history
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/stratum/includes/templates/circle-progress-bar.php
- 63× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: type in wp-content/plugins/stratum/includes/templates/counter.php on line 8
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/stratum/includes/templates/horizontal-timeline.php on line 5
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/stratum/includes/templates/horizontal-timeline.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/stratum/includes/templates/content-switcher.php:5
- > PHP Notice
Undefined variable: type in wp-content/plugins/stratum/includes/templates/circle-progress-bar.php on line 7
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/stratum/includes/templates/price-table.php:3
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/stratum/includes/templates/vertical-timeline.php on line 5
- > PHP Notice
Undefined variable: type in wp-content/plugins/stratum/includes/templates/counter.php on line 13
- > PHP Notice
Undefined variable: type in wp-content/plugins/stratum/includes/templates/counter.php on line 11
- > PHP Notice
Undefined variable: type in wp-content/plugins/stratum/includes/templates/counter.php on line 16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in stratum/assets to your readme.txt
stratum/stratum.php Passed 13 tests
Analyzing the main PHP file in "Stratum - Elementor Widgets" version 1.3.15
92 characters long description:
Advanced Elementor addon to extend page builder capabilities and add more advanced features.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin28,696 lines of code in 153 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 68 | 3,010 | 745 | 23,227 |
JavaScript | 76 | 340 | 411 | 5,165 |
CSS | 7 | 32 | 8 | 189 |
SVG | 2 | 0 | 1 | 115 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 8.22 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 98.00 |
Average method complexity | 1.81 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 37.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 41 | |
▷ Abstract classes | 1 | 2.44% |
▷ Concrete classes | 40 | 97.56% |
▷ Final classes | 1 | 2.50% |
Methods | 351 | |
▷ Static methods | 8 | 2.28% |
▷ Public methods | 274 | 78.06% |
▷ Protected methods | 76 | 21.65% |
▷ Private methods | 1 | 0.28% |
Functions | 12 | |
▷ Named functions | 11 | 91.67% |
▷ Anonymous functions | 1 | 8.33% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin