Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼14.78ms] Passed 4 tests
An overview of server-side resources used by ZOOZA
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 44.46 ▼1.68 |
Dashboard /wp-admin | 3.39 ▲0.05 | 50.03 ▼19.30 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 48.10 ▼3.71 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.11 | 88.72 ▼34.41 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 39.86 ▲3.60 |
Zooza /wp-admin/options-general.php?page=zooza | 3.31 | 308.12 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 13 new options
New WordPress options |
---|
zooza_calendar_page_id |
can_compress_scripts |
zooza_client_secret |
zooza_registration_page_id |
widget_recent-posts |
zooza_api_key |
theysaidso_admin_options |
db_upgraded |
zooza_profile_page_id |
zooza_checkout_page_id |
... |
Browser metrics Passed 4 tests
This is an overview of browser requirements for ZOOZA
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲170 | 13.60 ▼0.98 | 8.01 ▲6.26 | 41.93 ▲0.59 |
Dashboard /wp-admin | 2,214 ▲29 | 4.84 ▼1.08 | 113.57 ▲5.73 | 42.72 ▼0.08 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 1.99 ▼0.04 | 37.01 ▼2.21 | 33.59 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,521 ▼15 | 17.57 ▼5.53 | 685.20 ▲34.21 | 58.71 ▼0.05 |
Media Library /wp-admin/upload.php | 1,396 ▲11 | 4.21 ▼0.06 | 99.73 ▼3.70 | 46.78 ▼2.73 |
Zooza /wp-admin/options-general.php?page=zooza | 934 | 2.05 | 23.54 | 29.53 |
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
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% 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)
Good news, no errors were detected
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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/zooza/public/partials/zooza-public-display.php
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/zooza/admin/partials/zooza-admin-display.php:18
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
2 plugin tags: zooza, widgets
zooza/zooza.php Passed 13 tests
The main PHP file in "ZOOZA" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
95 characters long description:
Plugin pre zákazníkov platformy Zooza pre jednoduché nastavenie registračných formulárov.
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
Success! There were no dangerous files found in this plugin413 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 189 | 535 | 407 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.10 |
Average class complexity | 2.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 7.00 |
Average method complexity | 1.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 38 | |
▷ Static methods | 2 | 5.26% |
▷ Public methods | 32 | 84.21% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 15.79% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There are no PNG files in this plugin