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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.06ms] Passed 4 tests
Analyzing server-side resources used by Kundennote.com Bewertungssiegel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.32 ▲0.71 |
Dashboard /wp-admin | 3.32 ▲0.02 | 46.04 ▲2.11 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 42.73 ▼5.77 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 86.79 ▼7.28 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.66 ▼3.91 |
kundennote.com /wp-admin/options-general.php?page=kundennote | 3.19 | 28.28 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 9 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_kundennote_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Kundennote.com Bewertungssiegel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,806 ▲49 | 14.78 ▲0.10 | 1.81 ▼0.12 | 42.57 ▲2.37 |
Dashboard /wp-admin | 2,209 ▲54 | 4.88 ▼0.77 | 116.74 ▲13.13 | 44.11 ▲3.56 |
Posts /wp-admin/edit.php | 2,095 ▲3 | 2.03 ▼0.02 | 36.29 ▼3.60 | 35.77 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,538 ▲18 | 23.39 ▲0.45 | 645.77 ▲11.09 | 54.72 ▼11.31 |
Media Library /wp-admin/upload.php | 1,397 ▲12 | 4.21 ▲0.04 | 95.64 ▼9.66 | 42.07 ▼2.18 |
kundennote.com /wp-admin/options-general.php?page=kundennote | 878 | 2.02 | 25.03 | 34.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_kundennote_widget
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=kundennote
- > Notice in wp-content/plugins/kundennotecom/kundennote_options.php+47
Trying to access array offset on value of type bool
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 5× 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/kundennotecom/kundennote_options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/kundennotecom/kundennote_shortcode.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kundennotecom/kundennote_aiopro_widget.php:16
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/kundennotecom/kundennote_widget.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/kundennotecom/kundennotecom.php:14
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== kundennotecom ===
) - Tags: Please reduce the number of tags, currently 18 tag instead of maximum 10
kundennotecom/kundennotecom.php Passed 13 tests
Analyzing the main PHP file in "Kundennote.com Bewertungssiegel" version 3.1.6
79 characters long description:
Fügen Sie Ihr kundennote.com Bewertungssiegel über Shortcode oder Widget ein.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected351 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 69 | 35 | 263 |
CSS | 1 | 0 | 0 | 88 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 3.25 |
▷ 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 | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 11 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
2 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/kn-logo.png | 8.07KB | 8.07KB | 0.00% |
img/logo-kn.png | 8.36KB | 5.44KB | ▼ 35.00% |