Bitly URL Shortener

Bitly URL Shortener uses the functionality of Bitly API to generate Bitly short link without leaving your WordPress site.

v1.5.1CodehaveliUpdated Added 600 installs100% rating
79
Score
65
Errors
22
Warnings
+0
Change

Category Scores

Security75
Repo88
Performance100
Maintainability75

Issues to Review

Prioritized issue groups from the latest Plugin Check scan

87 findings

I18n

51

3 issue groups

Maintainability

28

8 issue groups

Security

5

1 issue group

Repo Compliance

3

3 issue groups

ERRORI18nText Domain MismatchMismatched text domain. Expected 'codehaveli-bitly-url-shortener' but got 'wbitly'.48
Category
I18n
Occurrences
48
Severity
error

Sample message

Mismatched text domain. Expected 'codehaveli-bitly-url-shortener' but got 'wbitly'.

WARNINGMaintainabilityNon-prefixed global variableGlobal variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$custom_size".11
Category
Maintainability
Occurrences
11
Severity
warning

Sample message

Global variables defined by a theme/plugin should start with the theme/plugin prefix. Found: "$custom_size".

ERRORMaintainabilityNot AllowedUse of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead5
Category
Maintainability
Occurrences
5
Severity
error

Sample message

Use of heredoc syntax (<<<) is not allowed; use standard strings or inline HTML instead

ERRORSecurityOutput is not escapedAll output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$checked'.5
Category
Security
Occurrences
5
Severity
error

Sample message

All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$checked'.

WARNINGMaintainabilityerror log error logerror_log() found. Debug code should not normally be used in production.3
Category
Maintainability
Occurrences
3
Severity
warning

Sample message

error_log() found. Debug code should not normally be used in production.

ERRORMaintainabilityMissing direct file access protectionPHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;3
Category
Maintainability
Occurrences
3
Severity
error

Sample message

PHP file should prevent direct access. Add a check like: if ( ! defined( 'ABSPATH' ) ) exit;

WARNINGMaintainabilityslow db query meta queryDetected usage of meta_query, possible slow query.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Detected usage of meta_query, possible slow query.

WARNINGMaintainabilityNon-prefixed functionFunctions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;get_wbitly_short_url&quot;.2
Category
Maintainability
Occurrences
2
Severity
warning

Sample message

Functions declared in the global namespace by a theme/plugin should start with the theme/plugin prefix. Found: &quot;get_wbitly_short_url&quot;.

ERRORI18nMissing Translators CommentA function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.2
Category
I18n
Occurrences
2
Severity
error

Sample message

A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.

WARNINGMaintainabilitymissing composer json fileThe &quot;/vendor&quot; directory using composer exists, but &quot;composer.json&quot; file is missing.1
Category
Maintainability
Occurrences
1
Severity
warning

Sample message

The &quot;/vendor&quot; directory using composer exists, but &quot;composer.json&quot; file is missing.

Show 5 more
ERRORRepo Complianceoutdated tested upto header1
Category
Repo Compliance
Occurrences
1
Severity
error

Sample message

Tested up to: 6.9 < 7.0. The "Tested up to" value in your plugin is not set to the current version of WordPress. This means your plugin will not show up in searches, as we require plugins to be compatible and documented as tested up to the most recent version of WordPress.

WARNINGRepo Complianceplugin header nonexistent domain path1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

The "Domain Path" header in the plugin file must point to an existing folder. Found: "languages"

WARNINGRepo Compliancereadme parser warnings too many tags1
Category
Repo Compliance
Occurrences
1
Severity
warning

Sample message

One or more tags were ignored. Please limit your plugin to 5 tags.

WARNINGI18ntextdomain mismatch1
Category
I18n
Occurrences
1
Severity
warning

Sample message

The "Text Domain" header in the plugin file does not match the slug. Found "wbitly", expected "codehaveli-bitly-url-shortener".

ERRORMaintainabilitywp function not compatible with requires wp1
Category
Maintainability
Occurrences
1
Severity
error

Sample message

Function "wp_register_block_types_from_metadata_collection()" requires WordPress 6.8.0, but your plugin minimum supported version is WordPress 5.6.0.

External Connections

Potential connections found in static code analysis.

14 domains

Outbound calls

39

External assets

0

Incoming endpoints

2

Notable Domains

facebook.com5 · outbound
twitter.com5 · outbound
api-ssl.bitly.com2 · outbound
codehaveli.com2 · outbound
php-fig.org2 · outbound
schemas.wp.org2 · outbound

Platform / Reference Domains

w3.org12 · platform/reference
github.com3 · platform/reference
developer.wordpress.org1 · platform/reference
gnu.org1 · platform/reference

External Asset Domains

No external asset domains detected.

Incoming Endpoints

/wp-json/wbitly/v1/generate/(?P<post_id>\d+)REST

register_rest_route

/wp-json/wbitly/v1/meta/(?P<id>\d+)REST

register_rest_route

Score History

First score snapshot

v1.5.1

79

Latest

Findings
87
Errors
65
Warnings
22
Check
2.0.0

Relationship Map

Author, categories, issues, domains, and nearby plugins.

37 nodes

Related Plugins

Custom Post Exporter

3k+ active installs

99
Header and Footer Scripts

200k+ active installs

99
Hide Broken Shortcodes

400 active installs

99
Link Shortner

800 active installs

99