Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼12.53ms] Passed 4 tests
A check of server-side resources used by PayJoe Belegschnittstelle für WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.90 ▲0.44 | 43.37 ▲4.68 |
Dashboard /wp-admin | 3.57 ▲0.23 | 38.24 ▼25.26 |
Posts /wp-admin/edit.php | 3.70 ▲0.34 | 40.85 ▼5.07 |
Add New Post /wp-admin/post-new.php | 5.82 ▼0.07 | 73.25 ▼21.16 |
Media Library /wp-admin/upload.php | 3.58 ▲0.35 | 34.64 ▲1.37 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 32 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
recovery_mode_email_last_sent |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for PayJoe Belegschnittstelle für WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,580 ▼1,166 | 12.62 ▼1.93 | 6.25 ▲4.58 | 49.61 ▲10.41 |
Dashboard /wp-admin | 865 ▼1,326 | 1.38 ▼3.48 | 14.85 ▼88.20 | 21.79 ▼27.17 |
Posts /wp-admin/edit.php | 876 ▼1,213 | 1.14 ▼0.87 | 8.48 ▼28.27 | 22.35 ▼12.43 |
Add New Post /wp-admin/post-new.php | 599 ▼915 | 1.73 ▼15.84 | 18.79 ▼653.22 | 6.64 ▼45.09 |
Media Library /wp-admin/upload.php | 761 ▼627 | 1.73 ▼2.42 | 20.85 ▼84.01 | 19.42 ▼25.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- recovery_mode_email_last_sent
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/woo-payjoe-beleg-schnittstelle/public/partials/weslink-payjoe-opbeleg-public-display.php
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/woo-payjoe-beleg-schnittstelle/admin/class-weslink-payjoe-opbeleg-admin.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/woo-payjoe-beleg-schnittstelle/admin/class-weslink-payjoe-opbeleg-orders.php:14
- > 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: A description for screenshot #0 is required in woo-payjoe-beleg-schnittstelle/assets to your readme.txt
woo-payjoe-beleg-schnittstelle/weslink-payjoe-opbeleg.php 92% from 13 tests
The main PHP script in "PayJoe Belegschnittstelle für WooCommerce" version 1.10.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-payjoe-beleg-schnittstelle.php" instead of "weslink-payjoe-opbeleg.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected2,192 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 18 | 480 | 970 | 2,051 |
PO File | 1 | 61 | 83 | 131 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 1 | 8 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 20.27 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 153.00 |
Average method complexity | 3.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.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 | 82 | |
▷ Static methods | 5 | 6.10% |
▷ Public methods | 60 | 73.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 22 | 26.83% |
Functions | 15 | |
▷ Named functions | 12 | 80.00% |
▷ Anonymous functions | 3 | 20.00% |
Constants | 9 | |
▷ Global constants | 2 | 22.22% |
▷ Class constants | 7 | 77.78% |
▷ Public constants | 7 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot.png | 122.29KB | 35.40KB | ▼ 71.05% |
admin/images/logo.png | 3.84KB | 1.79KB | ▼ 53.41% |