84% wp-remove-category-from-archive-title

Code Review | WP Remove Category from Archive title

WordPress plugin WP Remove Category from Archive title scored84%from 54 tests.

About plugin

  • Plugin page: wp-remove-categor...
  • Plugin version: 1.1
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4.1
  • WordPress version: 6.3.1
  • First release: May 23, 2020
  • Latest release: Nov 30, 2023
  • Number of updates: 13
  • Update frequency: every 99.3 days
  • Top authors: isrgrajan (100%)

Code review

54 tests

User reviews

1 review

Install metrics

100+ active /2,568 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors

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

An overview of server-side resources used by WP Remove Category from Archive title
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0136.09 ▼4.64
Dashboard /wp-admin3.31 ▲0.0146.34 ▼4.37
Posts /wp-admin/edit.php3.36 ▲0.0148.33 ▼2.49
Add New Post /wp-admin/post-new.php5.89 ▲0.0191.94 ▼6.29
Media Library /wp-admin/upload.php3.24 ▲0.0132.37 ▲0.55

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for WP Remove Category from Archive title
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲2814.36 ▲0.021.60 ▼0.0238.18 ▼6.03
Dashboard /wp-admin2,198 ▲215.62 ▲0.0492.98 ▼0.2141.93 ▼4.25
Posts /wp-admin/edit.php2,103 ▲31.96 ▼0.0638.81 ▼2.8837.07 ▲0.16
Add New Post /wp-admin/post-new.php1,529 ▼023.21 ▲0.02613.71 ▼4.2749.62 ▲1.46
Media Library /wp-admin/upload.php1,403 ▲64.20 ▼0.0597.79 ▼0.3644.90 ▲3.91

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected

SRP 50% from 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
The following issues need your attention
  • 1× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-remove-category-from-archive-title/wp-remove-category-from-archive-title.php:18

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)
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: category, archive, tags, wordpress

wp-remove-category-from-archive-title/wp-remove-category-from-archive-title.php Passed 13 tests

"WP Remove Category from Archive title" version 1.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
130 characters long description:
WP Remove Category from Archive title helps you hide and remove the in-built Category: keyword from the archive.php and categories

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
No dangerous file extensions were detected22 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP151422

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.56
Average class complexity6.00
▷ Minimum class complexity6.00
▷ Maximum class complexity6.00
Average method complexity3.50
▷ Minimum method complexity1.00
▷ Maximum method complexity6.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods2
▷ Static methods00.00%
▷ Public methods2100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
There were not PNG files found in your plugin