89% make-clickable-wp

Code Review | Make Clickable WordPress

WordPress plugin Make Clickable WordPress scored 89% from 54 tests.

About plugin

  • Plugin page: make-clickable-wp
  • Plugin version: 1.0.0
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-5.5
  • WordPress version: 6.3.1
  • First release: Jul 30, 2014
  • Latest release: Aug 11, 2020
  • Number of updates: 6
  • Update frequency: every 367.3 days
  • Top authors: claudiosanches (66.67%)valeriosza (50%)

Code review

54 tests

User reviews

6 reviews

Install metrics

300+ active / 2,984 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

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

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

An overview of server-side resources used by Make Clickable WordPress
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.22 ▼4.26
Dashboard /wp-admin3.31 ▲0.0145.56 ▼0.73
Posts /wp-admin/edit.php3.36 ▲0.0150.20 ▲1.15
Add New Post /wp-admin/post-new.php5.89 ▲0.0193.34 ▲0.78
Media Library /wp-admin/upload.php3.23 ▲0.0132.95 ▼2.84

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
db_upgraded
can_compress_scripts
widget_recent-posts
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Make Clickable WordPress
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.26 ▼1.111.61 ▲0.0140.99 ▲0.24
Dashboard /wp-admin2,206 ▲185.83 ▲0.9396.71 ▼11.4538.60 ▼5.81
Posts /wp-admin/edit.php2,092 ▲32.06 ▲0.0139.48 ▲3.7637.15 ▲1.87
Add New Post /wp-admin/post-new.php1,528 ▼618.19 ▼4.84637.63 ▼17.0466.77 ▲11.68
Media Library /wp-admin/upload.php1,385 ▼04.20 ▼0.0093.22 ▼7.4441.77 ▼5.33

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • widget_recent-comments

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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 88% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
  • Tags: No valid plugin tags found
  • Donate link: Invalid URI found ("")
You can take inspiration from this readme.txt

make-clickable-wp/make-clickable-wp.php Passed 13 tests

Analyzing the main PHP file in "Make Clickable WordPress" version 1.0.0
82 characters long description:
Convert plain text URI to HTML links. Converts URI, www, FTP, and email addresses.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected17 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP182617

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity2.00
▷ Minimum class complexity2.00
▷ Maximum class complexity2.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%
Methods2
▷ Static methods150.00%
▷ Public methods150.00%
▷ Protected methods00.00%
▷ Private methods150.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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