Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼8.57ms] Passed 4 tests
A check of server-side resources used by Value Analysis - Nutzwertanalyse
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 45.12 ▼0.22 |
Dashboard /wp-admin | 3.47 ▲0.12 | 53.04 ▼18.49 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 64.24 ▲12.65 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 96.24 ▼22.06 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 43.72 ▲6.50 |
All Value Analysis /wp-admin/edit.php?post_type=value_analysis | 3.44 | 43.64 |
Add New /wp-admin/post-new.php?post_type=value_analysis | 3.53 | 54.90 |
Server storage [IO: ▲28.12MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- Try to limit filesystem usage to 25MB (currently using 28.12MB)
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Value Analysis - Nutzwertanalyse
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,239 ▲478 | 30.03 ▲15.47 | 94.89 ▲93.31 | 44.37 ▲1.81 |
Dashboard /wp-admin | 2,382 ▲205 | 15.20 ▲9.54 | 184.63 ▲94.40 | 43.77 ▼0.66 |
Posts /wp-admin/edit.php | 2,291 ▲188 | 12.51 ▲10.53 | 138.88 ▲96.84 | 38.59 ▲2.56 |
Add New Post /wp-admin/post-new.php | 1,579 ▲53 | 29.87 ▲6.76 | 803.81 ▲111.08 | 35.03 ▼24.22 |
Media Library /wp-admin/upload.php | 1,654 ▲254 | 15.18 ▲10.99 | 221.05 ▲115.98 | 48.67 ▲2.65 |
All Value Analysis /wp-admin/edit.php?post_type=value_analysis | 1,295 | 12.27 | 141.90 | 30.77 |
Add New /wp-admin/post-new.php?post_type=value_analysis | 2,338 | 12.89 | 275.42 | 72.17 |
Value Analysis /wp-admin/vave_admin.php | 26 | 0.42 | 0.08 | 13.83 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/value-analysis-nutzwertanalyse/PHP/vave_admin.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/value-analysis-nutzwertanalyse/PHP/vave_page.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/value-analysis-nutzwertanalyse/PHP/vave_mainPHP.php:60
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/value-analysis-nutzwertanalyse/PHP/vave_request.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
These are user-side errors you should fix
- > GET request to /wp-admin/vave_admin.php
- > Network (severe)
wp-admin/vave_admin.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Donate link: Invalid URI ("")
- Screenshots: Add a description for screenshot #0 in value-analysis-nutzwertanalyse/assets to your readme.txt
value-analysis-nutzwertanalyse/init.php 85% from 13 tests
The main PHP file in "Value Analysis - Nutzwertanalyse" ver. 0.11 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("value-analysis-nutzwertanalyse.php" instead of "init.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
There were no executable files found in this plugin4,545 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 181 | 113 | 1,522 |
SVG | 2 | 0 | 0 | 1,393 |
JavaScript | 3 | 216 | 121 | 1,119 |
PO File | 2 | 196 | 206 | 428 |
CSS | 4 | 74 | 27 | 82 |
XML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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 | 13 | |
▷ Named functions | 13 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
No PNG files were detected