78% timeline-for-beaver-builder

Code Review | Timeline Module for Beaver Builder

WordPress plugin Timeline Module for Beaver Builder scored78%from 54 tests.

About plugin

  • Plugin page: timeline-for-beav...
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.3
  • WordPress version: 6.3.1
  • First release: Dec 5, 2016
  • Latest release: Aug 17, 2023
  • Number of updates: 27
  • Update frequency: every 90.4 days
  • Top authors: brainstormworg (55.56%)Nikschavan (40.74%)patilvikasj (11.11%)

Code review

54 tests

User reviews

9 reviews

Install metrics

3,000+ active /36,561 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.01MB] [CPU: ▼4.05ms] Passed 4 tests

Analyzing server-side resources used by Timeline Module for Beaver Builder
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0135.73 ▼6.84
Dashboard /wp-admin3.32 ▲0.0145.25 ▼3.59
Posts /wp-admin/edit.php3.37 ▲0.0146.76 ▼3.75
Add New Post /wp-admin/post-new.php5.90 ▲0.01108.06 ▲8.41
Media Library /wp-admin/upload.php3.24 ▲0.0132.99 ▼2.01

Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget
widget_recent-posts
db_upgraded
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Timeline Module for Beaver Builder
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,811 ▲6513.24 ▼1.051.70 ▲0.0041.66 ▲1.67
Dashboard /wp-admin2,217 ▲294.86 ▼0.06106.92 ▼7.9244.25 ▲2.30
Posts /wp-admin/edit.php2,099 ▲72.05 ▼0.0039.97 ▼0.0339.49 ▲4.39
Add New Post /wp-admin/post-new.php1,544 ▲223.23 ▲0.04621.17 ▼40.1651.58 ▲0.67
Media Library /wp-admin/upload.php1,402 ▲144.26 ▲0.0497.98 ▼3.5041.78 ▼2.46

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test

SRP 0% 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
Please fix the following items
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.php
    • > /wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.js.php
  • 59× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
    • > PHP Notice
      Trying to get property 'timeline_title_custom_line_height' of non-object in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php on line 20
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php on line 44
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php on line 21
    • > PHP Notice
      Trying to get property 'timeline_title_color' of non-object in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php on line 21
    • > PHP Notice
      Undefined variable: id in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php on line 24
    • > PHP Notice
      Trying to get property 'timeline_dec_custom_size' of non-object in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php on line 38
    • > PHP Notice
      Trying to get property 'timeline1' of non-object in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.js.php on line 16
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php on line 20
    • > PHP Fatal error
      Uncaught Error: Class 'FLBuilderColor' not found in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.css.php:66
    • > PHP Notice
      Undefined variable: settings in wp-content/plugins/timeline-for-beaver-builder/timeline-for-beaver-builder-module/includes/frontend.php on line 12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: bb timeline, timeline module for beaver builder, drag and drop timeline, timelines, page builder timeline...

timeline-for-beaver-builder/timeline-for-beaver-builder.php 92% from 13 tests

The entry point to "Timeline Module for Beaver Builder" version 1.1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
  • 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 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected5,064 lines of code in 9 files:
LanguageFilesBlank linesComment linesLines of code
CSS2575193,121
PHP51951391,807
JavaScript22614136

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.27
Average class complexity4.00
▷ Minimum class complexity4.00
▷ Maximum class complexity4.00
Average method complexity2.00
▷ Minimum method complexity1.00
▷ Maximum method complexity4.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods6
▷ Static methods00.00%
▷ Public methods6100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected