Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼13.64ms] Passed 4 tests
Analyzing server-side resources used by Nastavenia SK/CZ pre WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.07 | 27.28 ▼19.19 |
Dashboard /wp-admin | 3.44 ▲0.05 | 50.59 ▼19.52 |
Posts /wp-admin/edit.php | 3.55 ▲0.16 | 55.25 ▲1.92 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.09 | 91.59 ▼17.78 |
Media Library /wp-admin/upload.php | 3.36 ▲0.09 | 39.19 ▲2.26 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by Nastavenia SK/CZ pre WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,454 ▼307 | 14.67 ▲0.02 | 0.46 ▼1.40 | 17.17 ▼28.17 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.10 | 91.04 ▼2.61 | 38.92 ▼4.48 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▲0.00 | 41.97 ▲5.94 | 36.45 ▲1.64 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.31 ▼0.31 | 637.02 ▼46.32 | 66.74 ▲5.40 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.27 ▲0.09 | 99.48 ▲1.43 | 47.65 ▲6.07 |
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
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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: These screenshots need descriptions #2, #3, #4, #5, #6, #7, #8, #9 in wc-nastavenia-skcz/assets to your readme.txt
wc-nastavenia-skcz/wc-nastavenia-skcz.php 92% from 13 tests
"Nastavenia SK/CZ pre WooCommerce" version 2.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.8" instead of "3.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin409 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 50 | 90 | 349 |
JavaScript | 1 | 1 | 0 | 32 |
PO File | 1 | 6 | 6 | 28 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.47 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 8 | 26.67% |
▷ Public methods | 22 | 73.33% |
▷ Protected methods | 8 | 26.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 4 | 100.00% |
▷ Public constants | 4 | 100.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
No PNG images were found in this plugin