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
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
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.20 | 41.88 ▼1.29 |
Dashboard /wp-admin | 3.58 ▲0.27 | 51.06 ▼2.66 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 54.57 ▲2.01 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 85.27 ▼7.04 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.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 |
---|
wp_bwt_failed_submissions |
wp_bwt_passed_submissions |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
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
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,884 ▲123 | 16.27 ▲2.01 | 1.84 ▲0.10 | 41.04 ▼0.08 |
Dashboard /wp-admin | 2,262 ▲88 | 6.63 ▲1.08 | 129.77 ▲39.87 | 51.86 ▲7.87 |
Posts /wp-admin/edit.php | 2,172 ▲90 | 4.32 ▲2.34 | 85.15 ▲47.78 | 42.98 ▲3.06 |
Add New Post /wp-admin/post-new.php | 1,569 ▲43 | 25.26 ▲2.22 | 667.26 ▼36.11 | 34.22 ▼27.17 |
Media Library /wp-admin/upload.php | 1,470 ▲73 | 6.07 ▲1.78 | 141.18 ▲27.45 | 47.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
Optimizations
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:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 187 | 397 | 1,039 |
Markdown | 3 | 74 | 0 | 99 |
JavaScript | 11 | 8 | 31 | 49 |
JSON | 1 | 0 | 0 | 20 |
CSS | 3 | 0 | 3 | 3 |
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 code | 0.30 |
Average class complexity | 13.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 95.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 12 | 17.39% |
▷ Public methods | 48 | 69.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 21 | 30.43% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 37 | |
▷ Global constants | 2 | 5.41% |
▷ Class constants | 35 | 94.59% |
▷ Public constants | 35 | 100.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