84% adlib-woo2lex-manuell

Code Review | Manueller Datenexport von WooCommerce nach Lexware

WordPress plugin Manueller Datenexport von WooCommerce nach Lexware scored 84% from 54 tests.

About plugin

  • Plugin page: adlib-woo2lex-man...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress version: 6.3.1
  • First release: Mar 12, 2015
  • Latest release: Apr 25, 2023
  • Number of updates: 48
  • Update frequency: every 61.8 days
  • Top authors: Odido (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 2,175 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼5.41ms] Passed 4 tests

Analyzing server-side resources used by Manueller Datenexport von WooCommerce nach Lexware
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0037.16 ▼2.87
Dashboard /wp-admin3.31 ▲0.0044.94 ▼3.48
Posts /wp-admin/edit.php3.36 ▲0.0042.91 ▼5.09
Add New Post /wp-admin/post-new.php5.89 ▲0.0084.97 ▼10.19
Media Library /wp-admin/upload.php3.23 ▲0.0034.68 ▼2.08

Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests

Filesystem and database footprint
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options
db_upgraded
can_compress_scripts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

Manueller Datenexport von WooCommerce nach Lexware: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲4313.64 ▼0.714.43 ▲2.5742.46 ▲0.57
Dashboard /wp-admin2,209 ▲264.90 ▼0.01103.03 ▼12.4439.28 ▲0.66
Posts /wp-admin/edit.php2,089 ▼02.00 ▼0.0235.59 ▼0.3230.41 ▼7.39
Add New Post /wp-admin/post-new.php1,533 ▲1223.15 ▼0.04646.06 ▼17.7354.33 ▲3.33
Media Library /wp-admin/upload.php1,385 ▼34.31 ▲0.10104.07 ▼9.3745.38 ▼2.51

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
  • Zombie WordPress options were found after uninstall: 6 options
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_recent-posts
    • widget_theysaidso_widget
    • widget_recent-comments

Smoke tests 75% 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)
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
  • 2× PHP files output text when accessed directly:
    • > /wp-content/plugins/adlib-woo2lex-manuell/adlib-woo2lex-manuell.php
    • > /wp-content/plugins/adlib-woo2lex-manuell/definitionen.php

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
  • Requires at least: Version format is invalid
The official readme.txt is a good inspiration

adlib-woo2lex-manuell/adlib-woo2lex-manuell.php Passed 13 tests

"Manueller Datenexport von WooCommerce nach Lexware" version 1.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
37 characters long description:
manual export of orders upon keypress

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
Good job! No executable or dangerous file extensions detected630 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP22491369
PO File37272261

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 code0.21
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions7
▷ Named functions7100.00%
▷ Anonymous functions00.00%
Constants5
▷ Global constants5100.00%
▷ Class constants00.00%
▷ Public constants00.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.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant
FileSize - originalSize - compressedSavings
export.png2.98KB0.13KB▼ 95.55%
paypal.png4.75KB2.11KB▼ 55.59%