Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼7.43ms] Passed 4 tests
A 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.51 ▲0.05 | 39.48 ▲1.32 |
Dashboard /wp-admin | 3.34 ▼0.00 | 56.13 ▼7.60 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 52.97 ▲1.52 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 92.64 ▼23.08 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 36.07 ▼0.36 |
Ads Invalid Click Protection /wp-admin/options-general.php?page=Ads_invalid_click_protection | 3.23 | 36.86 |
Server storage [IO: ▲25.63MB] [DB: ▲0.00MB] 67% from 3 tests
Analyzing filesystem and database footprints of this plugin
These are issues you should consider
- Total filesystem usage must be limited to 25MB (currently using 25.63MB)
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ads Invalid Click Protection
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲91 | 13.36 ▼0.93 | 9.74 ▲7.42 | 40.16 ▼4.29 |
Dashboard /wp-admin | 2,202 ▲25 | 5.62 ▼0.01 | 90.22 ▼1.97 | 42.68 ▼2.58 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.04 | 39.25 ▼0.94 | 36.07 ▼0.97 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.11 ▼0.34 | 729.13 ▲42.02 | 54.56 ▼2.43 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.26 ▲0.13 | 98.83 ▼12.62 | 41.51 ▼5.70 |
Ads Invalid Click Protection /wp-admin/options-general.php?page=Ads_invalid_click_protection | 1,193 | 2.17 | 30.45 | 72.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
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
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/ads-invalid-click-protection/ads-invalid-click-protection.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: aicpess, adsense, invalid click, impactpixel, save adsense account...
ads-invalid-click-protection/ads-invalid-click-protection.php 92% from 13 tests
The main file in "Ads Invalid Click Protection" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 180 characters long)
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
Everything looks great! No dangerous 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin