Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-schedule-fields.php+205
The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence
Server metrics [RAM: ▲0.04MB] [CPU: ▲2.25ms] Passed 4 tests
Analyzing server-side resources used by AutoNetTV Relay
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 38.59 ▼0.42 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.50 ▲1.86 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 52.08 ▲4.55 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 99.99 ▲11.11 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.39 ▲3.02 |
Article Sync Schedule /wp-admin/admin.php?page=autonettv-relay-api-schedule-selections | 3.26 | 32.26 |
AutoNetTV /wp-admin/admin.php?page=autonettv-relay-api | 3.26 | 31.94 |
Settings /wp-admin/admin.php?page=autonettv-relay-api-settings | 3.28 | 33.82 |
Category Selections /wp-admin/admin.php?page=autonettv-relay-api-category-selections | 3.27 | 31.82 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 11 new options
New WordPress options |
---|
category_children |
db_upgraded |
autonettv_relay_api_settings_fields |
autonettv_relay_api_settings_schedule_fields |
widget_recent-comments |
widget_theysaidso_widget |
autonettv_relay_api_settings_categories_fields |
can_compress_scripts |
autonettv_relay_api_categories |
widget_recent-posts |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for AutoNetTV Relay
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,014 ▲279 | 14.74 ▲0.37 | 25.95 ▲24.26 | 37.99 ▼5.66 |
Dashboard /wp-admin | 2,240 ▲49 | 5.79 ▲0.68 | 95.42 ▼8.12 | 38.42 ▼4.00 |
Posts /wp-admin/edit.php | 2,144 ▲55 | 1.97 ▼0.05 | 39.54 ▲4.65 | 34.63 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,558 ▲44 | 18.23 ▲0.68 | 593.13 ▼78.86 | 49.05 ▼3.16 |
Media Library /wp-admin/upload.php | 1,425 ▲37 | 4.18 ▼0.10 | 97.73 ▲1.69 | 43.20 ▲1.24 |
Article Sync Schedule /wp-admin/admin.php?page=autonettv-relay-api-schedule-selections | 874 | 2.06 | 22.72 | 28.11 |
AutoNetTV /wp-admin/admin.php?page=autonettv-relay-api | 850 | 2.20 | 26.81 | 28.29 |
Settings /wp-admin/admin.php?page=autonettv-relay-api-settings | 840 | 2.06 | 26.42 | 30.97 |
Category Selections /wp-admin/admin.php?page=autonettv-relay-api-category-selections | 823 | 2.16 | 25.09 | 26.49 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > Warning in wp-content/plugins/autonettv-relay/uninstall.php+44
Illegal string offset 'url'
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- category_children
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=autonettv-relay-api-category-selections
- > Warning in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-category-fields.php+50
Illegal string offset 'url'
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=autonettv-relay-api-category-selections
- > Notice in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-category-fields.php+50
Uninitialized string offset: 0
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=autonettv-relay-api-category-selections
- > Warning in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-category-fields.php+50
Illegal string offset 'key'
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=autonettv-relay-api-category-selections
- > Notice in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-category-fields.php+66
Undefined property: stdClass::$category_id
- > GET request to /wp-admin/admin.php?page=autonettv-relay-api-category-selections
- > Notice in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-category-fields.php+71
Undefined property: stdClass::$category_name
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
- 11× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-footer.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-schedule-fields.php:54
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-menus.php:65
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/autonettv-relay/templates/admin/settings-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-categories.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/autonettv-relay/templates/admin/settings-categories-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/autonettv-relay/templates/admin/settings-schedule-page.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-settings-fields.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-scripts.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/autonettv-relay/includes/autonettv-relay-api-category-fields.php:40
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
There were no plugin tags found
autonettv-relay/antv-relay-api.php 77% from 13 tests
The principal PHP file in "AutoNetTV Relay" v. 3.0.12 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Domain Path: The domain path is invalid: folder "/antv-relay-api" does not exist
- Main file name: The principal plugin file should be the same as the plugin slug ("autonettv-relay.php" instead of "antv-relay-api.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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 plugin861 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 238 | 169 | 854 |
JavaScript | 1 | 4 | 3 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 26 | |
▷ Named functions | 26 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.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
There were not PNG files found in your plugin