89% remove-page-title-from-elementor-pages-by-default

Code Review | Remove Page Title From Elementor Pages by Default

WordPress plugin Remove Page Title From Elementor Pages by Default scored89%from 54 tests.

About plugin

  • Plugin page: remove-page-title...
  • Plugin version: 1.0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Nov 9, 2021
  • Latest release: Feb 17, 2022
  • Number of updates: 3
  • Update frequency: every 37.0 days
  • Top authors: atdheboshnjaku (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /1,908 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully

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

An overview of server-side resources used by Remove Page Title From Elementor Pages by Default
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0139.84 ▼1.04
Dashboard /wp-admin3.31 ▲0.0144.33 ▼4.55
Posts /wp-admin/edit.php3.36 ▲0.0047.62 ▼5.38
Add New Post /wp-admin/post-new.php5.89 ▲0.0083.26 ▼7.96
Media Library /wp-admin/upload.php3.23 ▲0.0035.65 ▲0.84

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

This is an overview of browser requirements for Remove Page Title From Elementor Pages by Default
There were no issues detected in relation to browser resource usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6513.13 ▼1.241.77 ▼0.1439.89 ▲1.44
Dashboard /wp-admin2,203 ▲154.87 ▼0.03110.14 ▼9.2840.89 ▼2.31
Posts /wp-admin/edit.php2,092 ▲32.02 ▼0.0339.63 ▲4.0134.79 ▲1.21
Add New Post /wp-admin/post-new.php1,533 ▼023.07 ▼0.16672.01 ▼20.7564.22 ▼1.59
Media Library /wp-admin/upload.php1,391 ▼04.23 ▲0.0495.45 ▼4.4142.67 ▼0.54

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
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-posts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test

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

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 90% from 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
10 plugin tags: elementor pro, hello, title, elementor, elementor theme...

remove-page-title-from-elementor-pages-by-default/bluwebs-remove-page-title-elementor.php 77% from 13 tests

The main PHP script in "Remove Page Title From Elementor Pages by Default" version 1.0.1 is automatically included on every request by WordPress
Please take the time to fix the following:
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
  • Description: Please don't use more than 140 characters for the plugin description (currently 142 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("remove-page-title-from-elementor-pages-by-default.php" instead of "bluwebs-remove-page-title-elementor.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin9 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP26179

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.33
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
2 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/banner-772x250.png22.56KB9.35KB▼ 58.58%
assets/icon-256x256.png3.71KB1.73KB▼ 53.50%