83% bing-webmaster-tools

Code Review | Bing URL Submissions Plugin

WordPress plugin Bing URL Submissions Plugin scored83%from 54 tests.

About plugin

  • Plugin page: bing-webmaster-tools
  • Plugin version: 1.0.13
  • PHP compatiblity: 5.6.20+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.3-6.3
  • WordPress version: 6.3.1
  • First release: Jul 17, 2020
  • Latest release: Oct 16, 2023
  • Number of updates: 38
  • Update frequency: every 31.3 days
  • Top authors: bingwebmastertools (100%)

Code review

54 tests

User reviews

19 reviews

Install metrics

40,000+ active /242,095 total downloads


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
Install script ran successfully

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

An overview of server-side resources used by Bing URL Submissions Plugin
No issues were detected with server-side resource usage
PageMemory (MB)CPU Time (ms)
Home /3.67 ▲0.2041.88 ▼1.29
Dashboard /wp-admin3.58 ▲0.2751.06 ▼2.66
Posts /wp-admin/edit.php3.63 ▲0.2754.57 ▲2.01
Add New Post /wp-admin/post-new.php6.14 ▲0.2585.27 ▼7.04
Media Library /wp-admin/upload.php3.44 ▲0.2137.65 ▲1.93

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

Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 47 new files
Database: 2 new tables, 6 new options
New tables
New WordPress options

Browser metrics Passed 4 tests

A check of browser resources used by Bing URL Submissions Plugin
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,884 ▲12316.27 ▲2.011.84 ▲0.1041.04 ▼0.08
Dashboard /wp-admin2,262 ▲886.63 ▲1.08129.77 ▲39.8751.86 ▲7.87
Posts /wp-admin/edit.php2,172 ▲904.32 ▲2.3485.15 ▲47.7842.98 ▲3.06
Add New Post /wp-admin/post-new.php1,569 ▲4325.26 ▲2.22667.26 ▼36.1134.22 ▼27.17
Media Library /wp-admin/upload.php1,470 ▲736.07 ▲1.78141.18 ▲27.4547.20 ▲0.73

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
The following items require your attention
  • The uninstall procedure has failed, leaving 6 options in the database
    • db_upgraded
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
  • 1× PHP files output non-empty strings when accessed directly via GET requests:
    • > /wp-content/plugins/bing-webmaster-tools/admin/partials/bing-url-submission-admin-react.php

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found


Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: crawling, seo

bing-webmaster-tools/bing-url-submission.php 77% from 13 tests

The main PHP file in "Bing URL Submissions Plugin" ver. 1.0.13 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
  • Domain Path: The domain path folder does not exist ("/languages")
  • Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
  • Main file name: Name the main plugin file the same as the plugin slug ("bing-webmaster-tools.php" instead of "bing-url-submission.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,210 lines of code in 30 files:
LanguageFilesBlank linesComment linesLines of code

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity
Average complexity per logical line of code0.30
Average class complexity13.64
▷ Minimum class complexity1.00
▷ Maximum class complexity95.00
Average method complexity3.04
▷ Minimum method complexity1.00
▷ Maximum method complexity28.00
Code structure
▷ Abstract classes00.00%
▷ Concrete classes11100.00%
▷ Final classes00.00%
▷ Static methods1217.39%
▷ Public methods4869.57%
▷ Protected methods00.00%
▷ Private methods2130.43%
▷ Named functions375.00%
▷ Anonymous functions125.00%
▷ Global constants25.41%
▷ Class constants3594.59%
▷ Public constants35100.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