Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/adtoniq-express/adtoniq.php+510
file_get_contents(https://integration.adtoniq.com/api/v1): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.05ms] Passed 4 tests
Analyzing server-side resources used by Adtoniq Express
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 42.66 ▲5.75 |
Dashboard /wp-admin | 3.34 ▲0.03 | 1,090.51 ▲1,043.02 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 47.72 ▼0.11 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 85.34 ▼6.40 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 37.22 ▲0.95 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
adtoniq-lastVersion |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Adtoniq Express
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲201 | 13.25 ▼1.40 | 1.90 ▲0.26 | 36.33 ▼8.14 |
Dashboard /wp-admin | 2,315 ▲127 | 5.94 ▲1.07 | 99.43 ▼13.59 | 75.04 ▲31.15 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 1.97 ▼0.04 | 34.30 ▼7.82 | 34.59 ▼2.76 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.70 ▲0.19 | 643.44 ▼44.53 | 53.65 ▲0.31 |
Media Library /wp-admin/upload.php | 1,401 ▲19 | 4.20 ▲0.01 | 95.03 ▼0.93 | 40.99 ▲0.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/adtoniq-express/adtoniq.php+510
file_get_contents(https://integration.adtoniq.com/api/v1): failed to open stream: HTTP request failed! HTTP/1.1 503 Service Temporarily Unavailable
- Zombie WordPress options were found after uninstall: 7 options
- theysaidso_admin_options
- adtoniq-lastVersion
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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)
Good news, no errors were detected
SRP 50% from 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
Almost there! Just fix the following items
- 5× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/adtoniq-express/adtoniq.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/adtoniq-express/inc/alert.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adtoniq-express/inc/trublock.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adtoniq-express/inc/messenger.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/adtoniq-express/inc/protection.php:20
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: ad block, ads, advertisement, ad blocker, adblocker...
adtoniq-express/adtoniq.php 85% from 13 tests
The primary PHP file in "Adtoniq Express" version 5.0.1.9 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 149 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("adtoniq-express.php" instead of "adtoniq.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin2,404 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 183 | 285 | 1,352 |
JavaScript | 9 | 210 | 72 | 1,049 |
CSS | 2 | 2 | 2 | 2 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 6.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 1.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 44 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 36 | |
▷ Named functions | 36 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 19 | |
▷ Global constants | 19 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/pass.png | 7.29KB | 4.77KB | ▼ 34.60% |
images/warn.png | 13.42KB | 6.00KB | ▼ 55.30% |
images/fail.png | 9.46KB | 7.32KB | ▼ 22.58% |