90% read-more-excerpt-link

Code Review | Read More Excerpt Link

WordPress plugin Read More Excerpt Link scored90%from 54 tests.

About plugin

  • Plugin page: read-more-excerpt...
  • Plugin version: 1.6.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.9.0-6.2
  • WordPress version: 6.3.1
  • First release: Mar 9, 2016
  • Latest release: Feb 26, 2023
  • Number of updates: 55
  • Update frequency: every 46.3 days
  • Top authors: teckel (100%)

Code review

54 tests

User reviews

6 reviews

Install metrics

5,000+ active /56,937 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.03MB] [CPU: ▼8.15ms] Passed 4 tests

A check of server-side resources used by Read More Excerpt Link
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0338.34 ▼4.01
Dashboard /wp-admin3.34 ▲0.0346.42 ▼12.37
Posts /wp-admin/edit.php3.39 ▲0.0348.92 ▼0.35
Add New Post /wp-admin/post-new.php5.92 ▲0.0385.55 ▼15.86
Media Library /wp-admin/upload.php3.26 ▲0.0336.66 ▼0.11
Read More Excerpt /wp-admin/options-general.php?page=read_more_excerpt_link_admin3.2332.93

Server storage [IO: ▲0.01MB] [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
db_upgraded
widget_theysaidso_widget
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for Read More Excerpt Link
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,818 ▲5714.74 ▲0.371.99 ▲0.1944.09 ▲2.90
Dashboard /wp-admin2,196 ▲195.63 ▲0.02105.73 ▲7.2442.61 ▼1.39
Posts /wp-admin/edit.php2,107 ▲71.97 ▲0.0240.64 ▲4.5234.87 ▼2.49
Add New Post /wp-admin/post-new.php1,529 ▲123.19 ▼0.25650.03 ▼14.4848.23 ▼5.21
Media Library /wp-admin/upload.php1,404 ▲44.16 ▼0.0198.01 ▼4.8846.08 ▲0.10
Read More Excerpt /wp-admin/options-general.php?page=read_more_excerpt_link_admin8831.9922.7128.21

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
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

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
Good news, no errors were detected

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
Looking good! No server-side errors or output on direct access of PHP files

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 29 tests

readme.txt Passed 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
10 plugin tags: more, read, length, archive, read more...

read-more-excerpt-link/read-more-excerpt-link.php 92% from 13 tests

The primary PHP file in "Read More Excerpt Link" version 1.6.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
Everything looks great! No dangerous files found in this plugin119 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11424119

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.55
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions6
▷ Named functions6100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected