84% title-remover

Code Review | Title Remover

WordPress plugin Title Remover scored84%from 54 tests.

About plugin

  • Plugin page: title-remover
  • Plugin version: 1.2.1
  • PHP version: 7.4.16
  • WordPress compatibility: 2.5-5.7.2
  • WordPress version: 6.3.1
  • First release: Jun 16, 2014
  • Latest release: Jun 3, 2021
  • Number of updates: 7
  • Update frequency: every 363.4 days
  • Top authors: wpgurus (57.14%)wpis (57.14%)

Code review

54 tests

User reviews

66 reviews

Install metrics

100,000+ active /1,057,115 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼8.53ms] Passed 4 tests

Analyzing server-side resources used by Title Remover
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0135.09 ▼11.31
Dashboard /wp-admin3.32 ▼0.0348.37 ▼16.71
Posts /wp-admin/edit.php3.37 ▲0.0150.90 ▲0.90
Add New Post /wp-admin/post-new.php5.90 ▲0.0283.63 ▼7.01
Media Library /wp-admin/upload.php3.24 ▲0.0138.06 ▲1.32

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Checking browser requirements for Title Remover
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲2913.16 ▼0.831.67 ▼0.7444.58 ▲1.30
Dashboard /wp-admin2,221 ▲185.83 ▼0.2198.91 ▼15.6940.39 ▼4.55
Posts /wp-admin/edit.php2,100 ▲32.04 ▲0.0036.12 ▼1.2635.49 ▼0.57
Add New Post /wp-admin/post-new.php6,245 ▲4,71425.87 ▲2.43953.39 ▲251.3448.80 ▼9.31
Media Library /wp-admin/upload.php1,403 ▲34.21 ▼0.0898.23 ▼4.0846.64 ▼0.98

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

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
Everything seems fine, however this is by no means an exhaustive test

SRP 50% from 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
The following issues need your attention
  • 1× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/title-remover/title-remover.php:22

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: remove title, hide title, title remover, metaboxes, title...

title-remover/title-remover.php Passed 13 tests

The primary PHP file in "Title Remover" version 1.2.1 is used by WordPress to initiate all plugin functionality
135 characters long description:
Gives you the ability to hide the title of any post, page or custom post type item without affecting menus or titles in the admin area.

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
Success! There were no dangerous files found in this plugin56 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1172956

PHP code Passed 2 tests

An overview 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.43
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

Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin