Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.08MB] [CPU: ▼9.13ms] Passed 4 tests
Analyzing server-side resources used by Zlevněné aplikace
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.41 ▼0.05 | 27.39 ▼14.18 |
Dashboard /wp-admin | 2.97 ▼0.33 | 320.48 ▲268.42 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 47.82 ▼7.03 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 96.27 ▼16.67 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.07 ▲1.37 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_za-widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Zlevněné aplikace
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,901 ▲115 | 13.85 ▼0.90 | 11.28 ▲9.39 | 43.12 ▼0.71 |
Dashboard /wp-admin | 2,198 ▲24 | 5.56 ▼0.01 | 94.95 ▼3.11 | 43.56 ▲1.71 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.04 | 36.05 ▲1.29 | 33.20 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.01 ▲0.12 | 682.63 ▲18.12 | 57.54 ▲4.90 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.20 ▼0.04 | 98.47 ▼5.52 | 44.75 ▼0.91 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_za-widget
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 50% 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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/zlevnene-aplikace/widget_template.php
- > /wp-content/plugins/zlevnene-aplikace/ajax_template.php
- 16× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: expired in wp-content/plugins/zlevnene-aplikace/ajax_template.php on line 1
- > PHP Notice
Undefined variable: title in wp-content/plugins/zlevnene-aplikace/widget_template.php on line 18
- > PHP Notice
Undefined variable: before_widget in wp-content/plugins/zlevnene-aplikace/widget_template.php on line 15
- > PHP Notice
Undefined variable: after_widget in wp-content/plugins/zlevnene-aplikace/widget_template.php on line 23
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/zlevnene-aplikace/widget.php:3
- > PHP Notice
Undefined variable: title in wp-content/plugins/zlevnene-aplikace/ajax_template.php on line 8
- > PHP Notice
Undefined variable: url in wp-content/plugins/zlevnene-aplikace/ajax_template.php on line 8
- > PHP Notice
Undefined variable: category in wp-content/plugins/zlevnene-aplikace/ajax_template.php on line 10
- > PHP Notice
Undefined variable: url in wp-content/plugins/zlevnene-aplikace/ajax_template.php on line 3
- > PHP Notice
Undefined variable: price_new in wp-content/plugins/zlevnene-aplikace/ajax_template.php on line 16
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #1, #2 in zlevnene-aplikace/assets to your readme.txt
- Tags: You are using too many tags: 16 tag instead of maximum 10
- Donate link: Please fix this invalid url: ""
zlevnene-aplikace/zlevneneaplikace.php 92% from 13 tests
The main PHP script in "Zlevněné aplikace" version 1.0.8 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("zlevnene-aplikace.php" instead of "zlevneneaplikace.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected128 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 27 | 6 | 121 |
SVG | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
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 | 7.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
3 PNG files occupy 0.08MB with 0.05MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icons.png | 5.17KB | 2.03KB | ▼ 60.76% |
screenshot-2.PNG | 67.17KB | 20.04KB | ▼ 70.16% |
screenshot-1.PNG | 11.25KB | 4.72KB | ▼ 58.08% |