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.02MB] [CPU: ▼6.92ms] Passed 4 tests
Server-side resources used by Elementor Timeline Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.56 ▼0.15 |
Dashboard /wp-admin | 3.32 ▲0.02 | 55.20 ▼2.88 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.98 ▼3.61 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.74 ▼21.02 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.49 ▲0.47 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Elementor Timeline Widget: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,843 ▲82 | 14.25 ▼0.13 | 1.81 ▼0.08 | 40.14 ▲0.11 |
Dashboard /wp-admin | 2,232 ▲55 | 5.54 ▼0.12 | 84.52 ▼6.95 | 83.10 ▲36.84 |
Posts /wp-admin/edit.php | 2,159 ▲59 | 2.12 ▲0.18 | 35.17 ▼0.81 | 40.80 ▲6.91 |
Add New Post /wp-admin/post-new.php | 1,579 ▲51 | 23.00 ▼0.12 | 676.60 ▼5.79 | 55.17 ▼8.63 |
Media Library /wp-admin/upload.php | 1,455 ▲55 | 4.28 ▲0.07 | 98.97 ▼2.59 | 75.18 ▲31.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Warning
include(): Failed opening 'wp-content/plugins/3r-elementor-timeline-widget/includes/admin-notice/ca-framework/ca-framework/loader.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/3r-elementor-timeline-widget/includes/admin-notice/ca-framework/example.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'CA_Framework\\Require_Control' not found in wp-content/plugins/3r-elementor-timeline-widget/includes/admin-notice/ca-framework/example.php:15
- > PHP Warning
include(wp-content/plugins/3r-elementor-timeline-widget/includes/admin-notice/ca-framework/ca-framework/loader.php): failed to open stream: No such file or directory in wp-content/plugins/3r-elementor-timeline-widget/includes/admin-notice/ca-framework/example.php on line 11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/3r-elementor-timeline-widget/includes/aep-notice/admin-notice.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in 3r-elementor-timeline-widget/assets to your readme.txt
3r-elementor-timeline-widget/init.php 77% from 13 tests
"Elementor Timeline Widget" version 2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Requires at least: The required version number did not match the one declared in readme.txt ("5.0" instead of "3.0.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("3r-elementor-timeline-widget.php" instead of "init.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
Good job! No executable or dangerous file extensions detected1,410 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 194 | 293 | 862 |
CSS | 3 | 12 | 13 | 461 |
Markdown | 1 | 9 | 0 | 47 |
JavaScript | 2 | 3 | 0 | 27 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 12.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 3 | 5.88% |
▷ Public methods | 41 | 80.39% |
▷ Protected methods | 3 | 5.88% |
▷ Private methods | 7 | 13.73% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
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 |
(invalid) includes/admin-notice/ca-framework/assets/img/Ultra-Addons-Loto-for-white.png | 4.03KB | 0.00KB | ▼ 100.00% |