83% wp-autotagger

Code Review | == Autotagger

WordPress plugin == Autotagger scored 83% from 54 tests.

About plugin

  • Plugin page: wp-autotagger
  • Plugin version: 1.0.0
  • PHP compatiblity: 5.2.4+
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.9
  • WordPress version: 6.3.1
  • First release: Sep 10, 2018
  • Latest release: Oct 28, 2018
  • Number of updates: 24
  • Update frequency: every 2.1 days
  • Top authors: aghati (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 756 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.27ms] Passed 4 tests

Analyzing server-side resources used by == Autotagger
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0042.25 ▲3.69
Dashboard /wp-admin3.31 ▲0.0044.81 ▼4.36
Posts /wp-admin/edit.php3.36 ▲0.0047.94 ▼1.49
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.03 ▼6.91
Media Library /wp-admin/upload.php3.23 ▲0.0037.34 ▲3.77
Settings /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_23.0027.03
Autotagger /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page3.0023.68

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

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_theysaidso_widget
theysaidso_admin_options
widget_recent-comments
can_compress_scripts
db_upgraded

Browser metrics Passed 4 tests

A check of browser resources used by == Autotagger
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲5413.21 ▼1.164.72 ▲2.9541.82 ▼1.84
Dashboard /wp-admin2,203 ▲215.77 ▲0.8898.04 ▼16.4937.54 ▼11.82
Posts /wp-admin/edit.php2,089 ▲32.02 ▲0.0038.41 ▲1.4735.70 ▲3.60
Add New Post /wp-admin/post-new.php1,533 ▲523.42 ▲0.33674.20 ▲5.6051.46 ▼6.05
Media Library /wp-admin/upload.php1,391 ▲94.22 ▼0.1295.07 ▼4.5244.08 ▲1.56
Settings /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_2280.440.123.97
Autotagger /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page280.440.093.85

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

🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
  • The uninstall procedure has failed, leaving 6 options in the database
    • widget_recent-posts
    • widget_recent-comments
    • db_upgraded
    • theysaidso_admin_options
    • widget_theysaidso_widget
    • can_compress_scripts

Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The SRP test was a success

User-side errors 0% from 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following browser errors
    • > GET request to /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_2
    • > Network (severe)
    wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page_2 - Failed to load resource: the server responded with a status of 403 (Forbidden)
    • > GET request to /wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page
    • > Network (severe)
    wp-admin/admin.php?page=Wp_Smart_Tagger_settings_page - Failed to load resource: the server responded with a status of 403 (Forbidden)

Optimizations

Plugin configuration 83% from 29 tests

readme.txt 88% from 16 tests

Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
  • Screenshots: A description for screenshot #0 is missing in wp-autotagger/assets to your readme.txt
  • Donate link: Please fix this invalid URI: ""
You can look at the official readme.txt

wp-autotagger/247-wp-smart-tagger.php 77% from 13 tests

The main file in "== Autotagger" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
  • Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-autotagger.php" instead of "247-wp-smart-tagger.php")
  • Domain Path: The domain path points to an invalid folder, "/languages" does not exist
  • Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6

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
No dangerous file extensions were detected233 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP37868233

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.24
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

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
11 PNG files occupy 3.24MB with 2.30MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
assets/screenshot 01.png115.52KB25.18KB▼ 78.20%
assets/screenshot-1.png646.41KB253.85KB▼ 60.73%
assets/screenshot-2.png154.89KB39.77KB▼ 74.33%
screenshot-1.png189.98KB50.74KB▼ 73.29%
assets/screenshot-4.png358.63KB110.44KB▼ 69.20%