66% everest-timeline-lite

Code Review | Responsive WordPress Timeline Plugin - Everest Timeline Lite

WordPress plugin Responsive WordPress Timeline Plugin - Everest Timeline Lite scored 66% from 54 tests.

About plugin

  • Plugin page: everest-timeline-...
  • Plugin version: 1.1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.8
  • WordPress version: 5.8.1
  • First release: Nov 23, 2017
  • Latest release: Oct 31, 2021
  • Number of updates: 30
  • Update frequency: every 48.0 days
  • Top authors: Access Keys (100%)

Code review

54 tests

User reviews

1 review

Install metrics

700+ active / 12,516 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.20MB] [CPU: ▼139.76ms] Passed 4 tests

A check of server-side resources used by Responsive WordPress Timeline Plugin - Everest Timeline Lite
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.01 ▲0.1836.89 ▲4.18
Dashboard /wp-admin3.32 ▲0.2749.50 ▲4.77
Posts /wp-admin/edit.php3.38 ▲0.2742.12 ▼2.73
Add New Post /wp-admin/post-new.php5.61 ▲0.1897.64 ▼551.37
Media Library /wp-admin/upload.php3.16 ▲0.1631.92 ▼9.10
Documentation /wp-admin/edit.php?post_type=everesttimeline&page=etlak-documentation-wp3.0321.48
Check Premium Version /wp-admin/edit.php?post_type=everesttimeline&page=etlak-premium-wp3.0331.12
All Everest Timeline /wp-admin/edit.php?post_type=everesttimeline3.2348.28
Add New /wp-admin/post-new.php?post_type=everesttimeline3.3649.05
About Us /wp-admin/edit.php?post_type=everesttimeline&page=etlak-about-us3.2033.67

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 59 new files
Database: no new tables, 1 new option
New WordPress options
widget_etlak_widget

Browser metrics Passed 4 tests

Responsive WordPress Timeline Plugin - Everest Timeline Lite: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /4,075 ▲43817.72 ▲2.2611.31 ▲2.5663.78 ▲12.74
Dashboard /wp-admin3,216 ▲2857.73 ▲1.77170.65 ▲33.03115.45 ▲6.42
Posts /wp-admin/edit.php3,000 ▲2614.29 ▲1.59100.15 ▲31.4394.13 ▼3.81
Add New Post /wp-admin/post-new.php1,669 ▼1421.39 ▲2.64272.22 ▼112.53125.18 ▲5.59
Media Library /wp-admin/upload.php1,864 ▲574.82 ▼0.17150.67 ▼5.88119.26 ▼9.23
Documentation /wp-admin/edit.php?post_type=everesttimeline&page=etlak-documentation-wp2,1049.43238.64141.33
Check Premium Version /wp-admin/edit.php?post_type=everesttimeline&page=etlak-premium-wp80.900.040.14
All Everest Timeline /wp-admin/edit.php?post_type=everesttimeline1,6954.1990.5472.89
Add New /wp-admin/post-new.php?post_type=everesttimeline3,8454.81104.95102.74
About Us /wp-admin/edit.php?post_type=everesttimeline&page=etlak-about-us1,7959.82185.03126.40

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
  • The uninstall procedure has failed, leaving 1 option in the database
    • widget_etlak_widget

Smoke tests 0% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=everesttimeline&page=etlak-about-us
    • > Notice in wp-content/plugins/everest-timeline-lite/everest-timeline-lite.php+513
    Trying to get property 'post_type' of non-object

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
  • 24× GET requests to PHP files return non-empty strings (only 10 are shown):
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-usages.php
    • > /wp-content/plugins/everest-timeline-lite/inc/ajax/fetch-terms.php
    • > /wp-content/plugins/everest-timeline-lite/inc/frontend/et-preview.php
    • > /wp-content/plugins/everest-timeline-lite/inc/ajax/hierarchy-terms.php
    • > /wp-content/plugins/everest-timeline-lite/everest-timeline-lite.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-post.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/forms/et-timeline-detail.php
    • > /wp-content/plugins/everest-timeline-lite/inc/ajax/filter-tax.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/register/et-register-post.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/et-timeline-meta.php
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/everest-timeline-lite/inc/etlak-block/etlak-block-init.php:23
    • > PHP Fatal error
      Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/everest-timeline-lite/inc/cores/widgets.php:3
    • > PHP Warning
      Use of undefined constant ETLAK_IMG_DIR - assumed 'ETLAK_IMG_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-upgrade.php on line 1
    • > PHP Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-upgrade.php:3

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
    • > GET request to /wp-admin/edit.php?post_type=everesttimeline&page=etlak-documentation-wp
    • > Javascript (severe) in unknown
    https://accesspressthemes.com/documentation/everest-timeline-lite/ - Access to script at 'https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms' from origin 'https://accesspressthemes.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
    • > GET request to /wp-admin/edit.php?post_type=everesttimeline&page=etlak-documentation-wp
    • > Network (severe)
    https://embed.tawk.to/60cc2bbb65b7290ac63693ec/1f8eollms - Failed to load resource: net::ERR_FAILED
    • > GET request to /wp-admin/edit.php?post_type=everesttimeline&page=etlak-premium-wp
    • > Network (severe)
    https://accesspressthemes.com/wordpress-plugins/everest-timeline/ - Failed to load resource: the server responded with a status of 504 ()
  • 6 occurences, only the last one shown
    • > GET request to /wp-admin/edit.php?post_type=everesttimeline&page=etlak-about-us
    • > Network (severe)
    wp-content/plugins/everest-timeline-lite/js/icon-picker.js?ver=1.1.2 - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 97% 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
Attributes that require attention:
  • Tags: There are too many tags (15 tag instead of maximum 10)
You can take inspiration from this readme.txt

everest-timeline-lite/everest-timeline-lite.php Passed 13 tests

Analyzing the main PHP file in "Responsive WordPress Timeline Plugin - Everest Timeline Lite" version 1.1.2
102 characters long description:
Plugin to Manage / Design Story/Event Timeline | 4 stunning, responsive, creative and powerful design.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin5,629 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
PHP281941852,579
CSS426551,904
SVG100685
JavaScript35560461

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.63
Average class complexity33.00
▷ Minimum class complexity10.00
▷ Maximum class complexity56.00
Average method complexity2.31
▷ Minimum method complexity1.00
▷ Maximum method complexity8.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods49
▷ Static methods00.00%
▷ Public methods49100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants7
▷ Global constants7100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 1.54MB with 0.97MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/pinterest.png2.17KB1.25KB▼ 42.30%
images/customize.png24.05KB8.41KB▼ 65.05%
images/flicker.png1.45KB0.57KB▼ 60.47%
images/twitter.png1.74KB0.81KB▼ 53.33%
images/demo/upgrade-to-pro.png542.42KB20.29KB▼ 96.26%