90% timeline-feed

Code Review | Event Timeline Feed

WordPress plugin Event Timeline Feed scored90%from 54 tests.

About plugin

  • Plugin page: timeline-feed
  • Plugin version: 1.2.2
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.4
  • WordPress version: 6.3.1
  • First release: Nov 19, 2019
  • Latest release: Oct 19, 2023
  • Number of updates: 29
  • Update frequency: every 49.3 days
  • Top authors: scriptstown (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

100+ active /3,598 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.36MB] [CPU: ▼5.01ms] Passed 4 tests

An overview of server-side resources used by Event Timeline Feed
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1649.23 ▲8.46
Dashboard /wp-admin3.74 ▲0.4047.78 ▼11.70
Posts /wp-admin/edit.php3.79 ▲0.4447.16 ▲1.30
Add New Post /wp-admin/post-new.php6.33 ▲0.4483.09 ▼11.92
Media Library /wp-admin/upload.php3.67 ▲0.4437.67 ▲2.27
All Timelines /wp-admin/edit.php?post_type=timeline_feed3.7137.55
Add New Timeline /wp-admin/post-new.php?post_type=timeline_feed3.7543.73

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 69 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-posts
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Event Timeline Feed
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,823 ▲7714.35 ▲0.001.94 ▲0.1743.35 ▼1.16
Dashboard /wp-admin2,225 ▲485.65 ▼0.0194.76 ▼3.1541.50 ▼2.18
Posts /wp-admin/edit.php2,127 ▲272.02 ▲0.0834.17 ▼3.6732.41 ▼5.14
Add New Post /wp-admin/post-new.php1,549 ▲2323.31 ▲0.11639.43 ▲60.3850.65 ▼14.19
Media Library /wp-admin/upload.php1,421 ▲184.20 ▲0.0292.45 ▼2.3440.38 ▼3.26
All Timelines /wp-admin/edit.php?post_type=timeline_feed1,2362.4145.8828.51
Add New Timeline /wp-admin/post-new.php?post_type=timeline_feed5,4514.30202.0286.75

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

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The SRP test was a success

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: timeline, event, story, stories, events

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

Analyzing the main PHP file in "Event Timeline Feed" version 1.2.2
135 characters long description:
Create and showcase event timelines on your WordPress website available in multiple layouts with clean, elegant, and responsive design.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected4,353 lines of code in 53 files:
LanguageFilesBlank linesComment linesLines of code
PHP434171902,162
CSS6335341,838
PO File1106151257
JavaScript2261795
JSON1001

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.36
Average class complexity8.67
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity2.61
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces5
Interfaces2
Traits0
Classes22
▷ Abstract classes29.09%
▷ Concrete classes2090.91%
▷ Final classes15.00%
Methods124
▷ Static methods108.06%
▷ Public methods10887.10%
▷ Protected methods43.23%
▷ Private methods129.68%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.00%
Constants15
▷ Global constants426.67%
▷ Class constants1173.33%
▷ Public constants11100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected