Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.21ms] Passed 4 tests
Analyzing server-side resources used by AdButler WordPress Plugin
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.07 | 46.21 ▲7.13 |
Dashboard /wp-admin | 3.35 ▲0.00 | 50.08 ▼14.12 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 50.10 ▲0.63 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 99.01 ▼1.99 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 39.67 ▲2.64 |
Help /wp-admin/admin.php?page=adbutler_plugin_about | 3.27 | 32.91 |
Settings /wp-admin/admin.php?page=adbutler_plugin | 3.43 | 45.47 |
Server storage [IO: ▲0.29MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
widget_adbutler |
widget_adbutler_hb |
adbutler_interval_ads_restrict_to_pages |
adbutler_interval_ads_start_nth_post |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
adbutler_interval_ads_restrict_to_home |
... |
Browser metrics Passed 4 tests
Checking browser requirements for AdButler WordPress Plugin
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲88 | 14.42 ▼0.16 | 1.82 ▼0.02 | 43.27 ▼8.64 |
Dashboard /wp-admin | 2,221 ▲41 | 5.70 ▼0.00 | 92.26 ▼16.16 | 82.32 ▲22.86 |
Posts /wp-admin/edit.php | 2,144 ▲44 | 2.25 ▲0.26 | 37.98 ▲1.15 | 36.60 ▼3.16 |
Add New Post /wp-admin/post-new.php | 6,265 ▲4,739 | 26.25 ▲8.70 | 1,012.39 ▲383.19 | 37.73 ▼9.69 |
Media Library /wp-admin/upload.php | 1,444 ▲47 | 4.32 ▲0.08 | 98.67 ▼6.22 | 87.15 ▲43.10 |
Help /wp-admin/admin.php?page=adbutler_plugin_about | 985 | 1.86 | 29.92 | 48.00 |
Settings /wp-admin/admin.php?page=adbutler_plugin | 1,276 | 1.86 | 28.70 | 39.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method adbutler_plugin::uninstall() should not be called statically
- Zombie WordPress options detected upon uninstall: 10 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- adbutler_interval_ads_restrict_to_pages
- widget_adbutler_hb
- db_upgraded
- widget_theysaidso_widget
- adbutler_interval_ads_start_nth_post
- adbutler_interval_ads_restrict_to_home
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Donate link: Invalid url: ""
- Screenshots: Please a description for screenshot #2 in adbutler/assets to your readme.txt
adbutler/adbutler.php 92% from 13 tests
The principal PHP file in "AdButler WordPress Plugin" v. 1.29 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 155 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin547 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 66 | 6 | 287 |
JavaScript | 3 | 26 | 8 | 192 |
SVG | 1 | 0 | 1 | 34 |
PHP | 1 | 6 | 16 | 19 |
PO File | 1 | 0 | 0 | 15 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.06 |
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 | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 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
13 PNG files occupy 0.09MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/hero-check.png | 1.20KB | 0.36KB | ▼ 69.92% |
images/icon-calendar.png | 1.61KB | 0.88KB | ▼ 45.21% |
images/adbutler_icon_20.png | 0.77KB | 0.87KB | 0.00% |
images/icon-targeting.png | 2.08KB | 1.32KB | ▼ 36.47% |
images/help_step_2.png | 18.64KB | 8.98KB | ▼ 51.84% |