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.01MB] [CPU: ▼4.43ms] Passed 4 tests
This is a short check of server-side resources used by České komentáře
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 38.54 ▲0.72 |
Dashboard /wp-admin | 3.31 ▲0.01 | 42.14 ▼10.48 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.83 ▲0.87 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 85.78 ▼8.83 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.97 ▲2.01 |
České komentáře /wp-admin/options-general.php?page=ceske_komentare | 3.25 | 31.50 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 10 new options
New WordPress options |
---|
pocet2 |
can_compress_scripts |
pocet1 |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
pocet0 |
pocet5 |
Browser metrics Passed 4 tests
Checking browser requirements for České komentáře
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.20 ▼1.41 | 1.71 ▼0.16 | 47.69 ▲3.93 |
Dashboard /wp-admin | 2,213 ▲25 | 5.90 ▼0.03 | 107.20 ▼17.11 | 39.78 ▼8.47 |
Posts /wp-admin/edit.php | 2,096 ▲4 | 2.06 ▲0.00 | 40.90 ▼1.89 | 36.52 ▲4.22 |
Add New Post /wp-admin/post-new.php | 1,517 ▲3 | 17.69 ▲0.18 | 674.91 ▼18.99 | 55.58 ▼14.40 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.18 ▼0.04 | 104.47 ▼5.80 | 52.55 ▲6.27 |
České komentáře /wp-admin/options-general.php?page=ceske_komentare | 808 | 2.03 | 27.38 | 30.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-comments
- pocet0
- pocet2
- db_upgraded
- theysaidso_admin_options
- pocet1
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- pocet5
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/ceske-komentare/nastaveni.php:30
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Plugin Name: Please specify the plugin name on the first line (
=== ceske-komentare ===
)
ceske-komentare/ceske-komentare.php Passed 13 tests
The primary PHP file in "České komentáře" version 1.6 is used by WordPress to initiate all plugin functionality
130 characters long description:
Plugin převede všechny řetězce, kde se nachází slovo komentář do správného pádu. v 1.1 Lze nastavit vlastní řetězce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Everything looks great! No dangerous files found in this plugin106 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 18 | 14 | 106 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin