90% auto-title-case

Code Review | Auto Title Case

WordPress plugin Auto Title Case scored90%from 54 tests.

About plugin

  • Plugin page: auto-title-case
  • Plugin version: 0.1
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-6.3
  • WordPress version: 6.3.1
  • First release: Jun 8, 2022
  • Latest release: Aug 19, 2023
  • Number of updates: 6
  • Update frequency: every 72.8 days
  • Top authors: bhadaway (100%)

Code review

54 tests

User reviews

1 review

Install metrics

90+ active /410 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.01MB] [CPU: ▼3.03ms] Passed 4 tests

A check of server-side resources used by Auto Title Case
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.54 ▲0.08437.33 ▲398.65
Dashboard /wp-admin3.32 ▲0.0150.67 ▲2.43
Posts /wp-admin/edit.php3.37 ▲0.0146.00 ▼3.00
Add New Post /wp-admin/post-new.php5.90 ▲0.0178.67 ▼11.68
Media Library /wp-admin/upload.php3.24 ▲0.0133.17 ▲0.12

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-comments
db_upgraded
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

Auto Title Case: an overview of browser usage
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,790 ▲5514.42 ▼0.161.61 ▼0.0536.14 ▼3.51
Dashboard /wp-admin2,206 ▲185.86 ▲0.97107.65 ▼2.3943.62 ▲3.83
Posts /wp-admin/edit.php2,089 ▼32.06 ▲0.0440.97 ▼2.6735.07 ▼1.88
Add New Post /wp-admin/post-new.php1,538 ▼423.59 ▲5.21660.22 ▲60.1152.55 ▼3.52
Media Library /wp-admin/upload.php1,385 ▼34.17 ▼0.0396.42 ▲1.4142.07 ▼1.32

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • theysaidso_admin_options
    • widget_recent-posts
    • can_compress_scripts
    • widget_recent-comments
    • db_upgraded
    • widget_theysaidso_widget

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

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

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
5 plugin tags: clean, pretty, automatic, seo, title case

auto-title-case/auto-title-case.php Passed 13 tests

This is the main PHP file of "Auto Title Case" version 0.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
59 characters long description:
Automatically converts post and image titles to title case.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected51 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP141551

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.29
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
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions3
▷ Named functions3100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected