94% change-title

Code Review | Change title

WordPress plugin Change title scored 94% from 54 tests.

About plugin

  • Plugin page: change-title
  • Plugin version: 2.4.1
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.7
  • WordPress version: 5.8.1
  • First release: Jun 7, 2016
  • Latest release: Jan 11, 2017
  • Number of updates: 37
  • Update frequency: every 5.9 days
  • Top authors: lampejos (100%)

Code review

54 tests

User reviews

1 review

Install metrics

50+ active / 1,355 total downloads


Plugin footprint Passed 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.22MB] [CPU: ▼141.97ms] Passed 4 tests

This is a short check of server-side resources used by Change title
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /1.79 ▼0.936.96 ▼15.26
Dashboard /wp-admin3.09 ▲0.0353.95 ▲8.50
Posts /wp-admin/edit.php3.14 ▲0.0346.15 ▲0.42
Add New Post /wp-admin/post-new.php5.44 ▲0.0192.77 ▼557.06
Media Library /wp-admin/upload.php3.03 ▲0.0333.74 ▲4.02
Change Title /wp-admin/options-general.php?page=change_title_page3.0029.80

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

Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 10 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Change title
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,708 ▲11215.89 ▲0.3310.11 ▲0.3746.61 ▼9.26
Dashboard /wp-admin2,978 ▲446.10 ▲0.11141.13 ▼10.43107.36 ▲2.82
Posts /wp-admin/edit.php2,744 ▲52.70 ▼0.0265.67 ▲0.2181.85 ▼16.01
Add New Post /wp-admin/post-new.php1,607 ▼2,12618.79 ▲1.23380.17 ▼81.48107.96 ▲5.05
Media Library /wp-admin/upload.php1,812 ▲55.03 ▲0.02150.69 ▼1.57113.16 ▼8.07
Change Title /wp-admin/options-general.php?page=change_title_page1,1142.0955.7578.30

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, 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 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 load_plugin_textdomain() in wp-content/plugins/change-title/change-title.php:14

User-side errors Passed 1 test

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


Plugin configuration 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
  • Donate link: Please fix this invalid URI: ""
Please take inspiration from this readme.txt

change-title/change-title.php 92% from 13 tests

Analyzing the main PHP file in "Change title" version 2.4.1
Please make the necessary changes and fix the following:
  • Text Domain: The text domain name should consist of only dashes and lowercase characters

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected237 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PO File1101352

PHP code Passed 2 tests

This is a very shot 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.26
Average class complexity5.00
▷ Minimum class complexity5.00
▷ Maximum class complexity5.00
Average method complexity1.50
▷ Minimum method complexity1.00
▷ Maximum method complexity3.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods8100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions1100.00%
▷ Anonymous functions00.00%
▷ 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