Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼0.29ms] Passed 4 tests
An overview of server-side resources used by Ad Blocking Advisor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.09 | 39.12 ▼3.04 |
Dashboard /wp-admin | 3.40 ▲0.09 | 52.54 ▲3.31 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.97 ▼2.42 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 96.05 ▲1.00 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.06 ▲3.94 |
Ad Blocking Advisor Settings /wp-admin/options-general.php?page=aba-settings | 3.28 | 28.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 17 new options
New WordPress options |
---|
aba_background_color |
theysaidso_admin_options |
aba_show_banner_loggedin |
aba_enabled |
widget_recent-comments |
aba_div_location |
aba_show_banner_dismiss_icon |
aba_cookie_allow |
aba_font_color |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
A check of browser resources used by Ad Blocking Advisor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,918 ▲183 | 13.64 ▼0.65 | 5.32 ▲3.58 | 43.06 ▲1.70 |
Dashboard /wp-admin | 2,206 ▲20 | 5.81 ▲0.74 | 101.64 ▼8.23 | 39.80 ▼6.19 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.04 ▼0.02 | 39.29 ▼1.12 | 34.68 ▲1.58 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 18.23 ▲0.67 | 600.95 ▼70.39 | 62.37 ▲12.83 |
Media Library /wp-admin/upload.php | 1,397 ▲9 | 4.28 ▲0.09 | 97.98 ▲0.91 | 46.01 ▲1.86 |
Ad Blocking Advisor Settings /wp-admin/options-general.php?page=aba-settings | 1,008 | 2.06 | 25.05 | 35.00 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- aba_version
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
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 register_activation_hook() in wp-content/plugins/ad-blocking-advisor/ad-blocking-advisor.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: You are using too many tags: 22 tag instead of maximum 10
ad-blocking-advisor/ad-blocking-advisor.php 92% from 13 tests
The main PHP script in "Ad Blocking Advisor" version 2.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 155 characters long)
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 plugin445 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 101 | 39 | 357 |
CSS | 2 | 6 | 5 | 63 |
JavaScript | 2 | 2 | 1 | 25 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/OBrienLabs-Logo-h75px.png | 12.21KB | 4.67KB | ▼ 61.79% |