Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼0.40ms] Passed 4 tests
An overview of server-side resources used by Adstxt Generator & validator
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 47.49 ▲4.55 |
Dashboard /wp-admin | 3.31 ▲0.01 | 45.08 ▼7.13 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.95 ▼0.89 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 93.55 ▲3.98 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.23 ▲2.44 |
iabtechlab-Adstxt-Generator /wp-admin/options-general.php?page=iabtechlab-adstxt-generator | 3.18 | 27.72 |
Server storage [IO: ▲0.17MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
i_adstxt_content |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Adstxt Generator & validator
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲72 | 13.68 ▼0.70 | 1.91 ▼0.23 | 39.62 ▼12.20 |
Dashboard /wp-admin | 2,207 ▲19 | 5.78 ▲0.88 | 98.17 ▼17.43 | 39.01 ▼3.90 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▲0.03 | 38.82 ▲3.30 | 34.71 ▲1.06 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 18.53 ▲0.77 | 624.91 ▼20.86 | 56.37 ▲6.60 |
Media Library /wp-admin/upload.php | 1,386 ▼2 | 4.12 ▼0.15 | 102.23 ▲2.67 | 42.32 ▼4.80 |
iabtechlab-Adstxt-Generator /wp-admin/options-general.php?page=iabtechlab-adstxt-generator | 989 | 2.14 | 28.55 | 59.48 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 7 options
- i_adstxt_content
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=iabtechlab-adstxt-generator
- > Notice in wp-content/plugins/iabtechlab-adstxt-generator/iabtechlab-adstxt-generator.php+47
Undefined index: i_adstxt_create
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
Almost there! Just fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/iabtechlab-adstxt-generator/iabtechlab-adstxt-generator.php:10
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Donate link: Invalid URI ("")
iabtechlab-adstxt-generator/iabtechlab-adstxt-generator.php Passed 13 tests
The entry point to "Adstxt Generator & validator" version 2.0 is a PHP file that has certain tags in its header comment area
83 characters long description:
Increase transparency in the programmatic advertising ecosystem by creating ads.txt
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected303 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 7 | 300 |
JavaScript | 1 | 0 | 5 | 2 |
CSS | 1 | 0 | 5 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
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 are no PNG files in this plugin