84% hide-entry-title

Code Review | Hide Entry Title

WordPress plugin Hide Entry Title scored84%from 54 tests.

About plugin

  • Plugin page: hide-entry-title
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3.1-4.3.1
  • WordPress version: 6.3.1
  • First release: Jan 9, 2017
  • Latest release: Jan 10, 2017
  • Number of updates: 7
  • Update frequency: every 0.9 days
  • Top authors: seosbg (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

300+ active /8,335 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by Hide Entry Title
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.48 ▲0.0133.81 ▼8.49
Dashboard /wp-admin3.32 ▼0.0250.01 ▼4.70
Posts /wp-admin/edit.php3.37 ▲0.0147.56 ▲6.29
Add New Post /wp-admin/post-new.php5.90 ▲0.0191.62 ▼0.95
Media Library /wp-admin/upload.php3.25 ▲0.0137.25 ▲5.51

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Hide Entry Title
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,817 ▲7113.24 ▼1.351.53 ▼0.2342.11 ▲2.85
Dashboard /wp-admin2,220 ▲315.84 ▲0.8698.61 ▼24.6076.10 ▲32.82
Posts /wp-admin/edit.php2,112 ▲201.98 ▼0.0337.93 ▼1.0133.53 ▼2.19
Add New Post /wp-admin/post-new.php1,535 ▼722.82 ▲4.81676.22 ▲7.4558.49 ▼8.77
Media Library /wp-admin/upload.php1,405 ▲204.21 ▲0.0293.78 ▼5.8279.12 ▲36.09

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • can_compress_scripts
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

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 take a closer look at the following
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hide-entry-title/hide-entry-title.php:16

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Screenshots: Add an image for screenshot #1 (Admin Panel view of submitted form data.)
Please take inspiration from this readme.txt

hide-entry-title/hide-entry-title.php Passed 13 tests

Analyzing the main PHP file in "Hide Entry Title" version 1.0
112 characters long description:
Simple WordPress hide entry title Plugin. Hide Entry Title is easy to use. Hide the title on all pages and posts

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
There were no executable files found in this plugin117 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
CSS112064
PHP1201253

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.05
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
4 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png6.14KB3.40KB▼ 44.70%
icon.png1.26KB0.25KB▼ 80.00%
images/icon.png1.58KB1.43KB▼ 9.69%
images/logo.png11.25KB4.39KB▼ 60.99%