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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.19MB] [CPU: ▲2.61ms] Passed 4 tests
This is a short check of server-side resources used by belboon Advertiser Tracking
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 38.64 ▼1.82 |
Dashboard /wp-admin | 3.49 ▲0.19 | 51.06 ▲6.90 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 47.61 ▲2.76 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 99.25 ▲5.08 |
Media Library /wp-admin/upload.php | 3.42 ▲0.19 | 39.73 ▲4.40 |
Server storage [IO: ▲0.20MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
bb_plugin_version |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for belboon Advertiser Tracking
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲117 | 14.25 ▲0.04 | 1.09 ▼0.62 | 44.31 ▲5.79 |
Dashboard /wp-admin | 2,266 ▲75 | 4.88 ▲0.01 | 112.60 ▲8.79 | 41.77 ▲0.25 |
Posts /wp-admin/edit.php | 2,155 ▲66 | 2.06 ▲0.01 | 41.91 ▲5.28 | 36.85 ▲4.27 |
Add New Post /wp-admin/post-new.php | 1,541 ▲27 | 23.50 ▲5.99 | 655.97 ▲16.76 | 71.39 ▼7.64 |
Media Library /wp-admin/upload.php | 1,448 ▲63 | 4.37 ▲0.12 | 103.45 ▼6.27 | 42.89 ▼2.16 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- bb_plugin_version
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
5 plugin tags: affiliate marketing, performance marketing, tracking, affilliate, retargeting
belboon-advertiser-tracking/belboon-advertiser-tracking.php Passed 13 tests
The principal PHP file in "belboon Advertiser Tracking" v. 2.6.0 is loaded by WordPress automatically on each request
76 characters long description:
Adds the affiliate marketing tracking of the belboon network for advertisers
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
Success! There were no dangerous files found in this plugin2,184 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 213 | 154 | 1,343 |
PO File | 5 | 194 | 216 | 576 |
CSS | 1 | 44 | 0 | 199 |
SVG | 3 | 0 | 2 | 53 |
JavaScript | 1 | 2 | 0 | 13 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 139.00 |
▷ Minimum class complexity | 139.00 |
▷ Maximum class complexity | 139.00 |
Average method complexity | 2.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 71 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 52 | 73.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 26.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 3 | 75.00% |
▷ Class constants | 1 | 25.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.09MB with 0.06MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/belboon_get_api_key_menu.png | 49.43KB | 19.28KB | ▼ 61.00% |
assets/img/belboon_get_api_key_page.png | 42.91KB | 16.67KB | ▼ 61.15% |