Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.13ms] Passed 4 tests
Server-side resources used by Fellow Lasku for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 40.25 ▲0.04 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.86 ▼5.79 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 47.01 ▼2.09 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 84.97 ▼4.69 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 41.57 ▲7.28 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Fellow Lasku for WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.26 ▼1.11 | 1.67 ▼0.13 | 43.13 ▼1.35 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲1.05 | 116.04 ▲3.28 | 41.04 ▼10.19 |
Posts /wp-admin/edit.php | 2,089 ▼3 | 2.04 ▲0.08 | 41.06 ▲0.98 | 35.84 ▲1.45 |
Add New Post /wp-admin/post-new.php | 1,514 ▼20 | 17.71 ▼5.75 | 673.39 ▲1.87 | 65.10 ▲8.67 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.22 ▲0.00 | 95.89 ▼8.02 | 44.18 ▼1.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 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
4 plugin tags: fellow finance, fellow lasku, payment gateway, woocommerce payment gateway
fellow-lasku-for-woocommerce/fellow-lasku-for-woocommerce.php 92% from 13 tests
The main PHP file in "Fellow Lasku for WooCommerce" ver. 1.0.5 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.2" instead of "5.4")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,050 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 213 | 90 | 907 |
PO File | 1 | 55 | 6 | 122 |
JavaScript | 1 | 7 | 0 | 21 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.11 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 3.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 33 | 84.62% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 15.38% |
Functions | 5 | |
▷ Named functions | 5 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
19 PNG files occupy 0.33MB with 0.23MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
logo/box-1-w100.png | 13.22KB | 2.59KB | ▼ 80.38% |
logo/box-1-w200.png | 20.25KB | 5.10KB | ▼ 74.82% |
logo/wide-1-h100.png | 22.44KB | 7.41KB | ▼ 66.99% |
logo/fellow-1-h100.png | 16.45KB | 5.75KB | ▼ 65.04% |
logo/fellow-1-h50.png | 10.42KB | 3.24KB | ▼ 68.88% |