94% adlib-woo2lex-manuell

Code Review | Manueller Datenexport von WooCommerce nach Lexware

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

About plugin

  • Plugin page: adlib-woo2lex-man...
  • Plugin version: 1.0.4
  • PHP version: 7.4.16
  • WordPress version: 5.9.2
  • First release: Mar 12, 2015
  • Latest release: Jul 30, 2021
  • Number of updates: 45
  • Update frequency: every 52.0 days
  • Top authors: Odido (100%)

Code review

54 tests

User reviews

1 review

Install metrics

60+ active / 1,856 total downloads

Benchmarks

Plugin footprint Passed 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors

Server metrics [RAM: ▼0.02MB] [CPU: ▼290.33ms] Passed 4 tests

A check of server-side resources used by Manueller Datenexport von WooCommerce nach Lexware
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.53 ▲0.0154.99 ▲2.91
Dashboard /wp-admin3.41 ▲0.0035.11 ▲2.36
Posts /wp-admin/edit.php3.65 ▲0.0037.53 ▲1.45
Add New Post /wp-admin/post-new.php6.88 ▼0.0994.22 ▼1,162.02
Media Library /wp-admin/upload.php3.30 ▲0.0025.56 ▼3.10

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

Filesystem and database footprint
This plugin installed successfully
Filesystem: 12 new files
Database: no new tables, no new options

Browser metrics Passed 4 tests

An overview of browser requirements for Manueller Datenexport von WooCommerce nach Lexware
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,749 ▼515.67 ▼0.015.64 ▼0.282.42 ▼0.48
Dashboard /wp-admin2,874 ▲166.16 ▼0.01122.22 ▼15.84153.51 ▼7.17
Posts /wp-admin/edit.php2,694 ▼03.23 ▼0.0164.68 ▲3.38136.85 ▼8.74
Add New Post /wp-admin/post-new.php1,698 ▼5417.34 ▼4.17402.66 ▼47.15157.24 ▼1.87
Media Library /wp-admin/upload.php1,698 ▼05.52 ▲0.03140.02 ▼3.77183.85 ▲5.90

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
This plugin's uninstaller ran successfully

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected

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
Almost there! Just fix the following items
  • 2× PHP files perform the task of outputting text when accessed with GET requests:
    • > /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 | This is a smoke test targeting browser errors/issues
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 describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
  • Requires at least: Version format is invalid
Please take inspiration from this readme.txt

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

The main PHP script in "Manueller Datenexport von WooCommerce nach Lexware" version 1.0.4 is automatically included on every request by WordPress
37 characters long description:
manual export of orders upon keypress

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected576 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP22491369
PO File34848207

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in 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

Using a strong compression for your PNG files is a great way to speed-up your plugin
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%