Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼8.61ms] Passed 4 tests
A check of server-side resources used by Billbee - Auftragsabwicklung, Warenwirtschaft, Automatisierung
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 39.87 ▼4.41 |
Dashboard /wp-admin | 3.35 ▲0.01 | 48.29 ▼16.90 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 52.21 ▲1.51 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.07 | 88.44 ▼10.82 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.71 ▼2.32 |
Billbee /wp-admin/options-general.php?page=billbee | 3.24 | 29.52 |
Server storage [IO: ▲2.29MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Billbee - Auftragsabwicklung, Warenwirtschaft, Automatisierung
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,906 ▲145 | 13.59 ▼0.99 | 5.79 ▲3.93 | 42.44 ▼3.87 |
Dashboard /wp-admin | 2,229 ▲26 | 5.88 ▼0.05 | 102.43 ▼14.33 | 40.02 ▼2.88 |
Posts /wp-admin/edit.php | 2,108 ▲11 | 2.01 ▼0.04 | 39.93 ▲4.18 | 34.89 ▼1.77 |
Add New Post /wp-admin/post-new.php | 1,538 ▲7 | 23.30 ▲0.25 | 657.74 ▼6.86 | 54.02 ▼2.01 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.21 ▼0.00 | 95.49 ▼8.77 | 47.28 ▲0.43 |
Billbee /wp-admin/options-general.php?page=billbee | 1,238 | 8.08 | 188.92 | 45.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/billbee-auftragsabwicklung-warenwirtschaft-automatisierung/admin/partials/billbee-admin-display.php
- > /wp-content/plugins/billbee-auftragsabwicklung-warenwirtschaft-automatisierung/public/partials/billbee-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== billbee-auftragsabwicklung-warenwirtschaft-automatisierung ===
)
billbee-auftragsabwicklung-warenwirtschaft-automatisierung/billbee.php 85% from 13 tests
The main PHP script in "Billbee - Auftragsabwicklung, Warenwirtschaft, Automatisierung" version 1.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Main file name: It is recommended to name the main PHP file as the plugin slug ("billbee-auftragsabwicklung-warenwirtschaft-automatisierung.php" instead of "billbee.php")
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
Success! There were no dangerous files found in this plugin182 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 121 | 533 | 176 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.07 |
Average class complexity | 1.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.09 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 23 | |
▷ Static methods | 2 | 8.70% |
▷ Public methods | 18 | 78.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 21.74% |
Functions | 5 | |
▷ Named functions | 5 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.24MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/banner-1544x500-rtl.png | 78.70KB | 22.89KB | ▼ 70.92% |
assets/icon-128x128.png | 4.20KB | 1.97KB | ▼ 53.01% |
assets/banner-1544x500.png | 78.70KB | 22.89KB | ▼ 70.92% |
assets/banner-772x250.png | 36.75KB | 11.39KB | ▼ 69.01% |
assets/banner-772x250-rtl.png | 36.75KB | 11.39KB | ▼ 69.01% |