84% time-line

Code Review | Time Line

WordPress plugin Time Line scored 84% from 54 tests.

About plugin

  • Plugin page: time-line
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 2.8.0-4.6
  • WordPress version: 6.3.1
  • First release: Jul 31, 2015
  • Latest release: Aug 21, 2016
  • Number of updates: 13
  • Update frequency: every 29.9 days
  • Top authors: Alobaidi (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active / 2,259 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼5.76ms] Passed 4 tests

An overview of server-side resources used by Time Line
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0239.36 ▼3.79
Dashboard /wp-admin3.32 ▲0.0244.02 ▼6.86
Posts /wp-admin/edit.php3.37 ▲0.0247.35 ▲0.38
Add New Post /wp-admin/post-new.php5.90 ▲0.0282.15 ▼11.23
Media Library /wp-admin/upload.php3.24 ▲0.0137.03 ▼1.17

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: 4 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_recent-posts
db_upgraded
theysaidso_admin_options
widget_theysaidso_widget

Browser metrics Passed 4 tests

An overview of browser requirements for Time Line
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲6813.26 ▼1.422.20 ▲0.4942.70 ▼5.78
Dashboard /wp-admin2,206 ▲184.88 ▼1.02104.29 ▼3.5638.65 ▼5.91
Posts /wp-admin/edit.php2,089 ▼01.99 ▼0.0335.52 ▲1.8330.60 ▼2.04
Add New Post /wp-admin/post-new.php1,538 ▲2423.13 ▲5.61670.15 ▼26.8755.53 ▲1.82
Media Library /wp-admin/upload.php1,391 ▲34.19 ▼0.05104.53 ▼20.6843.81 ▼9.22

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
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 2× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/time-line/time-line.php
    • > /wp-content/plugins/time-line/uninstall.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
  • Tags: Too many tags (19 tag instead of maximum 10); only the first 5 tags are used in your directory listing
The official readme.txt might help

time-line/time-line.php Passed 13 tests

Analyzing the main PHP file in "Time Line" version 1.0.0
70 characters long description:
Make your timeline page easily, one shortcode only and full customize.

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
Everything looks great! No dangerous files found in this plugin86 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP3512786

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.30
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected