Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.01MB] [CPU: ▼7.87ms] Passed 4 tests
This is a short check of server-side resources used by ads.txt for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 40.39 ▼3.44 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.89 ▼3.31 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 47.21 ▼9.81 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.71 ▼14.90 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 37.02 ▼1.35 |
ads.txt /wp-admin/options-general.php?page=ads.txt | 3.19 | 34.29 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
These are issues you should consider
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/wphotline-ads-txt/" and "wp-content/uploads/"
- (new file) ads.txt
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
ads.txt for WordPress: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 14.48 ▲0.12 | 1.75 ▼0.18 | 38.65 ▼2.18 |
Dashboard /wp-admin | 2,210 ▲22 | 4.87 ▼1.19 | 100.55 ▼9.23 | 39.05 ▼1.79 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.02 ▲0.00 | 34.89 ▼6.31 | 32.71 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,545 ▲12 | 18.11 ▼5.08 | 626.06 ▼49.47 | 55.00 ▲3.01 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.22 ▲0.03 | 100.18 ▼0.94 | 45.98 ▲1.36 |
ads.txt /wp-admin/options-general.php?page=ads.txt | 846 | 2.02 | 23.46 | 27.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=ads.txt
- > Notice in wp-content/plugins/wphotline-ads-txt/index.php+66
Trying to access array offset on value of type bool
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Requires php: Invalid version format
- Requires at least: Invalid version format
- Contributors: The plugin contributors field is missing
wphotline-ads-txt/index.php 92% from 13 tests
The entry point to "ads.txt for WordPress" version 0.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("wphotline-ads-txt.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin62 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 25 | 62 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
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 | 6 | |
▷ Named functions | 6 | 100.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin