84% alobaidi-timeline

Code Review | Alobaidi Timeline

WordPress plugin Alobaidi Timeline scored84%from 54 tests.

About plugin

  • Plugin page: alobaidi-timeline
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.0-4.6
  • WordPress version: 6.3.1
  • First release: Jan 30, 2016
  • Latest release: Aug 21, 2016
  • Number of updates: 7
  • Update frequency: every 29.9 days
  • Top authors: Alobaidi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /865 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.00MB] [CPU: ▼12.69ms] Passed 4 tests

An overview of server-side resources used by Alobaidi Timeline
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0138.80 ▼1.69
Dashboard /wp-admin3.32 ▼0.0346.88 ▼20.49
Posts /wp-admin/edit.php3.38 ▲0.0150.71 ▲0.76
Add New Post /wp-admin/post-new.php5.91 ▲0.0183.29 ▼29.35
Media Library /wp-admin/upload.php3.25 ▲0.0138.74 ▲2.65

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

This is an overview of browser requirements for Alobaidi Timeline
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,789 ▲2814.34 ▼0.431.56 ▼0.2544.79 ▼1.82
Dashboard /wp-admin2,195 ▲175.64 ▼0.0683.14 ▼36.0743.57 ▼0.41
Posts /wp-admin/edit.php2,103 ▲61.97 ▼0.0639.77 ▲1.3234.78 ▼3.29
Add New Post /wp-admin/post-new.php1,526 ▼023.09 ▲0.03595.53 ▼42.0652.04 ▼10.62
Media Library /wp-admin/upload.php1,400 ▲64.15 ▼0.1098.85 ▼4.4942.91 ▼2.20

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% 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 take a closer look at the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/alobaidi-timeline/alobaidi-timeline.php

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


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
  • Tags: Please delete some tags, you are using 26 tag instead of maximum 10
You can take inspiration from this readme.txt

alobaidi-timeline/alobaidi-timeline.php Passed 13 tests

The primary PHP file in "Alobaidi Timeline" version 1.0.0 is used by WordPress to initiate all plugin functionality
124 characters long description:
Make timeline page in 1 minute! Just one shortcode, pagination support with text translation, custom list type, easy to use.

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
Success! There were no dangerous files found in this plugin97 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions3100.00%
▷ Anonymous functions00.00%
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected