Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Please fix the following installer errors
- Install procedure validation failed for this plugin
- > Error in wp-content/plugins/feed-back/feed_back.php+14
Uncaught Error: Call to undefined function mysql_query() in wp-content/plugins/feed-back/feed_back.php:14
Stack trace:
#0 wp-includes/class-wp-hook.php(310): feed_back_install()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/includes/plugin.php(693): do_action()
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.43ms] Passed 4 tests
This is a short check of server-side resources used by Kalendář CZ
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.23 ▼3.11 |
Dashboard /wp-admin | 3.31 ▼0.04 | 52.48 ▼13.08 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.29 ▼7.95 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.30 ▼17.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.98 ▲2.01 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Kalendář CZ: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▲0.00 | 1.84 ▲0.17 | 45.11 ▼0.89 |
Dashboard /wp-admin | 2,198 ▲18 | 5.50 ▼0.18 | 85.31 ▼13.41 | 42.92 ▼1.22 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.02 | 37.05 ▼2.00 | 35.85 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,528 ▼0 | 23.20 ▲0.13 | 633.14 ▼18.52 | 53.36 ▼4.12 |
Media Library /wp-admin/upload.php | 1,394 ▼3 | 4.20 ▲0.00 | 102.08 ▼2.84 | 45.58 ▲1.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The following issues need your attention
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function mysql_query() in wp-content/plugins/feed-back/feed_back_admin.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/feed-back/feed_back.php:17
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: Screenshot #1 (Jak plugin vypadá / How the plugin looks) image required
- Donate link: Invalid url: ""
feed-back/feed_back.php 85% from 13 tests
The primary PHP file in "Kalendář CZ" version 1.0 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please improve your description making it at least 10 characters long (currently 8 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("feed-back.php" instead of "feed_back.php")
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
No dangerous file extensions were detected89 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 19 | 11 | 89 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
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 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin