Benchmarks
Plugin footprint 83% from 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.21ms] Passed 4 tests
Analyzing server-side resources used by Scheidungskostenrechner
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 40.06 ▼5.23 |
Dashboard /wp-admin | 3.43 ▲0.09 | 51.22 ▼13.23 |
Posts /wp-admin/edit.php | 3.48 ▲0.13 | 53.06 ▲2.88 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 90.70 ▼7.72 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 34.15 ▼6.64 |
Server storage [IO: ▲2.90MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 374 new files
Database: no new tables, 7 new options
New WordPress options |
---|
aw-skr-version |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Scheidungskostenrechner
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲56 | 13.26 ▼1.48 | 1.77 ▼0.03 | 41.34 ▼2.81 |
Dashboard /wp-admin | 2,233 ▲45 | 5.91 ▲0.05 | 113.56 ▲2.08 | 44.26 ▲2.23 |
Posts /wp-admin/edit.php | 2,119 ▲27 | 2.06 ▲0.03 | 41.79 ▲3.66 | 34.32 ▼1.88 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 17.85 ▼5.38 | 696.74 ▼11.68 | 56.27 ▼0.37 |
Media Library /wp-admin/upload.php | 1,418 ▲30 | 4.30 ▲0.09 | 100.47 ▼10.24 | 46.04 ▼1.38 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
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
- 43× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Hookup_Base' not found in wp-content/plugins/aw-skr/includes/lib/cmb2/includes/CMB2_hookup.php:14
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/aw-skr/includes/lib/cmb2/includes/types/CMB2_Type_Text.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/aw-skr/includes/lib/cmb2/init.php:126
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/aw-skr/includes/lib/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Picker_Base' not found in wp-content/plugins/aw-skr/includes/lib/cmb2/includes/types/CMB2_Type_Text_Datetime_Timestamp.php:13
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/aw-skr/includes/class-aw-skr-widget.php:12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/aw-skr/admin/partials/cmb-settings.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/aw-skr/includes/lib/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_REST_Controller_Boxes' not found in wp-content/plugins/aw-skr/includes/lib/cmb2/includes/rest-api/CMB2_REST_Controller_Fields.php:17
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Select' not found in wp-content/plugins/aw-skr/includes/lib/cmb2/includes/types/CMB2_Type_Select_Timezone.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
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
7 plugin tags: rechtsanwalt, online, berechnen, scheidung, anwalt...
aw-skr/aw-skr.php Passed 13 tests
The primary PHP file in "Scheidungskostenrechner" version 1.0.6 is used by WordPress to initiate all plugin functionality
51 characters long description:
Der Scheidungskostenrechner von RA Christian Kieppe
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
Everything looks great! No dangerous files found in this plugin47,465 lines of code in 225 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 120 | 14,315 | 18,502 | 32,323 |
PHP | 71 | 2,277 | 6,819 | 8,237 |
CSS | 14 | 1,168 | 1,154 | 4,807 |
JavaScript | 8 | 327 | 499 | 1,378 |
Markdown | 2 | 214 | 0 | 632 |
SVG | 10 | 0 | 10 | 88 |
PHP code Passed 2 tests
A short 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.47 |
Average class complexity | 18.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 183.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 75 | |
▷ Abstract classes | 8 | 10.67% |
▷ Concrete classes | 67 | 89.33% |
▷ Final classes | 0 | 0.00% |
Methods | 584 | |
▷ Static methods | 94 | 16.10% |
▷ Public methods | 476 | 81.51% |
▷ Protected methods | 93 | 15.92% |
▷ Private methods | 15 | 2.57% |
Functions | 56 | |
▷ Named functions | 51 | 91.07% |
▷ Anonymous functions | 5 | 8.93% |
Constants | 16 | |
▷ Global constants | 10 | 62.50% |
▷ Class constants | 6 | 37.50% |
▷ Public constants | 6 | 100.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
15 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/lib/cmb2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |
includes/lib/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/lib/cmb2/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
includes/lib/cmb2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/lib/cmb2/images/ui-icons_454545_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |