89% evolution-twitter-timeline

Code Review | AH Twitter Timeline Widget

WordPress plugin AH Twitter Timeline Widget scored 89% from 54 tests.

About plugin

  • Plugin page: evolution-twitter...
  • Plugin version: 1.0.8
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-4.8.2
  • WordPress version: 5.8.1
  • First release: Apr 15, 2013
  • Latest release: Sep 23, 2017
  • Number of updates: 83
  • Update frequency: every 19.5 days
  • Top authors: AHecht (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

400+ active / 7,407 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼145.37ms] Passed 4 tests

An overview of server-side resources used by AH Twitter Timeline Widget
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.87 ▲0.1537.45 ▲14.23
Dashboard /wp-admin3.10 ▲0.0441.19 ▼6.92
Posts /wp-admin/edit.php3.15 ▲0.0443.10 ▲1.25
Add New Post /wp-admin/post-new.php5.46 ▲0.0287.12 ▼576.50
Media Library /wp-admin/upload.php3.04 ▲0.0433.12 ▲0.70

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options
widget_evolution_twitter_timeline

Browser metrics Passed 4 tests

AH Twitter Timeline Widget: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲13115.87 ▲0.2111.76 ▲2.7448.99 ▼1.91
Dashboard /wp-admin2,973 ▲425.85 ▼0.11151.14 ▼0.62106.77 ▼5.79
Posts /wp-admin/edit.php2,739 ▼02.72 ▼0.0066.50 ▼12.7383.44 ▼8.35
Add New Post /wp-admin/post-new.php1,876 ▲19319.20 ▲2.98412.37 ▲21.24105.33 ▼0.53
Media Library /wp-admin/upload.php1,748 ▼625.01 ▼0.04157.74 ▲5.08104.76 ▼9.00

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
  • Zombie WordPress options were found after uninstall: 1 option
    • widget_evolution_twitter_timeline

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 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
No output text or server-side errors detected on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
7 plugin tags: twitter widget, twitter timeline widget, twitter timeline, embedded timeline, twitter...

evolution-twitter-timeline/evolution-twitter-timeline.php 85% from 13 tests

The main PHP file in "AH Twitter Timeline Widget" ver. 1.0.8 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)
  • Text Domain: The text domain should only use lowercase characters and dashes

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected130 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP1375387
PO File1122243

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.04
Average class complexity3.00
▷ Minimum class complexity3.00
▷ Maximum class complexity3.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity2.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods00.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions2
▷ Named functions150.00%
▷ Anonymous functions150.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
PNG images were not found in this plugin