84% already-existing-tags

Code Review | Already Existing Tags

WordPress plugin Already Existing Tags scored84%from 54 tests.

About plugin

  • Plugin page: already-existing-...
  • Plugin version: 2.4
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-5.7
  • WordPress version: 6.3.1
  • First release: May 16, 2014
  • Latest release: May 23, 2021
  • Number of updates: 48
  • Update frequency: every 53.4 days
  • Top authors: digitalemphasis (100%)

Code review

54 tests

User reviews

7 reviews

Install metrics

500+ active /9,155 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
This plugin's installer ran successfully

Server metrics [RAM: ▲0.04MB] [CPU: ▼5.69ms] Passed 4 tests

A check of server-side resources used by Already Existing Tags
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0536.83 ▼3.65
Dashboard /wp-admin3.35 ▲0.0543.55 ▼9.31
Posts /wp-admin/edit.php3.40 ▲0.0447.04 ▼1.16
Add New Post /wp-admin/post-new.php5.95 ▲0.0680.89 ▼8.65
Media Library /wp-admin/upload.php3.27 ▲0.0437.22 ▲1.61
Already Existing Tags /wp-admin/edit.php?page=already-existing-tags3.2533.02

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

Filesystem and database footprint
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 13 new options
New WordPress options
can_compress_scripts
widget_recent-posts
theysaidso_admin_options
aet_clean_uninstall
aet_turn_on
aet_filter_by_category
aet_examine_post_content
aet_examine_post_title
widget_recent-comments
widget_theysaidso_widget
...

Browser metrics Passed 4 tests

This is an overview of browser requirements for Already Existing Tags
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,833 ▲9813.20 ▼1.201.83 ▲0.0740.23 ▼7.20
Dashboard /wp-admin2,214 ▲294.89 ▼0.96112.04 ▲13.2242.38 ▼1.61
Posts /wp-admin/edit.php2,097 ▲52.02 ▲0.0542.19 ▲0.1135.60 ▼2.09
Add New Post /wp-admin/post-new.php1,530 ▼518.25 ▼5.03610.61 ▼77.3854.60 ▲1.38
Media Library /wp-admin/upload.php1,396 ▲84.27 ▲0.12103.72 ▼5.9642.27 ▼4.45
Already Existing Tags /wp-admin/edit.php?page=already-existing-tags9112.0426.9734.24

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • This plugin does not fully uninstall, leaving 6 options in the database
    • widget_recent-comments
    • theysaidso_admin_options
    • widget_recent-posts
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
  • 3× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/already-existing-tags/already-existing-tags-core.php
    • > /wp-content/plugins/already-existing-tags/already-existing-tags.php
    • > /wp-content/plugins/already-existing-tags/admin/already-existing-tags-admin.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: auto tagging, automatic tags, tags, tagging, auto tagger

already-existing-tags/already-existing-tags.php Passed 13 tests

The principal PHP file in "Already Existing Tags" v. 2.4 is loaded by WordPress automatically on each request
50 characters long description:
Looks for already existing tags within your posts.

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 detected269 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP3519221
CSS10041
JavaScript1007

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.39
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%
Functions13
▷ Named functions1292.31%
▷ Anonymous functions17.69%
Constants1
▷ Global constants1100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Using a strong compression for your PNG files is a great way to speed-up your plugin
There are no PNG files in this plugin