Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼1,255.80ms] Passed 4 tests
An overview of server-side resources used by Möbel Wegwerf Kalkulator - Widget
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.85 ▲0.13 | 32.72 ▲3.98 |
Dashboard /wp-admin | 3.07 ▲0.01 | 39.34 ▼3.35 |
Posts /wp-admin/edit.php | 3.12 ▲0.01 | 37.58 ▼3.33 |
Add New Post /wp-admin/post-new.php | 5.32 ▼0.01 | 74.28 ▼5,011.08 |
Media Library /wp-admin/upload.php | 3.01 ▲0.01 | 27.88 ▼5.42 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 1 new option
New WordPress options |
---|
widget_furniture_calculator_widget |
Browser metrics Passed 4 tests
Möbel Wegwerf Kalkulator - Widget: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,674 ▲68 | 15.93 ▲0.30 | 8.27 ▲0.46 | 49.47 ▲0.98 |
Dashboard /wp-admin | 2,919 ▲69 | 6.11 ▲0.28 | 138.33 ▼27.41 | 106.77 ▲5.64 |
Posts /wp-admin/edit.php | 2,707 ▲1 | 2.70 ▲0.01 | 64.20 ▼3.36 | 96.13 ▲4.36 |
Add New Post /wp-admin/post-new.php | 1,857 ▼1,850 | 19.16 ▲3.74 | 364.49 ▼61.60 | 108.56 ▲3.77 |
Media Library /wp-admin/upload.php | 1,779 ▲7 | 5.00 ▼0.01 | 147.60 ▲4.24 | 107.36 ▼6.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.77MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 1 option
- widget_furniture_calculator_widget
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 everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mobel-wergwerf-kalkulator-widget/wegwerf-kalkulator-widget.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Contributors: The plugin contributors field is not present
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
mobel-wergwerf-kalkulator-widget/wegwerf-kalkulator-widget.php 85% from 13 tests
The primary PHP file in "Möbel Wegwerf Kalkulator - Widget" version 2019.09.001 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 213 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("mobel-wergwerf-kalkulator-widget.php" instead of "wegwerf-kalkulator-widget.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous files found in this plugin209 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 19 | 31 | 93 |
PHP | 1 | 18 | 40 | 69 |
CSS | 1 | 0 | 4 | 47 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 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 1 test
Image compression Passed 1 test
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin