Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼1.56ms] Passed 4 tests
A check of server-side resources used by Kirchenjahr evangelisch
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 39.54 ▲4.89 |
Dashboard /wp-admin | 3.44 ▲0.14 | 45.17 ▼3.55 |
Posts /wp-admin/edit.php | 3.55 ▲0.20 | 45.96 ▼3.60 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.15 | 82.59 ▼3.97 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.03 ▲5.02 |
Kirchenjahr /wp-admin/options-general.php?page=evkj_kirchenjahr | 3.33 | 31.00 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 44 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_evkj_cache |
New WordPress options |
---|
widget_recent-posts |
widget_evkj_widget |
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Kirchenjahr evangelisch
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,880 ▲119 | 13.43 ▼0.92 | 8.11 ▲6.42 | 42.20 ▲2.02 |
Dashboard /wp-admin | 2,200 ▲19 | 5.57 ▼0.10 | 81.03 ▼18.60 | 38.23 ▼4.40 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.01 ▼0.01 | 35.32 ▲1.02 | 31.20 ▼6.13 |
Add New Post /wp-admin/post-new.php | 1,535 ▲9 | 23.13 ▲0.11 | 654.95 ▼40.65 | 57.58 ▼0.04 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.18 ▼0.23 | 97.06 ▼12.19 | 42.18 ▼4.55 |
Kirchenjahr /wp-admin/options-general.php?page=evkj_kirchenjahr | 939 | 1.99 | 25.02 | 28.65 |
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
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/kirchenjahr-evangelisch/uninstall.php+33
Constant EVKJ_CACHETAB already defined
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
Smoke tests 75% 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
- 8× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/kirchenjahr-evangelisch/public/partials/evkj-public-display.php
- > /wp-content/plugins/kirchenjahr-evangelisch/includes/class-evkj-activator.php
- > /wp-content/plugins/kirchenjahr-evangelisch/admin/partials/evkj-admin-display.php
- > /wp-content/plugins/kirchenjahr-evangelisch/public/class-shortcodes.php
- > /wp-content/plugins/kirchenjahr-evangelisch/public/class-litkalapi.php
- > /wp-content/plugins/kirchenjahr-evangelisch/public/class-widget.php
- > /wp-content/plugins/kirchenjahr-evangelisch/evkj.php
- > /wp-content/plugins/kirchenjahr-evangelisch/admin/setting-template.php
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 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== kirchenjahr-evangelisch ===
)
kirchenjahr-evangelisch/evkj.php 85% from 13 tests
The primary PHP file in "Kirchenjahr evangelisch" version 2023.1 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("kirchenjahr-evangelisch.php" instead of "evkj.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
Success! There were no dangerous files found in this plugin1,124 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 356 | 820 | 702 |
CSS | 3 | 91 | 14 | 268 |
Markdown | 1 | 50 | 0 | 148 |
JavaScript | 2 | 5 | 58 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 4.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 2 | 4.65% |
▷ Public methods | 32 | 74.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 25.58% |
Functions | 5 | |
▷ Named functions | 4 | 80.00% |
▷ Anonymous functions | 1 | 20.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
8 PNG files occupy 0.28MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
evkj-3.png | 50.22KB | 21.33KB | ▼ 57.52% |
evkj-1.png | 24.33KB | 7.97KB | ▼ 67.23% |
evkj-5.png | 36.33KB | 17.53KB | ▼ 51.74% |
evkj-2.png | 48.40KB | 22.56KB | ▼ 53.39% |
evkj-6.png | 42.76KB | 18.85KB | ▼ 55.92% |