Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼7.04ms] Passed 4 tests
Server-side resources used by WooCommerce čeština
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.22 | 43.96 ▼5.96 |
Dashboard /wp-admin | 3.58 ▲0.27 | 49.95 ▼2.47 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 46.10 ▼4.37 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 86.70 ▼15.34 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.72 ▲1.49 |
Server storage [IO: ▲1.21MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 43 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WooCommerce čeština
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.31 ▼1.07 | 1.62 ▼0.34 | 43.10 ▼5.44 |
Dashboard /wp-admin | 2,206 ▲18 | 5.90 ▼0.14 | 111.51 ▼5.56 | 45.25 ▲0.53 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 1.99 ▼0.02 | 36.07 ▼0.54 | 32.78 ▼2.91 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.23 ▲4.88 | 675.34 ▲20.33 | 56.55 ▼15.99 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.03 | 97.84 ▼3.34 | 41.97 ▼3.41 |
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
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'PluginUpdateChecker_2_1' not found in wp-content/plugins/woocommerce-cestina/plugin-update-checker/github-checker.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/woocommerce-cestina/info.php:34
- > 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 93% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Přidat nový produkt), #2 (Přidat nový kupón), #3 (Nastavení WooCommerce)
- Tags: Please reduce the number of tags, currently 14 tag instead of maximum 10
woocommerce-cestina/woocommerce-cestina.php Passed 13 tests
The main PHP script in "WooCommerce čeština" version 2.5.2 is automatically included on every request by WordPress
68 characters long description:
Přeloží vybrané dodatkové pluginy pro WooCommerce do češtiny.
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 detected3,665 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 688 | 765 | 3,478 |
Markdown | 1 | 17 | 0 | 80 |
CSS | 2 | 12 | 4 | 49 |
JavaScript | 1 | 8 | 5 | 39 |
JSON | 1 | 0 | 0 | 19 |
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 | 32.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 4.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 13 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 13 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 123 | |
▷ Static methods | 10 | 8.13% |
▷ Public methods | 62 | 50.41% |
▷ Protected methods | 55 | 44.72% |
▷ Private methods | 6 | 4.88% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.97MB with 0.38MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 58.87KB | 60.89KB | 0.00% |
img/bbc.png | 35.63KB | 13.52KB | ▼ 62.05% |
screenshot-3.png | 55.55KB | 58.38KB | 0.00% |
img/upme.png | 104.18KB | 34.12KB | ▼ 67.25% |
img/suc.png | 131.22KB | 44.03KB | ▼ 66.44% |