Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.81MB] [CPU: ▼58.97ms] Passed 4 tests
Server-side resources used by Autonachrichten Newsfeed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.23 ▼1.28 | 6.15 ▼39.18 |
Dashboard /wp-admin | 2.25 ▼1.14 | 6.56 ▼65.04 |
Posts /wp-admin/edit.php | 2.25 ▼1.15 | 6.71 ▼45.82 |
Add New Post /wp-admin/post-new.php | 2.25 ▼3.68 | 7.52 ▼85.85 |
Media Library /wp-admin/upload.php | 2.25 ▼1.02 | 6.93 ▼31.07 |
Autonachrichten Widget /wp-admin/options-general.php?page=autonachrichten-newsfeed/autonachrichten_newsfeed.php | 2.25 | 6.71 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/autonachrichten-newsfeed/" and "wp-content/uploads/"
- (new file) wp-content/plugins/rss_cache.txt
Filesystem: 7 new files
Database: no new tables, 11 new options
New WordPress options |
---|
an_show_image |
theysaidso_admin_options |
an_display_count |
an_record_height |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
an_display_width |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Autonachrichten Newsfeed
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.08 ▼0.45 | 1.66 ▼0.28 | 43.20 ▼3.38 |
Dashboard /wp-admin | 2,199 ▲25 | 5.61 ▲0.07 | 96.43 ▲4.68 | 41.66 ▼0.53 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.94 ▼0.01 | 35.82 ▼1.13 | 34.33 ▼1.00 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 23.02 ▼0.49 | 659.81 ▲7.86 | 50.64 ▲2.64 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▼0.07 | 98.79 ▲1.29 | 43.32 ▲2.25 |
Autonachrichten Widget /wp-admin/options-general.php?page=autonachrichten-newsfeed/autonachrichten_newsfeed.php | 1,137 | 2.03 | 21.85 | 28.32 |
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
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5453
Function register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead.
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- an_show_image
- can_compress_scripts
Smoke tests 50% 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
- > GET request to /wp-admin/options-general.php?page=autonachrichten-newsfeed/autonachrichten_newsfeed.php
- > User deprecated in wp-includes/functions.php+5453
Function register_widget_control is deprecated since version 2.8.0! Use wp_register_widget_control() instead.
- > GET request to /wp-admin/options-general.php?page=autonachrichten-newsfeed/autonachrichten_newsfeed.php
- > Warning in wp-content/plugins/autonachrichten-newsfeed/autonachrichten_newsfeed.php+134
file_get_contents(https://www.autonachrichten.de/newsInterface): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
- > GET request to /wp-admin/options-general.php?page=autonachrichten-newsfeed/autonachrichten_newsfeed.php
- > Notice in wp-content/plugins/autonachrichten-newsfeed/autonachrichten_newsfeed.php+308
Undefined index: anImportID
- 4 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=autonachrichten-newsfeed/autonachrichten_newsfeed.php
- > User deprecated in wp-includes/functions.php+5453
Function wp_specialchars is deprecated since version 2.8.0! Use esc_html() instead.
- > GET request to /wp-admin/options-general.php?page=autonachrichten-newsfeed/autonachrichten_newsfeed.php
- > Notice in wp-content/plugins/autonachrichten-newsfeed/autonachrichten_newsfeed.php+519
Undefined index: an_submit
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_specialchars() in wp-content/plugins/autonachrichten-newsfeed/help.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/autonachrichten-newsfeed/autonachrichten_newsfeed.php:664
- > 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 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Screenshots: Screenshot #1 (Mögliche Einstellungen für dieses Plugin /assets/screenshot-1.jpg) image missing
- Tags: You are using too many tags: 15 tag instead of maximum 10
autonachrichten-newsfeed/autonachrichten_newsfeed.php 92% from 13 tests
The principal PHP file in "Autonachrichten Newsfeed" v. 0.2.2 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("autonachrichten-newsfeed.php" instead of "autonachrichten_newsfeed.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin523 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 144 | 67 | 486 |
JavaScript | 1 | 9 | 16 | 37 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 11 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 81.82% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 18.18% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected