90% hide-titles

Code Review | Hide Titles - Remove Title from Posts and Pages, Disable All Titles

WordPress plugin Hide Titles - Remove Title from Posts and Pages, Disable All Titles scored90%from 54 tests.

About plugin

  • Plugin page: hide-titles
  • Plugin version: 1.5.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.4-6.4.1
  • WordPress version: 6.3.1
  • First release: Mar 23, 2023
  • Latest release: Dec 1, 2023
  • Number of updates: 50
  • Update frequency: every 5.1 days
  • Top authors: mehrazmorshed (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

200+ active /2,893 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully

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

A check of server-side resources used by Hide Titles - Remove Title from Posts and Pages, Disable All Titles
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.49 ▲0.0338.50 ▼1.24
Dashboard /wp-admin3.33 ▲0.0346.77 ▼1.68
Posts /wp-admin/edit.php3.38 ▲0.0346.44 ▲0.79
Add New Post /wp-admin/post-new.php5.91 ▲0.0390.56 ▼2.19
Media Library /wp-admin/upload.php3.26 ▲0.0335.20 ▲3.20

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

A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by Hide Titles - Remove Title from Posts and Pages, Disable All Titles
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲4614.32 ▲0.041.80 ▲0.1941.04 ▼6.72
Dashboard /wp-admin2,216 ▲425.71 ▲0.0092.55 ▲0.7538.35 ▼7.01
Posts /wp-admin/edit.php2,115 ▲122.01 ▲0.0139.52 ▲0.6034.94 ▲1.09
Add New Post /wp-admin/post-new.php1,541 ▲1523.62 ▲0.40658.42 ▲2.0050.30 ▲0.05
Media Library /wp-admin/upload.php1,418 ▲184.18 ▼0.0396.54 ▼0.6539.77 ▼3.28

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Everything seems fine, however this is by no means an exhaustive 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 Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: disable titles, remove titles, hide page titles, hide post titles, hide single post titles...

hide-titles/hide-titles.php Passed 13 tests

The entry point to "Hide Titles - Remove Title from Posts and Pages, Disable All Titles" version 1.5.4 is a PHP file that has certain tags in its header comment area
55 characters long description:
Remove Titles from Posts and Single Pages on WordPress.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin220 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP23232137
CSS11083

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.29
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.11MB with 0.07MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
img/author.png110.64KB37.40KB▼ 66.20%