84% hide-all-page-and-all-post-title

Code Review | Hide All Page And All Post Title

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

About plugin

  • Plugin page: hide-all-page-and...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.8-5.2.2
  • WordPress version: 6.3.1
  • First release: Oct 15, 2019
  • Latest release: Oct 15, 2019
  • Number of updates: 2
  • Update frequency: every 2.0 days
  • Top authors: sureshkldh (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /426 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.15ms] Passed 4 tests

This is a short check of server-side resources used by Hide All Page And All Post Title
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0153.22 ▲9.71
Dashboard /wp-admin3.32 ▲0.0253.58 ▼2.92
Posts /wp-admin/edit.php3.37 ▲0.0148.40 ▼1.41
Add New Post /wp-admin/post-new.php5.90 ▲0.0294.96 ▼11.49
Media Library /wp-admin/upload.php3.24 ▲0.0139.16 ▲3.24

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

Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
can_compress_scripts
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

A check of browser resources used by Hide All Page And All Post Title
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,814 ▲2814.32 ▼0.092.17 ▲0.2245.85 ▲2.55
Dashboard /wp-admin2,195 ▲185.64 ▲0.0685.85 ▼20.1138.90 ▼5.60
Posts /wp-admin/edit.php2,100 ▼01.99 ▲0.0236.07 ▲1.2934.38 ▲0.04
Add New Post /wp-admin/post-new.php6,226 ▲4,69826.06 ▲2.80938.97 ▲257.6751.23 ▼10.87
Media Library /wp-admin/upload.php1,400 ▼04.14 ▼0.08104.42 ▼4.0346.05 ▼0.35

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • db_upgraded
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts

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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following items
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hide-all-page-and-all-post-title/hide-all-page-and-all-post-title.php:21

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
  • Tags: You are using too many tags: 11 tag instead of maximum 10
You can take inspiration from this readme.txt

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

The main file in "Hide All Page And All Post Title" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
98 characters long description:
Allows the authors hide the title on single pages and single posts via the edit admin post screen.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin56 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP1192856

PHP code Passed 2 tests

Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.24
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

All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin