Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼6.76ms] Passed 4 tests
A check of server-side resources used by LRW Widgets Bundle
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.19 ▼7.11 |
Dashboard /wp-admin | 3.32 ▼0.02 | 49.28 ▼15.54 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 47.57 ▲1.92 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 96.37 ▼3.13 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.88 ▼1.24 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 89 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for LRW Widgets Bundle
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.19 ▼1.04 | 1.66 ▼0.19 | 38.05 ▼4.73 |
Dashboard /wp-admin | 2,203 ▲15 | 5.85 ▲0.04 | 107.75 ▲0.17 | 39.28 ▲1.11 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.00 | 38.50 ▲2.30 | 33.91 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,533 ▼0 | 23.12 ▼0.21 | 595.28 ▼55.69 | 49.17 ▼12.30 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.23 ▼0.06 | 101.54 ▼4.60 | 44.99 ▲0.76 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-empty-space/tpl/view.php
- 119× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-icon/lrw-icon.php:8
- > PHP Notice
Undefined variable: min in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-counter/tpl/view.php on line 12
- > PHP Notice
Undefined variable: instance in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-separator/tpl/view.php on line 4
- > PHP Notice
Undefined variable: instance in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-separator/tpl/view.php on line 5
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-heading/tpl/view.php on line 4
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-separator/tpl/view.php on line 6
- > PHP Fatal error
Uncaught Error: Class 'SiteOrigin_Widget' not found in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-feature/lrw-feature.php:8
- > PHP Notice
Undefined variable: instance in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-separator/tpl/view.php on line 13
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-member/tpl/view.php on line 9
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/lrw-so-widgets-bundle/widgets/lrw-separator/tpl/view.php on line 5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 14 tag instead of maximum 10
lrw-so-widgets-bundle/lrw-so-widgets-bundle.php Passed 13 tests
The entry point to "LRW Widgets Bundle" version 1.1.3 is a PHP file that has certain tags in its header comment area
80 characters long description:
Extends the functions of the plugin SiteOrigin Widgets with new widgets options.
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
Success! There were no dangerous files found in this plugin6,079 lines of code in 80 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 535 | 230 | 3,402 |
LESS | 13 | 250 | 43 | 1,487 |
JavaScript | 16 | 38 | 162 | 430 |
PO File | 1 | 128 | 194 | 289 |
SVG | 15 | 0 | 15 | 246 |
CSS | 2 | 36 | 29 | 150 |
Markdown | 1 | 20 | 0 | 75 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 6.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 18.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 87 | |
▷ Static methods | 1 | 1.15% |
▷ Public methods | 86 | 98.85% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 1.15% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
widgets/lrw-slider/assets/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
widgets/lrw-slider/assets/images/bg_play_pause.png | 1.51KB | 0.52KB | ▼ 65.52% |