Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.23MB] [CPU: ▼1.89ms] Passed 4 tests
Server-side resources used by VikWidgetsLoader - Collection of Widgets
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.74 ▲0.23 | 46.18 ▲7.18 |
Dashboard /wp-admin | 3.62 ▲0.27 | 52.55 ▼0.10 |
Posts /wp-admin/edit.php | 3.67 ▲0.27 | 54.39 ▲0.18 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.21 | 88.52 ▼11.20 |
Media Library /wp-admin/upload.php | 3.48 ▲0.21 | 43.77 ▲3.55 |
VikWidgetsLoader /wp-admin/options-general.php?page=vikwidgetsloader | 3.44 | 32.51 |
Server storage [IO: ▲3.98MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 113 new files
Database: no new tables, 17 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_vikwp_customtext |
widget_vikwp_counter |
widget_vikwp_cookiespolicy |
widget_vikwp_googlemaps |
widget_vikwp_tripadvisoreview |
widget_vikwp_textslide |
widget_vikwp_icons |
... |
Browser metrics Passed 4 tests
A check of browser resources used by VikWidgetsLoader - Collection of Widgets
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,915 ▲154 | 13.75 ▼0.65 | 7.48 ▲4.70 | 41.64 ▼2.90 |
Dashboard /wp-admin | 2,193 ▲13 | 5.55 ▼0.13 | 88.96 ▼0.30 | 39.12 ▼3.21 |
Posts /wp-admin/edit.php | 2,101 ▲1 | 1.94 ▼0.08 | 37.75 ▼2.20 | 39.61 ▲0.95 |
Add New Post /wp-admin/post-new.php | 1,369 ▼168 | 16.52 ▼1.44 | 562.49 ▼57.55 | 47.81 ▼18.32 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.27 ▲0.06 | 98.27 ▲2.65 | 44.05 ▲3.05 |
VikWidgetsLoader /wp-admin/options-general.php?page=vikwidgetsloader | 1,036 | 1.99 | 23.34 | 32.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 17 options in the database
- widget_vikwp_customtext
- theysaidso_admin_options
- widget_vikwp_googlemaps
- widget_vikwp_gridcontent
- db_upgraded
- widget_vikwp_category_post
- widget_vikwp_icons
- can_compress_scripts
- widget_vikwp_cookiespolicy
- widget_vikwp_counter
- ...
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 items
- 40× PHP files output text when accessed directly (only 10 are shown):
- > /wp-content/plugins/vikwidgetsloader/widgets/vikwp_category_post/tmpl/form.php
- > /wp-content/plugins/vikwidgetsloader/constants.php
- > /wp-content/plugins/vikwidgetsloader/widgets/vikwp_customtext/tmpl/widget.php
- > /wp-content/plugins/vikwidgetsloader/widgets/vikwp_customtext/vikwp_customtext.php
- > /wp-content/plugins/vikwidgetsloader/libraries/functions.php
- > /wp-content/plugins/vikwidgetsloader/widgets/vikwp_category_post/vikwp_category_post.php
- > /wp-content/plugins/vikwidgetsloader/widgets/vikwp_speakers/tmpl/form.php
- > /wp-content/plugins/vikwidgetsloader/widgets/vikwp_textslide/vikwp_textslide.php
- > /wp-content/plugins/vikwidgetsloader/vikwidgetsloader.php
- > /wp-content/plugins/vikwidgetsloader/widgets/vikwp_counter/vikwp_counter.php
- 37× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/form.php:14
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 25
- > PHP Notice
Undefined variable: instance in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 101
- > PHP Warning
array_key_exists() expects parameter 2 to be array, unknown given in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 36
- > PHP Warning
array_key_exists() expects parameter 2 to be array, unknown given in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 38
- > PHP Notice
Undefined variable: instance in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 36
- > PHP Warning
array_key_exists() expects parameter 2 to be array, unknown given in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 41
- > PHP Notice
Undefined index: in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 33
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 31
- > PHP Notice
Undefined variable: instance in wp-content/plugins/vikwidgetsloader/widgets/vikwp_googlemaps/tmpl/widget.php on line 39
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7 in vikwidgetsloader/assets to your readme.txt
vikwidgetsloader/vikwidgetsloader.php Passed 13 tests
The main file in "VikWidgetsLoader - Collection of Widgets" v. 1.10.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
36 characters long description:
Plugin used to load several Widgets.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected26,857 lines of code in 85 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 26 | 705 | 187 | 12,569 |
SVG | 5 | 0 | 12 | 8,779 |
PHP | 42 | 466 | 476 | 3,599 |
JavaScript | 7 | 602 | 225 | 1,660 |
Markdown | 4 | 75 | 0 | 237 |
JSON | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 3.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 8 | 18.60% |
▷ Public methods | 40 | 93.02% |
▷ Protected methods | 3 | 6.98% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 7 | 63.64% |
▷ Anonymous functions | 4 | 36.36% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
11 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/vikwp_category_post/vikwp_category_post.png | 3.70KB | 1.47KB | ▼ 60.10% |
widgets/vikwp_tripadvisorreview/vikwp_tripadvisorreview.png | 5.88KB | 2.45KB | ▼ 58.43% |
widgets/vikwp_googlemaps/vikwp_googlemaps.png | 4.51KB | 1.86KB | ▼ 58.65% |
widgets/vikwp_icons/vikwp_icons.png | 19.76KB | 1.42KB | ▼ 92.83% |
widgets/vikwp_speakers/vikwp_speakers.png | 3.98KB | 1.62KB | ▼ 59.23% |