84% categorized-tagged-pages

Code Review | Categorized & Tagged Pages

WordPress plugin Categorized & Tagged Pages scored84%from 54 tests.

About plugin

  • Plugin page: categorized-tagge...
  • Plugin version: 1.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.1
  • WordPress version: 6.3.1
  • First release: Dec 14, 2018
  • Latest release: Dec 14, 2018
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: marine1 (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /569 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully

Server metrics [RAM: ▲0.02MB] [CPU: ▼12.39ms] Passed 4 tests

This is a short check of server-side resources used by Categorized & Tagged Pages
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0337.45 ▼26.18
Dashboard /wp-admin3.33 ▲0.0248.07 ▼7.10
Posts /wp-admin/edit.php3.38 ▲0.0251.70 ▲1.24
Add New Post /wp-admin/post-new.php5.98 ▲0.0984.58 ▼17.50
Media Library /wp-admin/upload.php3.25 ▲0.0235.81 ▲1.61
Categories /wp-admin/edit-tags.php?taxonomy=myctp_categories&post_type=page3.2433.68
Tags /wp-admin/edit-tags.php?taxonomy=myctp_tags&post_type=page3.2434.59

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

How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Categorized & Tagged Pages
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.27 ▼0.341.52 ▼0.2944.28 ▼1.23
Dashboard /wp-admin2,200 ▲205.59 ▼0.0798.02 ▲8.6742.57 ▼2.16
Posts /wp-admin/edit.php2,108 ▲81.99 ▼0.0242.13 ▲6.8639.24 ▲3.05
Add New Post /wp-admin/post-new.php1,532 ▲223.71 ▲0.81630.58 ▲9.9952.25 ▼20.46
Media Library /wp-admin/upload.php1,408 ▲114.26 ▼0.09107.73 ▲3.9145.73 ▼2.67
Categories /wp-admin/edit-tags.php?taxonomy=myctp_categories&post_type=page1,2852.1231.2032.12
Tags /wp-admin/edit-tags.php?taxonomy=myctp_tags&post_type=page1,2542.1127.9031.80

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

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)
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/categorized-tagged-pages/categorized-tagged-pages.php:76

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test


Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
7 plugin tags: pages, tag in page, tags in page, category, category in page...

categorized-tagged-pages/categorized-tagged-pages.php Passed 13 tests

This is the main PHP file of "Categorized & Tagged Pages" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
106 characters long description:
"Categorized & Tagged Pages" plugin allows you to quickly add Categories and Tags to your Wordpress Pages.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin81 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.25
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 functions2100.00%
▷ Anonymous functions00.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