84% hide-title-post-page

Code Review | Hide Title Post Page

WordPress plugin Hide Title Post Page scored84%from 54 tests.

About plugin

  • Plugin page: hide-title-post-page
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-6.2
  • WordPress version: 6.3.1
  • First release: Feb 8, 2023
  • Latest release: Apr 3, 2023
  • Number of updates: 4
  • Update frequency: every 13.5 days
  • Top authors: rizvipersonal (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /682 total downloads

Benchmarks

Plugin footprint 82% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices

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

Analyzing server-side resources used by Hide Title Post Page
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0146.75 ▲8.57
Dashboard /wp-admin3.31 ▼0.0353.69 ▼10.47
Posts /wp-admin/edit.php3.37 ▲0.0150.02 ▼0.14
Add New Post /wp-admin/post-new.php5.90 ▲0.01100.24 ▲2.78
Media Library /wp-admin/upload.php3.24 ▲0.0137.67 ▲1.40

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] 67% from 3 tests

How much does this plugin use your filesystem and database?
Please try to fix the following items
  • Illegal file modification found: 1 file (4.00KB) outside of "wp-content/plugins/hide-title-post-page/" and "wp-content/uploads/"
    • (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
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
widget_recent-comments
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Hide Title Post Page
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,815 ▲5414.74 ▲0.371.79 ▼0.2743.58 ▲5.07
Dashboard /wp-admin2,221 ▲175.04 ▼0.88113.48 ▲6.3342.79 ▼1.28
Posts /wp-admin/edit.php2,097 ▼32.05 ▲0.0434.85 ▼0.5532.21 ▼8.52
Add New Post /wp-admin/post-new.php6,240 ▲4,70926.09 ▲4.99890.27 ▲217.6957.05 ▲6.76
Media Library /wp-admin/upload.php1,403 ▼04.19 ▼0.0493.10 ▼10.7840.32 ▼4.76

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hide-title-post-page/hide-title-post-page.php:28

User-side errors Passed 1 test

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

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
5 plugin tags: hide title, title, post, single post, page

hide-title-post-page/hide-title-post-page.php Passed 13 tests

The principal PHP file in "Hide Title Post Page" v. 1.0 is loaded by WordPress automatically on each request
88 characters long description:
Allows authors to hide the title tag on single pages and posts via the edit post screen.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin53 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141053

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.50
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%
Functions4
▷ Named functions4100.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
There were not PNG files found in your plugin