78% title-to-tags

Code Review | Title to Terms Ultimate

WordPress plugin Title to Terms Ultimate scored78%from 54 tests.

About plugin

  • Plugin page: title-to-tags
  • Plugin version: 4.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.1.1
  • WordPress version: 6.3.1
  • First release: Feb 9, 2008
  • Latest release: Apr 28, 2019
  • Number of updates: 52
  • Update frequency: every 79.0 days
  • Top authors: DragonFlyEye (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

200+ active /41,848 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors

Server metrics [RAM: ▲0.12MB] [CPU: ▼4.91ms] Passed 4 tests

Analyzing server-side resources used by Title to Terms Ultimate
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.59 ▲0.1340.23 ▲4.00
Dashboard /wp-admin3.43 ▲0.0949.32 ▼7.64
Posts /wp-admin/edit.php3.55 ▲0.1951.34 ▲4.08
Add New Post /wp-admin/post-new.php6.01 ▲0.1382.24 ▼16.84
Media Library /wp-admin/upload.php3.36 ▲0.1335.33 ▲0.84

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Title to Terms Ultimate
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,803 ▲4214.35 ▼0.201.80 ▲0.2843.87 ▲1.16
Dashboard /wp-admin2,194 ▲175.56 ▼0.0787.69 ▼0.3840.12 ▼3.71
Posts /wp-admin/edit.php2,102 ▲21.96 ▼0.0434.39 ▼3.2036.62 ▲0.05
Add New Post /wp-admin/post-new.php1,528 ▲222.91 ▼0.25700.49 ▲73.4355.16 ▲7.38
Media Library /wp-admin/upload.php1,399 ▼44.18 ▼0.1796.01 ▼3.3543.05 ▼0.12

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 50% 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)
Good news, no errors were detected

SRP 0% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files perform the task of outputting text when accessed with GET requests:
    • > /wp-content/plugins/title-to-tags/tests/bootstrap.php
  • 3× PHP files trigger errors when accessed directly with GET requests:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function Title_To_Terms\\plugin_dir_path() in wp-content/plugins/title-to-tags/title-to-terms.php:28
    • > PHP Fatal error
      Uncaught Error: Class 'WP_UnitTestCase' not found in wp-content/plugins/title-to-tags/tests/test-sample.php:11
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/title-to-tags/Library/fragments/update.php:5

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side

Optimizations

Plugin configuration 96% from 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
4 plugin tags: tags, taxonomy, categories, automation

title-to-tags/title-to-terms.php 92% from 13 tests

"Title to Terms Ultimate" version 4.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Main file name: The principal plugin file should be the same as the plugin slug ("title-to-tags.php" instead of "title-to-terms.php")

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 detected685 lines of code in 15 files:
LanguageFilesBlank linesComment linesLines of code
PHP554255315
Bourne Shell12111123
Markdown3380109
XML491767
YAML17060
CSS11011

PHP code Passed 2 tests

This is a short overview 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.30
Average class complexity18.00
▷ Minimum class complexity1.00
▷ Maximum class complexity35.00
Average method complexity2.10
▷ Minimum method complexity1.00
▷ Maximum method complexity9.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods31
▷ Static methods00.00%
▷ Public methods2890.32%
▷ Protected methods00.00%
▷ Private methods39.68%
Functions1
▷ Named functions1100.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
2 PNG files occupy 0.22MB with 0.15MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
screenshot-1.png134.73KB41.90KB▼ 68.90%
screenshot-2.png94.39KB30.93KB▼ 67.23%