84% categorytinymce

Code Review | Category Editor

WordPress plugin Category Editor scored 84% from 54 tests.

About plugin

  • Plugin page: categorytinymce
  • Plugin version: 3.8.3
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.6
  • WordPress version: 6.3.1
  • First release: Jan 2, 2012
  • Latest release: Dec 18, 2020
  • Number of updates: 116
  • Update frequency: every 28.2 days
  • Top authors: ypraise (100%)

Code review

54 tests

User reviews

22 reviews

Install metrics

10,000+ active / 127,458 total downloads


Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.07MB] [CPU: ▼2.35ms] Passed 4 tests

An overview of server-side resources used by Category Editor
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.52 ▲0.0637.26 ▼2.08
Dashboard /wp-admin3.38 ▲0.0848.16 ▼3.71
Posts /wp-admin/edit.php3.43 ▲0.0748.93 ▲3.12
Add New Post /wp-admin/post-new.php5.96 ▲0.0785.58 ▼5.60
Media Library /wp-admin/upload.php3.30 ▲0.0735.54 ▲2.00
CategoryTinyMCE /wp-admin/options-general.php?page=catMCE3.2733.53

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Category Editor
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,807 ▲7213.59 ▼0.711.57 ▼0.1541.15 ▼1.41
Dashboard /wp-admin2,216 ▲304.87 ▼0.0599.70 ▼20.3239.02 ▼2.49
Posts /wp-admin/edit.php2,099 ▲102.06 ▼0.0034.89 ▼1.3831.88 ▲0.69
Add New Post /wp-admin/post-new.php1,534 ▲123.32 ▲0.02638.45 ▼51.7554.47 ▼0.97
Media Library /wp-admin/upload.php1,398 ▲104.19 ▼0.0195.48 ▼6.1740.34 ▼12.01
CategoryTinyMCE /wp-admin/options-general.php?page=catMCE7792.0224.2025.00

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • theysaidso_admin_options
    • can_compress_scripts
    • db_upgraded
    • 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
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
Almost there! Just fix the following items
  • 1× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/categorytinymce/categorytinymce.php:28

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found


Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
  • Screenshots: These screenshots require images: #1 (A new tinymce enabled category description box is added to the category edit screen.), #2 (The category description box and column are removed form the admin page to keep it looking nice.)
The official readme.txt is a good inspiration

categorytinymce/categorytinymce.php Passed 13 tests

The main PHP script in "Category Editor" version 3.8.3 is automatically included on every request by WordPress
73 characters long description:
Adds a tinymce enable box to the category descriptions and taxonomy page.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin428 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code

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.32
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 functions17100.00%
▷ Anonymous functions00.00%
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin