Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼298.23ms] Passed 4 tests
This is a short check of server-side resources used by Ads Invalid Click Protection
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.02 | 51.44 ▲0.04 |
Dashboard /wp-admin | 3.43 ▲0.02 | 31.89 ▼0.24 |
Posts /wp-admin/edit.php | 3.65 ▲0.02 | 39.69 ▲3.44 |
Add New Post /wp-admin/post-new.php | 6.90 ▼0.07 | 94.56 ▼1,187.41 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 22.38 ▼5.29 |
Ads Invalid Click Protection /wp-admin/options-general.php?page=Ads_invalid_click_protection | 3.28 | 24.63 |
Server storage [IO: ▲25.63MB] [DB: ▲0.00MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- Total filesystem usage should be limited to 25MB (currently using 25.63MB)
Filesystem: 9 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Ads Invalid Click Protection
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,910 ▲168 | 16.62 ▲1.06 | 9.99 ▲4.57 | 2.69 ▲0.72 |
Dashboard /wp-admin | 2,897 ▲39 | 6.16 ▼0.01 | 111.57 ▼19.30 | 156.91 ▼3.60 |
Posts /wp-admin/edit.php | 2,693 ▲5 | 3.22 ▼0.01 | 60.30 ▼1.04 | 135.03 ▼5.74 |
Add New Post /wp-admin/post-new.php | 1,664 ▼4 | 15.64 ▼2.51 | 396.45 ▲26.54 | 150.70 ▼2.83 |
Media Library /wp-admin/upload.php | 1,703 ▲2 | 5.56 ▲0.03 | 139.75 ▲3.71 | 182.42 ▼3.48 |
Ads Invalid Click Protection /wp-admin/options-general.php?page=Ads_invalid_click_protection | 1,433 | 2.76 | 54.39 | 174.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Uninstaller ran successfully
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ads-invalid-click-protection/ads-invalid-click-protection.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: google adsense, save adsense account, adsense, aicpess, invalid click...
ads-invalid-click-protection/ads-invalid-click-protection.php 92% from 13 tests
"Ads Invalid Click Protection" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 180 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin483 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 28 | 9 | 202 |
PHP | 2 | 17 | 75 | 141 |
JavaScript | 2 | 10 | 0 | 104 |
Markdown | 1 | 17 | 0 | 36 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin