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.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.8-5.9
  • WordPress version: 5.8.1
  • First release: Nov 23, 2017
  • Latest release: Feb 15, 2022
  • Number of updates: 31
  • Update frequency: every 49.9 days
  • Top authors: Access Keys (100%)

Code review

54 tests

User reviews

1 review

Install metrics

700+ active / 13,483 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.11MB] [CPU: ▼152.20ms] 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 /2.91 ▲0.1924.62 ▲3.33
Dashboard /wp-admin3.22 ▲0.1636.89 ▼2.03
Posts /wp-admin/edit.php3.28 ▲0.1735.79 ▼15.75
Add New Post /wp-admin/post-new.php5.51 ▲0.0772.37 ▼587.39
Media Library /wp-admin/upload.php3.06 ▲0.0620.68 ▼3.62
Check Premium Version /wp-admin/edit.php?post_type=everesttimeline&page=etlak-premium-wp2.9315.64
About Us /wp-admin/edit.php?post_type=everesttimeline&page=etlak-about-us3.1526.49
All Everest Timeline /wp-admin/edit.php?post_type=everesttimeline3.1333.81
Add New /wp-admin/post-new.php?post_type=everesttimeline3.2941.76
Documentation /wp-admin/edit.php?post_type=everesttimeline&page=etlak-documentation-wp2.9316.70

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,088 ▲48718.01 ▲2.358.34 ▲3.46112.52 ▲39.59
Dashboard /wp-admin3,177 ▲2818.02 ▲1.87138.07 ▲8.51165.74 ▼6.70
Posts /wp-admin/edit.php3,020 ▲2835.24 ▲2.0290.30 ▲28.82136.93 ▼2.47
Add New Post /wp-admin/post-new.php3,534 ▼23318.46 ▼0.90411.91 ▼76.58181.47 ▲20.43
Media Library /wp-admin/upload.php1,803 ▲515.58 ▲0.08133.17 ▼9.13183.69 ▲4.85
Check Premium Version /wp-admin/edit.php?post_type=everesttimeline&page=etlak-premium-wp1,52111.70316.42203.48
About Us /wp-admin/edit.php?post_type=everesttimeline&page=etlak-about-us1,88911.50244.31192.92
All Everest Timeline /wp-admin/edit.php?post_type=everesttimeline1,7155.1385.51110.24
Add New /wp-admin/post-new.php?post_type=everesttimeline3,8455.51100.63153.76
Documentation /wp-admin/edit.php?post_type=everesttimeline&page=etlak-documentation-wp1,49410.99353.04208.92

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
    • > 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-social.php
    • > /wp-content/plugins/everest-timeline-lite/everest-timeline-lite.php
    • > /wp-content/plugins/everest-timeline-lite/inc/frontend/et-template.php
    • > /wp-content/plugins/everest-timeline-lite/inc/frontend/et-preview.php
    • > /wp-content/plugins/everest-timeline-lite/inc/frontend/content/et-vertical.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-usages.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/register/et-register-post.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-layout.php
    • > /wp-content/plugins/everest-timeline-lite/inc/ajax/fetch-taxonomy.php
    • > /wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-general.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 Fatal error
      Uncaught Error: Call to undefined function _e() in wp-content/plugins/everest-timeline-lite/inc/admin/settings/et-upgrade.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

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-premium-wp
    • > Javascript (severe) in unknown
    https://accesspressthemes.com/wordpress-plugins/everest-timeline/ - 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.
  • 2 occurences, only the last one shown
    • > 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
  • 3 occurences, only the last one shown
    • > GET request to /wp-admin/post-new.php?post_type=everesttimeline
    • > Network (severe)
    wp-content/plugins/everest-timeline-lite/js/icon-picker.js?ver=1.1.3 - Failed to load resource: the server responded with a status of 404 (Not Found)
    • > 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.

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.3
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,621 lines of code in 36 files:
LanguageFilesBlank linesComment linesLines of code
PHP281941852,579
CSS426631,896
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.89MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
images/twitter.png1.74KB0.81KB▼ 53.33%
images/theme.png52.01KB17.38KB▼ 66.59%
images/flicker.png1.45KB0.57KB▼ 60.47%
images/no-image-available.png14.23KB6.99KB▼ 50.89%
images/plugin.png12.50KB5.31KB▼ 57.50%