Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.17ms] Passed 4 tests
An overview of server-side resources used by Authorized Digital Sellers TXT
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.95 ▼3.33 |
Dashboard /wp-admin | 3.34 ▲0.04 | 45.58 ▼2.67 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 48.02 ▼2.25 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 94.54 ▲8.38 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 33.77 ▼0.42 |
ADS.txt /wp-admin/options-general.php?page=authorized-digital-sellers-txt | 3.23 | 32.89 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
authorized_digital_sellers_txt_flush_rewrite_rules_flag |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Authorized Digital Sellers TXT
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.31 ▼1.07 | 3.89 ▲2.13 | 40.51 ▼1.19 |
Dashboard /wp-admin | 2,213 ▲27 | 5.88 ▲0.92 | 94.84 ▼13.47 | 39.41 ▼2.17 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.02 ▼0.04 | 39.11 ▲3.23 | 35.27 ▲0.79 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.07 ▼0.12 | 596.34 ▼26.63 | 55.39 ▼1.94 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▼0.03 | 95.04 ▼1.51 | 40.57 ▼2.26 |
ADS.txt /wp-admin/options-general.php?page=authorized-digital-sellers-txt | 825 | 2.02 | 22.69 | 35.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
Please fix the following items
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_transient() in wp-content/plugins/authorized-digital-sellers-txt/partials/admin-settings-page.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
1 plugin tags: ads_txt
authorized-digital-sellers-txt/authorized-digital-sellers-txt.php 92% from 13 tests
The main PHP file in "Authorized Digital Sellers TXT" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 161 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
Good job! No executable or dangerous file extensions detected233 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 56 | 86 | 154 |
PO File | 1 | 16 | 21 | 79 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 11.00 |
▷ Maximum class complexity | 11.00 |
Average method complexity | 1.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 15 | |
▷ Static methods | 2 | 13.33% |
▷ Public methods | 15 | 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
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin