Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.33ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Online-Rechnungen.de
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 37.99 ▲0.75 |
Dashboard /wp-admin | 3.33 ▲0.02 | 44.14 ▼2.06 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.07 ▼1.19 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.75 ▼12.21 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.46 ▼1.85 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for WooCommerce Online-Rechnungen.de
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.17 | 1.52 ▼0.19 | 39.66 ▲0.53 |
Dashboard /wp-admin | 2,206 ▲21 | 5.86 ▼0.15 | 109.57 ▲7.89 | 44.32 ▼1.55 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▼0.00 | 39.33 ▲3.72 | 35.30 ▼2.17 |
Add New Post /wp-admin/post-new.php | 1,513 ▼20 | 17.44 ▼5.28 | 646.91 ▲13.32 | 51.97 ▼14.88 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▲0.01 | 96.26 ▼4.58 | 41.35 ▼3.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/woo-invoice-online-rechnungen-de/woocommerce-online-rechnungen.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
6 plugin tags: woocommerce, rechnungen, rechnung pdf, rechnungen erstellen, kostenlos rechnungen...
woo-invoice-online-rechnungen-de/woocommerce-online-rechnungen.php 85% from 13 tests
The primary PHP file in "WooCommerce Online-Rechnungen.de" version 20180716... is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Version: The version number should only use digits and periods (ex. "1.0.3" instead of "20180716...")
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("woo-invoice-online-rechnungen-de.php" instead of "woocommerce-online-rechnungen.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Everything looks great! No dangerous files found in this plugin536 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 50 | 76 | 473 |
PO File | 1 | 24 | 0 | 63 |
HTML | 1 | 1 | 0 | 0 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 3.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 11 | 84.62% |
▷ Protected methods | 2 | 15.38% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
There are no PNG files in this plugin