10% wp-tag-seeder

Code Review | WP TagSeeder - Automatically Tag Your Blog Posts With Best Tags

WordPress plugin WP TagSeeder - Automatically Tag Your Blog Posts With Best Tags scored10%from 54 tests.

About plugin

  • Plugin page: wp-tag-seeder
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.3
  • WordPress version: 6.3.1
  • First release: Feb 18, 2020
  • Latest release: Feb 27, 2020
  • Number of updates: 4
  • Update frequency: every 2.5 days
  • Top authors: teknikforce (100%)

Code review

54 tests

User reviews

1 review

Install metrics

20+ active /934 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
  • Install procedure had errors
    • > User deprecated in wp-includes/functions.php+5747
    Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.

Server metrics [RAM: ▼1.80MB] [CPU: ▼54.38ms] Passed 4 tests

Server-side resources used by WP TagSeeder - Automatically Tag Your Blog Posts With Best Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /2.19 ▼1.286.44 ▼32.64
Dashboard /wp-admin2.21 ▼1.106.76 ▼42.94
Posts /wp-admin/edit.php2.21 ▼1.155.78 ▼41.65
Add New Post /wp-admin/post-new.php2.21 ▼3.686.35 ▼100.28
Media Library /wp-admin/upload.php2.21 ▼1.026.47 ▼28.44
WP Tag Seeder /wp-admin/options-general.php?page=tnf_tag_adder_slug2.216.07

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

A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 36 new files
Database: no new tables, 13 new options
New WordPress options
totalmatchintitle
tag_addor_sensetive
tag_addor_mwworld
can_compress_scripts
widget_recent-comments
tag_addor_autotag
total_matched_inbody
tag_addor_scanposttitle
db_upgraded
widget_theysaidso_widget
...

Browser metrics Passed 4 tests

A check of browser resources used by WP TagSeeder - Automatically Tag Your Blog Posts With Best Tags
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,797 ▲3614.78 ▲0.371.75 ▼0.0630.06 ▼12.11
Dashboard /wp-admin2,203 ▲265.77 ▲0.1293.20 ▲2.4850.98 ▲7.94
Posts /wp-admin/edit.php2,108 ▲112.23 ▲0.2834.88 ▲1.7740.37 ▲4.58
Add New Post /wp-admin/post-new.php1,696 ▲17024.82 ▲1.65592.78 ▼76.6954.64 ▲4.44
Media Library /wp-admin/upload.php1,411 ▲114.30 ▲0.1198.31 ▲1.8149.90 ▲7.78
WP Tag Seeder /wp-admin/options-general.php?page=tnf_tag_adder_slug9351.8125.7448.46

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
  • This plugin did not uninstall without warnings or errors
    • > User deprecated in wp-includes/functions.php+5747
    Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
  • This plugin does not fully uninstall, leaving 13 options in the database
    • widget_recent-comments
    • totalmatchintitle
    • tag_addor_mwworld
    • widget_recent-posts
    • tag_addor_tags
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • tag_addor_sensetive
    • tag_addor_autotag
    • db_upgraded
    • ...

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These server-side errors were triggered
  • 7 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tnf_tag_adder_slug
    • > User deprecated in wp-includes/functions.php+5747
    Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=tnf_tag_adder_slug
    • > User deprecated in wp-includes/functions.php+5737
    Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
    • > GET request to /wp-admin/options-general.php?page=tnf_tag_adder_slug
    • > Notice in wp-content/plugins/wp-tag-seeder/WPTagSeeder.php+65
    Undefined index: starts1

SRP Passed 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Looking good! No server-side errors or output on direct access of PHP files

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

Optimizations

Plugin configuration 93% from 29 tests

readme.txt 94% from 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
These attributes need your attention: You can take inspiration from this readme.txt

wp-tag-seeder/WPTagSeeder.php 92% from 13 tests

Analyzing the main PHP file in "WP TagSeeder - Automatically Tag Your Blog Posts With Best Tags" version 1.0.0
Please make the necessary changes and fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("wp-tag-seeder.php" instead of "WPTagSeeder.php")

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
There were no executable files found in this plugin22,057 lines of code in 16 files:
LanguageFilesBlank linesComment linesLines of code
CSS81,4675213,546
JavaScript62,0221,7177,948
SVG100288
PHP18120275

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.37
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%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size 50% from 2 tests

Image compression 50% from 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
(invalid) assets/img/logo.png2.22KB0.00KB▼ 100.00%