Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼5.16ms] Passed 4 tests
Server-side resources used by Hulvire Aktuality
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.54 ▲1.61 |
Dashboard /wp-admin | 3.35 ▲0.05 | 44.47 ▼6.22 |
Posts /wp-admin/edit.php | 3.40 ▲0.05 | 49.90 ▲1.95 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 81.61 ▼17.77 |
Media Library /wp-admin/upload.php | 3.27 ▲0.05 | 33.15 ▲1.74 |
Pridaj nový /wp-admin/post-new.php?post_type=hulvire_aktuality | 3.33 | 44.64 |
Všetky aktuality /wp-admin/edit.php?post_type=hulvire_aktuality | 3.32 | 37.32 |
Hulvire Aktuality /wp-admin/options-general.php?page=wp_hulvire_aktuality | 3.27 | 35.57 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Hulvire Aktuality
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,858 ▲123 | 13.36 ▼0.94 | 2.47 ▲0.71 | 43.80 ▲2.44 |
Dashboard /wp-admin | 2,258 ▲70 | 5.14 ▲0.18 | 97.83 ▼6.07 | 86.80 ▲43.61 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.30 ▲0.32 | 42.48 ▲1.47 | 36.22 ▲1.70 |
Add New Post /wp-admin/post-new.php | 1,554 ▲19 | 17.83 ▼5.61 | 692.59 ▲86.66 | 33.48 ▼21.85 |
Media Library /wp-admin/upload.php | 1,437 ▲46 | 4.35 ▲0.15 | 115.43 ▲12.22 | 47.54 ▲2.89 |
Pridaj nový /wp-admin/post-new.php?post_type=hulvire_aktuality | 1,710 | 3.76 | 64.25 | 92.32 |
Všetky aktuality /wp-admin/edit.php?post_type=hulvire_aktuality | 1,137 | 2.37 | 34.44 | 30.91 |
Hulvire Aktuality /wp-admin/options-general.php?page=wp_hulvire_aktuality | 717 | 1.53 | 7.26 | 18.22 |
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-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp_hulvire_aktuality
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/hulvire-aktuality/templates/settings.php on line 5 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/hulvire-aktuality/templates/settings.php(5): do_settings_fields()
#1 wp-content/plugins/hulvire-aktuality/hulvire-aktuality-settings.php(207): include('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): WP_Hulvire_Aktuality_Settings->plugin_settings_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#7 {main}
thrown
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/hulvire-aktuality/hulvire-aktuality.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/hulvire-aktuality/templates/settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/hulvire-aktuality/post-types/hulvire-aktuality-text-type.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
2 plugin tags: news, custom posts
hulvire-aktuality/hulvire-aktuality.php 92% from 13 tests
The entry point to "Hulvire Aktuality" version 1.3.4 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected695 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 192 | 96 | 628 |
JavaScript | 2 | 15 | 4 | 40 |
CSS | 1 | 5 | 2 | 27 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 12.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 2 | 10.53% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.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
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/aktuality-icon-s.png | 1.49KB | 0.63KB | ▼ 57.73% |
images/aktuality-icon-a.png | 1.08KB | 0.25KB | ▼ 77.19% |
images/slider-icon3.png | 1.49KB | 0.63KB | ▼ 57.73% |