Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼294.31ms] Passed 4 tests
Server-side resources used by Elementor Timeline Widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.03 | 60.38 ▲10.43 |
Dashboard /wp-admin | 3.43 ▲0.03 | 35.08 ▲2.20 |
Posts /wp-admin/edit.php | 3.66 ▲0.02 | 36.68 ▼0.68 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 91.39 ▼1,177.77 |
Media Library /wp-admin/upload.php | 3.31 ▲0.02 | 23.75 ▼0.98 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Elementor Timeline Widget
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,870 ▲116 | 15.63 ▼0.04 | 6.72 ▲0.81 | 2.51 ▲0.17 |
Dashboard /wp-admin | 2,966 ▲108 | 6.17 ▲0.00 | 117.56 ▼13.62 | 203.93 ▲43.40 |
Posts /wp-admin/edit.php | 2,763 ▲75 | 3.26 ▲0.02 | 62.33 ▼0.36 | 153.30 ▲12.32 |
Add New Post /wp-admin/post-new.php | 1,677 ▼75 | 21.27 ▼0.36 | 376.22 ▼70.53 | 153.33 ▼1.70 |
Media Library /wp-admin/upload.php | 1,768 ▲68 | 5.69 ▲0.14 | 124.65 ▼19.85 | 225.64 ▲42.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled completely, with no zombie files or tables
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > 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 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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in 3r-elementor-timeline-widget/assets to your readme.txt
3r-elementor-timeline-widget/init.php 85% from 13 tests
The principal PHP file in "Elementor Timeline Widget" v. 1.6 is loaded by WordPress automatically on each request
Please take the time to 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
- Main file name: Even though not officially enforced, the main 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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin721 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 45 | 80 | 409 |
CSS | 2 | 8 | 7 | 285 |
JavaScript | 1 | 0 | 0 | 14 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 6.50 |
▷ Minimum class complexity | 5.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 10 | |
▷ Static methods | 1 | 10.00% |
▷ Public methods | 7 | 70.00% |
▷ Protected methods | 3 | 30.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin