Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/bing-ads-uet/index.php+27
Trying to access array offset on value of type null
Server metrics [RAM: ▼1.97MB] [CPU: ▼53.67ms] Passed 4 tests
An overview of server-side resources used by Bing Ads UET
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.17 ▼31.80 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.82 ▼51.84 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.99 ▼43.45 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.91 ▼87.58 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.67 ▼26.71 |
Bing Ads UET /wp-admin/options-general.php?page=bingads-uet-configuration | 2.05 | 6.03 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Bing Ads UET
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲98 | 14.36 ▼0.41 | 2.01 ▲0.24 | 44.26 ▲0.27 |
Dashboard /wp-admin | 2,225 ▲34 | 5.86 ▲0.79 | 96.34 ▼4.50 | 38.28 ▼4.95 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.02 ▼0.02 | 35.30 ▼6.69 | 35.46 ▼1.24 |
Add New Post /wp-admin/post-new.php | 1,551 ▲18 | 23.05 ▼0.03 | 659.42 ▼8.46 | 55.26 ▲1.25 |
Media Library /wp-admin/upload.php | 1,410 ▲22 | 4.13 ▼0.12 | 100.18 ▼6.66 | 46.47 ▼2.08 |
Bing Ads UET /wp-admin/options-general.php?page=bingads-uet-configuration | 825 | 2.17 | 24.11 | 35.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/bing-ads-uet/index.php+27
Trying to access array offset on value of type bool
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These server-side errors were triggered
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bingads-uet-configuration
- > Notice in wp-content/plugins/bing-ads-uet/index.php+27
Trying to access array offset on value of type bool
SRP 50% from 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
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/bing-ads-uet/index.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: uet tags, uet tag, bing ads uet, bing ads, bing ads uet tag
bing-ads-uet/index.php 92% from 13 tests
The main PHP script in "Bing Ads UET" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("bing-ads-uet.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected134 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 26 | 10 | 122 |
Markdown | 1 | 3 | 0 | 12 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.15MB with 0.11MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot.png | 155.37KB | 44.56KB | ▼ 71.32% |