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
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.06ms] Passed 4 tests
An overview of server-side resources used by epaka.pl - Integracja z WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.64 ▼2.14 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.74 ▼5.69 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.19 ▼2.84 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.55 ▼9.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.07 ▼0.96 |
Server storage [IO: ▲5.28MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 94 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
epaka.pl - Integracja z WooCommerce: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.21 ▼1.44 | 1.69 ▼0.23 | 44.77 ▲0.22 |
Dashboard /wp-admin | 2,213 ▲25 | 5.89 ▼0.01 | 114.34 ▲12.75 | 43.45 ▼1.08 |
Posts /wp-admin/edit.php | 2,092 ▲6 | 2.05 ▲0.03 | 34.28 ▼6.62 | 33.84 ▲0.05 |
Add New Post /wp-admin/post-new.php | 1,537 ▲23 | 23.13 ▲5.73 | 662.78 ▼27.07 | 61.99 ▲6.21 |
Media Library /wp-admin/upload.php | 1,395 ▲10 | 4.25 ▲0.08 | 95.41 ▼35.12 | 42.36 ▼19.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% 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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_rest_url() in wp-content/plugins/epaka-pl/assets/partials/epaka-form.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/epaka-pl/assets/partials/epaka-map.php:8
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% 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:
- Donate link: Invalid URI found ("epaka.pl")
epaka-pl/epakapl.php 77% from 13 tests
This is the main PHP file of "epaka.pl - Integracja z WooCommerce" version 1.0.10, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: The principal plugin file should be the same as the plugin slug ("epaka-pl.php" instead of "epakapl.php")
- Description: Keep the plugin description shorter than 140 characters (currently 206 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected21,414 lines of code in 66 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 23 | 5,450 | 7,018 | 18,018 |
PHP | 24 | 320 | 608 | 1,884 |
CSS | 16 | 141 | 51 | 1,379 |
PO File | 3 | 39 | 15 | 133 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 67.00 |
Average method complexity | 2.62 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.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 | 73 | |
▷ Static methods | 13 | 17.81% |
▷ Public methods | 65 | 89.04% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 8 | 10.96% |
Functions | 29 | |
▷ Named functions | 7 | 24.14% |
▷ Anonymous functions | 22 | 75.86% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
vendor/leaflet/images/marker-icon.png | 4.35KB | 1.55KB | ▼ 64.36% |
assets/img/epaka-white.png | 4.70KB | 3.00KB | ▼ 36.16% |
vendor/leaflet/images/marker-shadow.png | 0.60KB | 1.16KB | 0.00% |
vendor/leaflet/images/marker-icon-2x.png | 6.22KB | 2.50KB | ▼ 59.84% |
assets/markers/marker-icon-2x.png | 6.22KB | 2.50KB | ▼ 59.84% |