90% wp-4-me-title-remover

Code Review | WP 4 Me Title Remover

WordPress plugin WP 4 Me Title Remover scored90%from 54 tests.

About plugin

  • Plugin page: wp-4-me-title-rem...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.6
  • WordPress version: 6.3.1
  • First release: Jan 24, 2021
  • Latest release: Jan 24, 2021
  • Number of updates: 8
  • Update frequency: every 0.4 days
  • Top authors: dpeterson1971 (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

1,000+ active /7,720 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.12MB] [CPU: ▼4.68ms] Passed 4 tests

Server-side resources used by WP 4 Me Title Remover
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.57 ▲0.1240.66 ▲2.14
Dashboard /wp-admin3.43 ▲0.1247.71 ▼2.59
Posts /wp-admin/edit.php3.54 ▲0.1850.31 ▼2.30
Add New Post /wp-admin/post-new.php6.01 ▲0.1382.86 ▼15.98
Media Library /wp-admin/upload.php3.35 ▲0.1238.53 ▲4.26

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP 4 Me Title Remover
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.29 ▼1.091.89 ▲0.2641.11 ▼0.54
Dashboard /wp-admin2,206 ▲154.84 ▼0.07101.64 ▼5.2336.83 ▼6.99
Posts /wp-admin/edit.php2,089 ▼02.05 ▲0.0338.99 ▼1.8332.98 ▼3.92
Add New Post /wp-admin/post-new.php6,218 ▲4,69918.75 ▼4.63888.82 ▲235.8158.53 ▼1.49
Media Library /wp-admin/upload.php1,388 ▲34.22 ▲0.0495.27 ▼8.6340.97 ▼3.09

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
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-posts
    • theysaidso_admin_options
    • 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Everything seems fine, however this is by no means an exhaustive test

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% 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 need to be fixed: The official readme.txt might help

wp-4-me-title-remover/wp-4-me-title-remover.php Passed 13 tests

"WP 4 Me Title Remover" version 1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
121 characters long description:
Allows you to hide the title of any post, page or custom post type. Does not affecting menus or titles in the admin area.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected690 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP14165297670
JSON10020

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.40
Average class complexity13.29
▷ Minimum class complexity1.00
▷ Maximum class complexity44.00
Average method complexity2.87
▷ Minimum method complexity1.00
▷ Maximum method complexity18.00
Code structure
Namespaces2
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes00.00%
Methods47
▷ Static methods1021.28%
▷ Public methods4697.87%
▷ Protected methods00.00%
▷ Private methods12.13%
Functions5
▷ Named functions480.00%
▷ Anonymous functions120.00%
Constants7
▷ Global constants00.00%
▷ Class constants7100.00%
▷ Public constants7100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin