Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.31ms] Passed 4 tests
Analyzing server-side resources used by adBuddy+ (AdBlocker Detection) by NetfunkDesign
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 34.88 ▼2.89 |
Dashboard /wp-admin | 3.36 ▲0.05 | 43.56 ▼1.64 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 46.44 ▼4.78 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 93.56 ▼7.91 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.40 ▲3.03 |
adBuddy+ /wp-admin/options-general.php?page=adbuddy | 3.25 | 30.05 |
Server storage [IO: ▲0.24MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
adbuddy_options |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for adBuddy+ (AdBlocker Detection) by NetfunkDesign
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,810 ▲64 | 14.43 ▲0.05 | 2.25 ▲0.66 | 46.53 ▲1.72 |
Dashboard /wp-admin | 2,207 ▲19 | 4.85 ▼0.09 | 101.02 ▼2.11 | 40.14 ▼5.09 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.01 | 39.19 ▲3.55 | 34.03 ▼5.92 |
Add New Post /wp-admin/post-new.php | 1,538 ▲18 | 23.32 ▲0.01 | 606.66 ▼62.87 | 51.90 ▼9.08 |
Media Library /wp-admin/upload.php | 1,386 ▼5 | 4.21 ▼0.01 | 94.18 ▼10.33 | 41.16 ▼3.37 |
adBuddy+ /wp-admin/options-general.php?page=adbuddy | 868 | 1.87 | 38.75 | 36.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- adbuddy_options
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please fix the following
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/adbuddy-adblocker-detection/netfunk-adbuddy.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: These screenshots do not have images: #1 (Options Panel.), #2 (Pop-up Notice.)
adbuddy-adblocker-detection/netfunk-adbuddy.php 85% from 13 tests
The principal PHP file in "adBuddy+ (AdBlocker Detection) by NetfunkDesign" v. 1.1.3 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 371 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("adbuddy-adblocker-detection.php" instead of "netfunk-adbuddy.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
Success! There were no dangerous files found in this plugin268 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 54 | 37 | 172 |
CSS | 1 | 9 | 1 | 84 |
JavaScript | 1 | 7 | 0 | 12 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.22MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 72.74KB | 31.90KB | ▼ 56.14% |
img/stop-adblock.png | 60.51KB | 18.98KB | ▼ 68.64% |
img/close.png | 1.02KB | 0.18KB | ▼ 82.53% |
img/jslogo.png | 1.83KB | 1.52KB | ▼ 17.04% |
screenshot-2.png | 89.60KB | 41.63KB | ▼ 53.53% |