Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼6.77ms] Passed 4 tests
An overview of server-side resources used by Timeline Widget For Elementor (Elementor Timeline, Vertical & Horizontal Timeline)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.56 ▼1.29 |
Dashboard /wp-admin | 3.34 ▼0.01 | 45.33 ▼18.44 |
Posts /wp-admin/edit.php | 3.46 ▲0.09 | 46.25 ▲0.97 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 91.12 ▼7.48 |
Media Library /wp-admin/upload.php | 3.27 ▲0.03 | 36.15 ▲0.13 |
Server storage [IO: ▲1.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 9 new options
New WordPress options |
---|
twae-free-v |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
twae-installDate |
twae-type |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Timeline Widget For Elementor (Elementor Timeline, Vertical & Horizontal Timeline)
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,809 ▲47 | 14.70 ▲0.40 | 1.77 ▲0.02 | 43.89 ▼0.96 |
Dashboard /wp-admin | 2,214 ▲34 | 5.57 ▼0.07 | 96.78 ▲8.69 | 45.14 ▲4.07 |
Posts /wp-admin/edit.php | 2,120 ▲20 | 2.02 ▼0.13 | 41.51 ▲5.39 | 36.75 ▲1.71 |
Add New Post /wp-admin/post-new.php | 1,540 ▲14 | 23.35 ▼0.29 | 658.35 ▼43.58 | 64.04 ▲8.41 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.25 ▲0.06 | 104.23 ▲8.05 | 43.44 ▼1.31 |
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
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- widget_theysaidso_widget
- theysaidso_admin_options
- twae-installDate
- twae-free-v
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- twae-type
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/timeline-widget-addon-for-elementor/widgets/editor-layouts/vertical-template.php
- > /wp-content/plugins/timeline-widget-addon-for-elementor/widgets/editor-layouts/horizontal-template.php
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'Elementor\\Widget_Base' not found in wp-content/plugins/timeline-widget-addon-for-elementor/widgets/twae-widget.php:13
- > PHP Notice
Undefined variable: dir in wp-content/plugins/timeline-widget-addon-for-elementor/widgets/editor-layouts/horizontal-template.php on line 20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
10 plugin tags: elementor widgets, addons, elementor timeline, timeline, elementor addon...
timeline-widget-addon-for-elementor/timeline-widget-addon-for-elementor.php 85% from 13 tests
"Timeline Widget For Elementor (Elementor Timeline, Vertical & Horizontal Timeline)" version 1.5.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 182 characters long)
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin4,554 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 323 | 482 | 2,518 |
CSS | 8 | 328 | 132 | 1,865 |
JavaScript | 3 | 28 | 3 | 171 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 18.62 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 54.00 |
Average method complexity | 3.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 3 | 37.50% |
Methods | 66 | |
▷ Static methods | 6 | 9.09% |
▷ Public methods | 55 | 83.33% |
▷ Protected methods | 5 | 7.58% |
▷ Private methods | 6 | 9.09% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 6 | |
▷ Global constants | 5 | 83.33% |
▷ Class constants | 1 | 16.67% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
21 compressed PNG files occupy 0.62MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/pro/slideshow-settings.png | 13.47KB | 13.95KB | 0.00% |
assets/images/pro/single-color-settings.png | 18.98KB | 19.13KB | 0.00% |
assets/images/pro/image-style.png | 14.92KB | 15.46KB | 0.00% |
assets/images/amazon-2.png | 173.47KB | 185.88KB | 0.00% |
assets/images/pro/layout-settings.png | 12.93KB | 13.15KB | 0.00% |