10% tags-page

Code Review | Tags Page

WordPress plugin Tags Page scored10%from 54 tests.

About plugin

  • Plugin page: tags-page
  • Plugin version: 1.3.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0-4.7
  • WordPress version: 6.3.1
  • First release: Feb 17, 2011
  • Latest release: Mar 8, 2017
  • Number of updates: 28
  • Update frequency: every 79.0 days
  • Top authors: honza.skypala (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

500+ active /14,125 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
The following installer errors require your attention
  • This plugin did not install gracefully
    • > Deprecated in wp-content/plugins/tags-page/tags-page.php+19
    Function create_function() is deprecated

Server metrics [RAM: ▼1.82MB] [CPU: ▼54.45ms] Passed 4 tests

Server-side resources used by Tags Page
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.18 ▼1.284.87 ▼32.93
Dashboard /wp-admin2.20 ▼1.156.60 ▼51.76
Posts /wp-admin/edit.php2.20 ▼1.165.72 ▼41.02
Add New Post /wp-admin/post-new.php2.20 ▼3.695.86 ▼92.08
Media Library /wp-admin/upload.php2.20 ▼1.036.85 ▼30.49

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 13 new files
Database: no new tables, 7 new options
New WordPress options
widget_recent-posts
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
tags_page_version
can_compress_scripts

Browser metrics Passed 4 tests

Checking browser requirements for Tags Page
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,906 ▲13513.73 ▼0.675.43 ▲3.5442.50 ▲3.24
Dashboard /wp-admin2,206 ▲215.80 ▼0.0898.20 ▼15.1240.32 ▼9.36
Posts /wp-admin/edit.php2,092 ▲62.04 ▼0.0136.83 ▼2.9432.88 ▼4.08
Add New Post /wp-admin/post-new.php1,542 ▲2818.25 ▲0.52616.53 ▼33.3653.06 ▲5.99
Media Library /wp-admin/upload.php1,391 ▲64.21 ▲0.0195.89 ▲0.7142.61 ▲0.40

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Uninstall procedure had uncaught errors
    • > Deprecated in wp-content/plugins/tags-page/tags-page.php+19
    Function create_function() is deprecated
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • theysaidso_admin_options
    • db_upgraded
    • tags_page_version
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
  • 4× PHP files trigger server-side errors or warnings when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/tags-page/tags-page.php:19
    • > PHP Warning
      Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/tags-page/tags-page.php on line 12
    • > PHP Warning
      include_once(): Failed opening 'ABSPATHwp-admin/includes/plugin.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/tags-page/tags-page.php on line 12
    • > PHP Warning
      include_once(ABSPATHwp-admin/includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/tags-page/tags-page.php on line 12

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: taxonomy, widget, tags, page, tag-cloud

tags-page/tags-page.php Passed 13 tests

"Tags Page" version 1.3.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
57 characters long description:
Adds a table listing all tags registered on your website.

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 detected575 lines of code in 10 files:
LanguageFilesBlank linesComment linesLines of code
PHP14624339
JavaScript42811116
CSS418085
PO File1121435

PHP code Passed 2 tests

This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity
Average complexity per logical line of code0.39
Average class complexity72.00
▷ Minimum class complexity72.00
▷ Maximum class complexity72.00
Average method complexity5.18
▷ Minimum method complexity1.00
▷ Maximum method complexity21.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods17
▷ Static methods211.76%
▷ Public methods1588.24%
▷ Protected methods00.00%
▷ Private methods211.76%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants1
▷ Global constants00.00%
▷ Class constants1100.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
No PNG files were detected