Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.05MB] [CPU: ▼2.13ms] Passed 4 tests
This is a short check of server-side resources used by Evangelische Termine
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 37.21 ▲0.76 |
Dashboard /wp-admin | 3.37 ▲0.06 | 44.85 ▲0.74 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 45.67 ▼1.10 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 80.86 ▼6.54 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.21 ▼1.62 |
Evangelische Termine /wp-admin/options.php | 5.98 | 34.30 |
Server storage [IO: ▲5.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 454 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_etwidget |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Evangelische Termine
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.33 ▼0.03 | 1.64 ▲0.06 | 40.20 ▼6.90 |
Dashboard /wp-admin | 2,199 ▲22 | 5.54 ▼0.05 | 81.60 ▼7.60 | 37.79 ▼4.10 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.98 ▼0.03 | 34.87 ▼0.54 | 31.13 ▼7.89 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.98 ▼0.16 | 670.46 ▼22.46 | 71.37 ▲15.78 |
Media Library /wp-admin/upload.php | 1,398 ▲1 | 4.23 ▲0.04 | 101.87 ▼2.56 | 45.42 ▼2.36 |
Evangelische Termine /wp-admin/options.php | 3,128 | 1.68 | 29.55 | 50.58 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- widget_etwidget
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Please fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/evangtermine/evangtermine.php
- > /wp-content/plugins/evangtermine/application/forms/options.php
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/evangtermine/application/controllers/class.etwidget.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/evangtermine/application/forms/form.etwidget.php:10
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 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
5 plugin tags: evangelische, kirche, termine, vernetzte, elkb
evangtermine/evangtermine.php Passed 13 tests
The main PHP file in "Evangelische Termine" ver. 3.3 adds more information about the plugin and also serves as the entry point for this plugin
94 characters long description:
Dieses Plugin bindet die Evangelischen Termine (www.evangelische-termine.de) in Wordpress ein.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin52,517 lines of code in 133 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 86 | 1,467 | 2,213 | 45,426 |
SVG | 1 | 0 | 0 | 2,671 |
Sass | 14 | 34 | 34 | 1,768 |
LESS | 14 | 34 | 44 | 1,758 |
PHP | 15 | 156 | 336 | 729 |
JavaScript | 3 | 33 | 24 | 165 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 6.42 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 3.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 12 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 12 | 38.71% |
▷ Public methods | 29 | 93.55% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.45% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 25 | |
▷ Global constants | 25 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
311 PNG files occupy 0.98MB with 0.60MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/ui/1.12.1/themes/south-street/images/ui-bg_gloss-wave_100_ece8da_500x100.png | 5.68KB | 1.20KB | ▼ 78.89% |
assets/ui/1.12.1/themes/mint-choc/images/ui-bg_glass_15_5f391b_1x400.png | 0.38KB | 0.16KB | ▼ 58.02% |
assets/ui/1.12.1/themes/ui-darkness/images/ui-icons_222222_256x240.png | 6.86KB | 4.18KB | ▼ 39.05% |
assets/ui/1.12.1/themes/sunny/images/ui-bg_gloss-wave_90_fff9e5_500x100.png | 5.32KB | 0.57KB | ▼ 89.32% |
assets/ui/1.12.1/themes/base/images/ui-icons_555555_256x240.png | 6.91KB | 4.18KB | ▼ 39.47% |