74% timeline-express-no-icons-add-on

Code Review | Timeline Express - No Icons Add-On

WordPress plugin Timeline Express - No Icons Add-On scored74%from 54 tests.

About plugin

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

Code review

54 tests

User reviews

1 review

Install metrics

1,000+ active /8,388 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼10.91ms] Passed 4 tests

Analyzing server-side resources used by Timeline Express - No Icons Add-On
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0038.54 ▲1.49
Dashboard /wp-admin3.31 ▼0.0447.97 ▼13.23
Posts /wp-admin/edit.php3.36 ▲0.0043.03 ▼5.50
Add New Post /wp-admin/post-new.php5.89 ▲0.0078.81 ▼24.56
Media Library /wp-admin/upload.php3.23 ▲0.0032.16 ▼0.34

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
timeline_express_installed_add_ons

Browser metrics Passed 4 tests

An overview of browser requirements for Timeline Express - No Icons Add-On
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.65 ▼0.715.04 ▲3.2343.51 ▲1.41
Dashboard /wp-admin2,206 ▲154.82 ▼1.06113.18 ▲8.5742.80 ▼3.59
Posts /wp-admin/edit.php2,089 ▲32.01 ▲0.0136.96 ▼1.3632.52 ▲0.16
Add New Post /wp-admin/post-new.php1,537 ▲423.04 ▲4.89687.62 ▲82.0567.27 ▲11.85
Media Library /wp-admin/upload.php1,385 ▼34.21 ▲0.03107.45 ▲6.8547.15 ▲3.37

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Uninstall procedure had uncaught errors
    • > Warning in wp-content/plugins/timeline-express-no-icons-add-on/uninstall.php+17
    Use of undefined constant TIMELINE_EXPRESS_NO_ICONS_OPTION - assumed 'TIMELINE_EXPRESS_NO_ICONS_OPTION' (this will throw an Error in a future version of PHP)
  • Zombie WordPress options detected upon uninstall: 7 options
    • timeline_express_installed_add_ons
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options
    • widget_recent-comments
    • can_compress_scripts
    • 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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
  • 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-no-icons-add-on/lib/class-tinymce.php:11

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

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:
  • Requires at least: Invalid plugin version format
You can take inspiration from this readme.txt

timeline-express-no-icons-add-on/timeline-express-no-icons-add-on.php Passed 13 tests

The main file in "Timeline Express - No Icons Add-On" v. 1.2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
62 characters long description:
Remove icons from a single timeline or all timelines globally.

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 plugin329 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
PHP6187176271
CSS243158

PHP code Passed 2 tests

A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.48
Average class complexity14.00
▷ Minimum class complexity2.00
▷ Maximum class complexity26.00
Average method complexity3.60
▷ Minimum method complexity1.00
▷ Maximum method complexity7.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes150.00%
Methods10
▷ Static methods00.00%
▷ Public methods10100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions4
▷ Named functions4100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.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
There were not PNG files found in your plugin