94% remove-archive-label

Code Review | Remove Archive Label

WordPress plugin Remove Archive Label scored 94% from 54 tests.

About plugin

  • Plugin page: remove-archive-label
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.1-5.7
  • WordPress version: 5.8.1
  • First release: Nov 2, 2017
  • Latest release: Apr 7, 2021
  • Number of updates: 7
  • Update frequency: every 178.9 days
  • Top authors: oguido (100%)

Code review

54 tests

User reviews

2 reviews

Install metrics

800+ active / 3,107 total downloads


Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully

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

An overview of server-side resources used by Remove Archive Label
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /2.84 ▲0.1234.92 ▲5.10
Dashboard /wp-admin3.06 ▲0.0144.80 ▼3.74
Posts /wp-admin/edit.php3.12 ▲0.0148.21 ▲1.88
Add New Post /wp-admin/post-new.php5.42 ▼0.0194.30 ▼570.88
Media Library /wp-admin/upload.php3.01 ▲0.0134.22 ▼0.34

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

Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 2 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

A check of browser resources used by Remove Archive Label
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,703 ▲10715.96 ▲0.009.20 ▲0.5454.37 ▲1.50
Dashboard /wp-admin2,962 ▲315.90 ▼0.06163.86 ▲4.54118.35 ▼4.81
Posts /wp-admin/edit.php2,739 ▼02.68 ▼0.0165.07 ▼7.48106.72 ▲12.81
Add New Post /wp-admin/post-new.php1,683 ▲18518.75 ▼0.10375.75 ▼12.03113.92 ▼3.31
Media Library /wp-admin/upload.php1,810 ▲35.03 ▼0.01157.86 ▲4.53127.08 ▼0.43

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables

Smoke tests 75% from 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)
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
Almost there! Just fix the following items
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/remove-archive-label/remove-archive-label.php:12

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected


Plugin configuration Passed 29 tests

readme.txt Passed 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
8 plugin tags: archive, author, post-type, category, label...

remove-archive-label/remove-archive-label.php Passed 13 tests

The primary PHP file in "Remove Archive Label" version 1.0.1 is used by WordPress to initiate all plugin functionality
113 characters long description:
Removes the “Category:”, “Tag:”, “Author:”, “Archives:” and “Taxonomy:” in the archive title.

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
Good job! No executable or dangerous file extensions detected15 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.71
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
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
▷ Named functions00.00%
▷ Anonymous functions1100.00%
▷ 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