Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-stadtklick/wp-stadtklick.php+55
Undefined index: stadtklick_isbn
Server metrics [RAM: ▼1.90MB] [CPU: ▼50.22ms] Passed 4 tests
An overview of server-side resources used by WP-StadtKlick
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.38 | 8.46 ▼31.19 |
Dashboard /wp-admin | 2.11 ▼1.20 | 7.98 ▼41.34 |
Posts /wp-admin/edit.php | 2.11 ▼1.25 | 8.27 ▼44.58 |
Add New Post /wp-admin/post-new.php | 2.11 ▼3.78 | 7.17 ▼83.77 |
Media Library /wp-admin/upload.php | 2.11 ▼1.12 | 6.31 ▼30.74 |
WP-Stadtklick /wp-admin/options-general.php?page=wp_stadtklick | 2.11 | 7.55 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
wp_stadtklick_more_options |
Browser metrics Passed 4 tests
Checking browser requirements for WP-StadtKlick
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.72 ▲0.11 | 1.73 ▲0.19 | 43.30 ▼4.18 |
Dashboard /wp-admin | 2,199 ▲19 | 5.58 ▼0.02 | 106.95 ▲17.80 | 48.99 ▲10.24 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.00 ▼0.03 | 39.25 ▼3.65 | 36.63 ▼1.55 |
Add New Post /wp-admin/post-new.php | 1,529 ▲1 | 23.61 ▲0.53 | 696.03 ▲17.99 | 65.32 ▲8.89 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.05 | 98.33 ▼21.99 | 47.22 ▼2.83 |
WP-Stadtklick /wp-admin/options-general.php?page=wp_stadtklick | 826 | 2.01 | 23.52 | 25.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/wp-stadtklick/wp-stadtklick.php+55
Undefined index: stadtklick_isbn
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- wp_stadtklick_more_options
- widget_theysaidso_widget
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=wp_stadtklick
- > Notice in wp-content/plugins/wp-stadtklick/wp-stadtklick.php+55
Undefined index: stadtklick_isbn
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=wp_stadtklick
- > Notice in wp-content/plugins/wp-stadtklick/wp-stadtklick.php+202
Undefined variable: i
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
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wp-stadtklick/wp-stadtklick.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
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
5 plugin tags: shop, deeplink, books, ecommerce, randomize
wp-stadtklick/wp-stadtklick.php Passed 13 tests
This is the main PHP file of "WP-StadtKlick" version 0.4.4, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
44 characters long description:
Plugin für "Lass den Klick in deiner Stadt"
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin183 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 45 | 13 | 176 |
JavaScript | 1 | 0 | 0 | 7 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
No PNG files were detected