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.13MB] [CPU: ▲1.75ms] Passed 4 tests
A check of server-side resources used by wpShopGermany IT-RECHT KANZLEI
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.14 | 41.82 ▲3.28 |
Dashboard /wp-admin | 3.42 ▲0.12 | 50.48 ▲1.83 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 49.08 ▲6.00 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 87.16 ▲0.08 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.08 ▲1.82 |
IT-Recht Kanzlei München /wp-admin/options-general.php?page=wpshopgermany-itrecht-Admin | 3.37 | 38.32 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 16 new files
Database: no new tables, 7 new options
New WordPress options |
---|
wpsgitrecht_apiToken |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for wpShopGermany IT-RECHT KANZLEI
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.59 ▼0.79 | 1.78 ▼0.17 | 42.99 ▼1.28 |
Dashboard /wp-admin | 2,210 ▲22 | 5.88 ▼0.15 | 100.48 ▼19.03 | 42.46 ▼0.32 |
Posts /wp-admin/edit.php | 2,093 ▲7 | 2.06 ▲0.06 | 33.88 ▼2.29 | 33.19 ▼0.35 |
Add New Post /wp-admin/post-new.php | 1,536 ▲12 | 23.33 ▲0.10 | 629.48 ▼1.65 | 58.71 ▼7.48 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.20 ▲0.02 | 104.91 ▲6.66 | 42.75 ▼3.05 |
IT-Recht Kanzlei München /wp-admin/options-general.php?page=wpshopgermany-itrecht-Admin | 1,109 | 2.02 | 23.26 | 34.16 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- wpsgitrecht_apiToken
- 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 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
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wpshopgermany-it-recht-kanzlei/classes/wpsg_itrecht.class.php:336
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=wpshopgermany-itrecht-Admin
- > Network (severe)
wp-content/plugins/wpshopgermany-itrecht/views/gfx/arrow_refresh_small.png - 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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 13 tag instead of maximum 10
- Screenshots: Add images for these screenshots: #1 (OHNE wpShopGermany: Nach erfolgreicher Installation erscheint unter dem Punkt: „Einstellungen“ der Menüpunkt IT-Recht Kanzlei diese Einstellungsmaske.), #2 (MIT wpShopGermany: Nach erfolgreicher Installation gelangt man über wpShopGermany > Konfiguration > Module > zum Modul „Rechtstexte“. Dieses Modul zeigt nach der Aktivierung eine Liste der Anbieter an. Wählt man nun den Anbieter IT-Recht München aus, bekommt man diese Einstellungsmaske.), #3 (Login ins Mandantenportal der IT-Recht Kanzlei), #4 (Auswahl wpShop Germany für Datenübertragung), #5 (Ansicht verfügbare Formate, vollständig konfiguriert und Übertragung via Schnittstelle), #6 (Eingabe API-Token und Shop-URL allgemein), #7 (allgemeine Statusmeldung nach der Übertragung vor Starten der Automatik), #8 (Statusanzeige nach dem Starten der Aktualisierungsautomatik)
wpshopgermany-it-recht-kanzlei/wpshopgermany-itrecht.php 85% from 13 tests
The primary PHP file in "wpShopGermany IT-RECHT KANZLEI" version 1.8 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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpshopgermany-it-recht-kanzlei.php" instead of "wpshopgermany-itrecht.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin714 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 420 | 81 | 692 |
PO File | 1 | 5 | 18 | 22 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 110.00 |
▷ Minimum class complexity | 110.00 |
▷ Maximum class complexity | 110.00 |
Average method complexity | 5.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 51.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 92.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.41% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
views/gfx/arrow_refresh_small.png | 0.49KB | 0.49KB | ▼ 1.78% |