Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.24MB] [CPU: ▼4.12ms] Passed 4 tests
Analyzing server-side resources used by Klantenvertellen
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.20 | 49.00 ▲8.30 |
Dashboard /wp-admin | 3.62 ▲0.31 | 54.40 ▲5.21 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 53.07 ▲0.64 |
Add New Post /wp-admin/post-new.php | 6.13 ▲0.24 | 86.92 ▼24.24 |
Media Library /wp-admin/upload.php | 3.45 ▲0.22 | 39.60 ▲1.91 |
Server storage [IO: ▲0.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 68 new files
Database: 1 new table, 13 new options
New tables |
---|
wp_klantenvertellen_review |
New WordPress options |
---|
widget_recent-comments |
klantenvertellen_recommendation |
widget_theysaidso_widget |
widget_klantenvertellen_page_widget |
widget_recent-posts |
klantenvertellen_possibilities |
widget_klantenvertellen_snippet_widget |
klantenvertellen_avarages |
klantenvertellen_avarage |
theysaidso_admin_options |
... |
Browser metrics Passed 4 tests
Klantenvertellen: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,048 ▲287 | 15.21 ▲0.86 | 4.89 ▲2.23 | 39.13 ▼4.97 |
Dashboard /wp-admin | 2,373 ▲196 | 6.35 ▲0.74 | 117.19 ▲15.00 | 41.21 ▼3.17 |
Posts /wp-admin/edit.php | 2,301 ▲198 | 3.56 ▲1.61 | 48.41 ▲13.98 | 30.39 ▼3.58 |
Add New Post /wp-admin/post-new.php | 1,559 ▲33 | 23.74 ▲0.60 | 671.24 ▼34.15 | 38.52 ▼15.89 |
Media Library /wp-admin/upload.php | 1,441 ▲38 | 4.26 ▲0.07 | 82.41 ▼18.82 | 43.43 ▼1.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_klantenvertellen_review
- This plugin does not fully uninstall, leaving 13 options in the database
- klantenvertellen_avarages
- widget_klantenvertellen_snippet_widget
- can_compress_scripts
- klantenvertellen_reviews
- widget_recent-comments
- widget_klantenvertellen_page_widget
- theysaidso_admin_options
- klantenvertellen_avarage
- klantenvertellen_possibilities
- klantenvertellen_recommendation
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 fix the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/klantenvertellen/public/partials/klantenvertellen-public-display.php
- 19× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/widgets/templates/block/stijl1-dynamic.css.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/widgets/templates/page/stijl1-dynamic.css.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/klantenvertellen/widgets/klantenvertellen_block.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/admin/css/klantenvertellen-dynamic.css.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/klantenvertellen/widgets/klantenvertellen_snippet.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/widgets/templates/snippet/small_dark.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/widgets/templates/page/stijl2-configure.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/widgets/templates/page/stijl2-dynamic.css.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/widgets/templates/page/stijl2.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klantenvertellen/widgets/templates/snippet/small_light.php:2
- > 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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: klantenvertellen, reviews, kiyoh
klantenvertellen/klantenvertellen.php Passed 13 tests
The entry point to "Klantenvertellen" version 1.7 is a PHP file that has certain tags in its header comment area
132 characters long description:
Deze plugin maakt het mogelijk om Widgets/Shortcodes te gebruiken waarmee organisch sterren in de zoekresultaten weergegeven worden.
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 plugin6,335 lines of code in 49 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 17 | 243 | 25 | 3,297 |
PHP | 30 | 605 | 685 | 3,003 |
JavaScript | 2 | 8 | 64 | 35 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 7.10 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 43.00 |
Average method complexity | 1.91 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 67 | |
▷ Static methods | 2 | 2.99% |
▷ Public methods | 62 | 92.54% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.46% |
Functions | 20 | |
▷ Named functions | 20 | 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
PNG files should be compressed to save space and minimize bandwidth usage
9 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/templates/snippet/images/stars-big-inactive.png | 1.40KB | 0.41KB | ▼ 70.70% |
widgets/templates/snippet/images/stars-small.png | 0.39KB | 0.34KB | ▼ 12.00% |
widgets/templates/snippet/images/logo-big.png | 2.16KB | 1.69KB | ▼ 21.51% |
widgets/templates/snippet/images/stars-big@2.png | 0.85KB | 0.74KB | ▼ 12.81% |
widgets/templates/snippet/images/stars-big.png | 1.37KB | 0.41KB | ▼ 69.95% |