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.04MB] [CPU: ▼5.89ms] Passed 4 tests
A check of server-side resources used by Klipspringer
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.44 ▼0.02 | 32.46 ▼10.80 |
Dashboard /wp-admin | 3.36 ▲0.06 | 49.35 ▼4.28 |
Posts /wp-admin/edit.php | 3.41 ▲0.06 | 45.84 ▼2.53 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 95.16 ▼5.95 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 36.03 ▲3.83 |
Klipspringer Options /wp-admin/options-general.php?page=ssklip_options | 3.26 | 32.98 |
Server storage [IO: ▲2.05MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 34 new files
Database: no new tables, 9 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
ssklip_settings_appearance |
theysaidso_admin_options |
widget_theysaidso_widget |
ssklip_settings_closebutton |
ssklip_settings_accessibility |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Klipspringer
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,998 ▲263 | 13.67 ▼0.68 | 6.61 ▲4.78 | 41.73 ▼7.64 |
Dashboard /wp-admin | 2,210 ▲18 | 5.83 ▲0.76 | 97.31 ▼13.60 | 38.07 ▼8.53 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.03 ▲0.02 | 35.97 ▲1.61 | 32.45 ▼2.01 |
Add New Post /wp-admin/post-new.php | 1,537 ▲17 | 22.92 ▼0.17 | 643.00 ▼83.33 | 53.97 ▲0.56 |
Media Library /wp-admin/upload.php | 1,392 ▲7 | 4.30 ▲0.13 | 96.14 ▼8.01 | 42.41 ▼3.57 |
Klipspringer Options /wp-admin/options-general.php?page=ssklip_options | 852 | 2.06 | 23.93 | 23.36 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 4× PHP files output text when accessed directly:
- > /wp-content/plugins/klipspringer/includes/widget-content-col1.php
- > /wp-content/plugins/klipspringer/includes/widget-content-col3.php
- > /wp-content/plugins/klipspringer/includes/widget-content-col2.php
- > /wp-content/plugins/klipspringer/includes/widget-content-col4.php
- 12× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/klipspringer/includes/admin-documentation.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/klipspringer/includes/admin-page3.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/klipspringer/includes/admin-appearance.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/klipspringer/includes/admin-page2.php:224
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/klipspringer/includes/admin-page.php:86
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/klipspringer/includes/scripts.php:24
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/klipspringer/klipspringer.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/klipspringer/includes/admin-accessibility.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/klipspringer/includes/display-functions.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/klipspringer/includes/admin-closebutton.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 75% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== klipspringer ===
) - Donate link: Invalid url: ""
- Screenshots: These screenshots need descriptions #2, #3 in klipspringer/assets to your readme.txt
- Tags: You are using too many tags: 30 tag instead of maximum 10
klipspringer/klipspringer.php Passed 13 tests
The main PHP script in "Klipspringer" version 1.0 is automatically included on every request by WordPress
53 characters long description:
Dropdown widget area for storing usefull information.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Good job! No executable or dangerous file extensions detected1,567 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 19 | 218 | 83 | 1,326 |
CSS | 2 | 3 | 55 | 217 |
JavaScript | 2 | 7 | 8 | 24 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 15 | |
▷ Named functions | 15 | 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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
10 PNG files occupy 1.98MB with 1.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/05-menu-item-class-name.png | 48.46KB | 14.29KB | ▼ 70.51% |
includes/img/04-show-classes-box.png | 58.99KB | 20.21KB | ▼ 65.73% |
screenshot-3.png | 351.74KB | 180.30KB | ▼ 48.74% |
includes/img/01-upload-plugin.png | 61.03KB | 19.67KB | ▼ 67.78% |
includes/img/06-add-class-to-existing-button.png | 79.84KB | 26.51KB | ▼ 66.79% |