Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼5.70ms] Passed 4 tests
This is a short check of server-side resources used by WP Adblock Dedect
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.89 ▼1.25 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.28 ▼13.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 45.92 ▼4.87 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 91.12 ▼3.18 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 32.84 ▼0.29 |
Adblock Dedect Settings /wp-admin/admin.php?page=adblock-dedect-settings | 3.18 | 28.54 |
Adblock Dedect /wp-admin/admin.php?page=adblock-dedect | 3.20 | 29.04 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 10 new options
New WordPress options |
---|
NoAdblockPlusBtn |
widget_recent-posts |
NoAdblockPlusTitle |
widget_theysaidso_widget |
NoAdblockPlusRedirectPage |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
NoAdblockPlusDesc |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Adblock Dedect
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,961 ▲215 | 13.60 ▼0.92 | 7.45 ▲5.81 | 39.85 ▼1.22 |
Dashboard /wp-admin | 2,235 ▲47 | 4.84 ▼0.03 | 98.27 ▼11.01 | 38.55 ▼5.14 |
Posts /wp-admin/edit.php | 2,118 ▲29 | 2.04 ▲0.06 | 35.91 ▲0.22 | 33.56 ▲2.15 |
Add New Post /wp-admin/post-new.php | 6,248 ▲4,729 | 26.24 ▲3.18 | 844.27 ▲158.67 | 62.39 ▲9.72 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.24 ▼0.02 | 96.60 ▼0.39 | 39.63 ▼2.35 |
Adblock Dedect Settings /wp-admin/admin.php?page=adblock-dedect-settings | 923 | 2.02 | 21.88 | 29.92 |
Adblock Dedect /wp-admin/admin.php?page=adblock-dedect | 814 | 2.06 | 24.70 | 28.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 10 options
- NoAdblockPlusTitle
- NoAdblockPlusDesc
- widget_recent-comments
- NoAdblockPlusBtn
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- NoAdblockPlusRedirectPage
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=adblock-dedect-settings
- > Notice in wp-content/plugins/wp-adblock-dedect/index.php+101
Undefined index: NoAdblockPlusValuesSubmit
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 items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-adblock-dedect/index.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: wordpress adblock dedect, no adblock, adblock, adblock modal, wordpress adblock detect...
wp-adblock-dedect/index.php 92% from 13 tests
The main file in "WP Adblock Dedect" v. 3.5.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wp-adblock-dedect.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin554 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 26 | 6 | 219 |
PHP | 1 | 19 | 16 | 209 |
CSS | 2 | 5 | 0 | 126 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
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 | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpsc.png | 21.75KB | 8.73KB | ▼ 59.87% |