90% one-click-auto-tag

Code Review | One Click Auto Tag

WordPress plugin One Click Auto Tag scored90%from 54 tests.

About plugin

  • Plugin page: one-click-auto-tag
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-4.9
  • WordPress version: 6.3.1
  • First release: Jun 29, 2018
  • Latest release: Jun 29, 2018
  • Number of updates: 2
  • Update frequency: every 0.5 days
  • Top authors: makotoasao (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /493 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices

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

An overview of server-side resources used by One Click Auto Tag
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0039.22 ▼0.64
Dashboard /wp-admin3.35 ▲0.0152.09 ▼12.48
Posts /wp-admin/edit.php3.40 ▲0.0151.90 ▼0.38
Add New Post /wp-admin/post-new.php5.93 ▲0.0192.83 ▼21.70
Media Library /wp-admin/upload.php3.28 ▲0.0134.02 ▼2.41

Server storage [IO: ▲0.05MB] [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
db_upgraded
widget_recent-comments
widget_recent-posts
theysaidso_admin_options
can_compress_scripts
widget_theysaidso_widget

Browser metrics Passed 4 tests

This is an overview of browser requirements for One Click Auto Tag
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,830 ▲8414.14 ▼0.171.90 ▲0.2243.71 ▲4.41
Dashboard /wp-admin2,211 ▲315.55 ▼0.1082.81 ▼10.0844.41 ▲1.89
Posts /wp-admin/edit.php2,116 ▲162.03 ▲0.0138.35 ▲1.1941.27 ▲6.82
Add New Post /wp-admin/post-new.php1,548 ▲2018.19 ▼4.95609.59 ▼108.0659.90 ▲4.60
Media Library /wp-admin/upload.php1,410 ▲134.19 ▼0.0595.10 ▼20.2246.62 ▼1.24

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
  • This plugin does not fully uninstall, leaving 6 options in the database
    • theysaidso_admin_options
    • can_compress_scripts
    • widget_recent-comments
    • widget_recent-posts
    • widget_theysaidso_widget
    • db_upgraded

Smoke tests Passed 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 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 | This is a shallow check for browser errors
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
2 plugin tags: tag, auto

one-click-auto-tag/one-click-auto-tag.php Passed 13 tests

The main PHP script in "One Click Auto Tag" version 1.0.2 is automatically included on every request by WordPress
97 characters long description:
過去の記事+タイトルとタグ一覧を比較してタグを自動的に追加します。

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin50 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP252050

PHP code Passed 2 tests

An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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
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%
Functions2
▷ Named functions2100.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
No PNG images were found in this plugin