83% timeline-express-single-column-add-on

Code Review | Timeline Express - Single Column Add-On

WordPress plugin Timeline Express - Single Column Add-On scored83%from 54 tests.

About plugin

  • Plugin page: timeline-express-...
  • Plugin version: 1.1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Jun 18, 2016
  • Latest release: Mar 22, 2023
  • Number of updates: 23
  • Update frequency: every 107.3 days
  • Top authors: eherman24 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /10,045 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors

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

Server-side resources used by Timeline Express - Single Column Add-On
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0044.59 ▲7.67
Dashboard /wp-admin3.31 ▲0.0046.76 ▲2.34
Posts /wp-admin/edit.php3.36 ▲0.0041.70 ▼6.17
Add New Post /wp-admin/post-new.php5.89 ▲0.0079.46 ▼17.03
Media Library /wp-admin/upload.php3.23 ▲0.0035.39 ▲2.02

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

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

Browser metrics Passed 4 tests

Timeline Express - Single Column Add-On: an overview of browser usage
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5414.74 ▲0.381.88 ▲0.1643.47 ▲0.22
Dashboard /wp-admin2,206 ▲215.79 ▲0.70111.85 ▲0.7343.62 ▼1.35
Posts /wp-admin/edit.php2,089 ▼01.99 ▲0.0135.24 ▼6.8231.83 ▼5.04
Add New Post /wp-admin/post-new.php1,533 ▼923.07 ▲4.34663.22 ▼15.6069.48 ▲9.50
Media Library /wp-admin/upload.php1,388 ▼04.18 ▼0.0494.77 ▼15.5139.80 ▼7.75

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_theysaidso_widget

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
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/timeline-express-single-column-add-on/lib/class-tinymce.php:11

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed: You can take inspiration from this readme.txt

timeline-express-single-column-add-on/timeline-express-single-column-add-on.php 92% from 13 tests

This is the main PHP file of "Timeline Express - Single Column Add-On" version 1.1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
It is important to fix the following:
  • Description: Keep the plugin description shorter than 140 characters (currently 218 characters long)

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin220 lines of code in 6 files:
LanguageFilesBlank linesComment linesLines of code
PHP28594116
CSS2294492
JavaScript2101312

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity6.00
▷ Minimum class complexity2.00
▷ Maximum class complexity10.00
Average method complexity2.25
▷ Minimum method complexity1.00
▷ Maximum method complexity5.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods8
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions2100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin