93% 3r-elementor-timeline-widget

Code Review | Elementor Timeline Widget

WordPress plugin Elementor Timeline Widget scored 93% from 54 tests.

About plugin

  • Plugin page: 3r-elementor-time...
  • Plugin version: 1.6
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.8
  • WordPress version: 5.9.2
  • First release: Oct 21, 2018
  • Latest release: Sep 8, 2021
  • Number of updates: 42
  • Update frequency: every 25.4 days
  • Top authors: rafiul17 (100%)

Code review

54 tests

User reviews

18 reviews

Install metrics

9,000+ active / 39,425 total downloads


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
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.0360.38 ▲10.43
Dashboard /wp-admin3.43 ▲0.0335.08 ▲2.20
Posts /wp-admin/edit.php3.66 ▲0.0236.68 ▼0.68
Add New Post /wp-admin/post-new.php6.90 ▼0.0791.39 ▼1,177.77
Media Library /wp-admin/upload.php3.31 ▲0.0223.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
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,870 ▲11615.63 ▼0.046.72 ▲0.812.51 ▲0.17
Dashboard /wp-admin2,966 ▲1086.17 ▲0.00117.56 ▼13.62203.93 ▲43.40
Posts /wp-admin/edit.php2,763 ▲753.26 ▲0.0262.33 ▼0.36153.30 ▲12.32
Add New Post /wp-admin/post-new.php1,677 ▼7521.27 ▼0.36376.22 ▼70.53153.33 ▼1.70
Media Library /wp-admin/upload.php1,768 ▲685.69 ▲0.14124.65 ▼19.85225.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

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


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: The official readme.txt might help

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:
LanguageFilesBlank linesComment linesLines of code

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 code0.19
Average class complexity6.50
▷ Minimum class complexity5.00
▷ Maximum class complexity8.00
Average method complexity2.10
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
▷ Static methods110.00%
▷ Public methods770.00%
▷ Protected methods330.00%
▷ Private methods00.00%
▷ Named functions4100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.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